question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using preprocessor breaks autocomplete

See original GitHub issue

Hi,

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 before_define
    • After using !define --> User is no more autocompleted after_define

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:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
qjebbscommented, Dec 2, 2018

Thanks for feedback, I need to investigate.

0reactions
FlorianKempenichcommented, Feb 8, 2019

@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 😉

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found