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

Support intellisense for custom keywords and features from the custom toolchains #35

Open
denis-shienkov opened this issue Dec 30, 2020 · 1 comment

Comments

@denis-shienkov
Copy link
Owner

It would be nice to have the intellisense semantic analysis for specific toolchains. When these toolchains use the own specific compiler keywords and rules (depending on the architecture).

Espectially for ta bare-metal toolchains, e.g.:

  • For KEIL, for C51, C251, C166 architectures.
  • For IAR EW for AVR, 8051, and other architectures.
  • For SDCC for 8051, STM8 and other architectures.

F.e. it would be good to the intellisense knows for the data, __data, sfr, __sfr and other keywords provided by this toolchains. Also, it would be goot to allow to set the list of custom keywords dynamically, e.g. using the VSCode typescript API.

But, unfortunately, at the moment it does not depend on the given Qbs extension, but depends on the other extensions (e.g. vscode-cpp and other), and also on the intellisense engine and other libraries.

More detailed information can be found in the related issues, e.g.:

Please, vote for that issues if you want, because, seems, now it is out of scope for this extension.

@heartacker
Copy link

I'm glad your team has noticed these issues.Personally, I think that such embedded compilers and their specific syntax do not quite fit the standard C language.
At the same time, these programming grammars must be compiled using a specific compiler or IDE.At present, the most important thing is to reduce error reports when editing with VSCODE, so that users can use VSCODE for smooth coding. At the same time, users can use specific project files to compile (such as Keil UVProject).

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