Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better precompiler support #91

Open
3 tasks
LecrisUT opened this issue Dec 6, 2022 · 1 comment
Open
3 tasks

Better precompiler support #91

LecrisUT opened this issue Dec 6, 2022 · 1 comment

Comments

@LecrisUT
Copy link
Contributor

LecrisUT commented Dec 6, 2022

If we use default compilers, they will call the native precompiler automatically. It would be good to include better support for these:

  • #include support. Navigate, auto-complete and parse content.
  • #ifdef, etc. support. Already seems to be included, but sometimes it missbehaves, e.g. nested #ifdef
  • Macro support. Color scheme, substitution, parsing from cmake variables
@mehrpay
Copy link

mehrpay commented Feb 14, 2023

I'd like to add this to this issue:
Lines that start with !DEC$ are also currently detected as comments. These are compiler modifiers as well, similar to #if() in C++.
Simply showing them with a different color than comments makes it a lot easier to read the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants