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

Add specific color for #pragma message #24

Closed
xNiux opened this issue Aug 22, 2022 · 3 comments
Closed

Add specific color for #pragma message #24

xNiux opened this issue Aug 22, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@xNiux
Copy link

xNiux commented Aug 22, 2022

Hi, to have more visual message during compilation, it could be very useful to have a dedicated color (ex: Yellow) when pragma message is displayed during compilation :

image

image

@xNiux
Copy link
Author

xNiux commented Aug 22, 2022

To simplify, maybe the using keyword like "INFO" in the pragma could be a good solution :

#pragma message ("INFO: This is a debug version, do not use for production ....") ;

@HampusAdolfsson HampusAdolfsson added the enhancement New feature or request label Aug 26, 2022
@HampusAdolfsson
Copy link
Collaborator

We can definitely add some color to highlight any line that starts with "INFO" (or "#").

Highlighting any pragma messages isn't really possible just from the VS Code extension, since we don't have any information about what caused each line to be printed. It would have to be added in the compiler itself (which is a bit more complicated).

@HampusAdolfsson
Copy link
Collaborator

Sorry for the late feedback on this. We've decided not to implement this feature. This is something that should be implemented in the compiler rather than adding a half-measure solution to the VS Code extension.

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

No branches or pull requests

2 participants