Sarrus1 / sourcepawn-studio

VSCode extension for SourcePawn scripting
https://sarrus1.github.io/sourcepawn-studio/
MIT License
140 stars 22 forks source link

macro/definition preview #361

Closed Classes123 closed 6 months ago

Classes123 commented 7 months ago

What do you want to see added to the extension?

Preview of macro/definition replacements.

Screenshots (taken from clion):

image

image

How would it help you?

Сurrent version gives little useful information about what I did wrong: image

How often would you use this feature?

Always, I'm a macro lover.

Sarrus1 commented 7 months ago

This is definitely on my radar! The c/cpp extension does that as well in VSCode. The information is already there, it just has to be implemented.

This will be added in https://github.com/Sarrus1/sourcepawn-vscode/issues/362.

Sarrus1 commented 6 months ago
macro_expands_to_example

A sneak peek of what I was able to do in the feat/salsa branch.