Using preprocessor breaks autocomplete
See original GitHub issueHi,
First of all, thanks for the amazing job. This plugin, especially in combination with the PlantUml server is incredible!
I have a problem however when using the preprocessor, it seems to break autocompletion of local variables.
Problem:
- Using
!define VARIABLE VALUE
to set variable breaks autocompletion -
Showcase
- Before using
!define
- After using
!define
-->User
is no more autocompleted
- Before using
Expected Behavior:
!define VAR VAL
should have no impact on autocompletion.- Edge case: It’s totally fine (to me) if VAR or VAL are not completed properly.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Autocomplete breaks inside macro · Issue #12524 - GitHub
Autocomplete via rust analyzer breaks within these closures in all of the files in my project. It works as expected outside of them....
Read more >Xcode: macros breaking completion/highlighting
Syntax highlighting, autocompletion, and warnings (unsused variable warning in this case) don't work in the untrue condition.
Read more >Autocomplete everything — reusing code snippets effectively
Let's break it down real quick: We have a preprocessor directive (#if DEBUG) that makes sure this class is only available in debug...
Read more >246617 – LESS - code completion does not offer css ...
Created attachment 148820 [details] Bug example When using @media selector in LESS inside another class and trying to use autocomplete ...
Read more >C/C++ extension FAQ - Visual Studio Code
Frequently asked questions about the C/C++ extension in Visual Studio Code. ... the paths to include files you want to use, preprocessor definitions, ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for feedback, I need to investigate.
@qjebbs The last 2 months have been crazy but I finally found some time to complete my work on the translation 😃 It’s here #193 😉