GLSL
GLSL copied to clipboard
Suggestion: ctrl+click on variables/functions/macros to jump to them
Installed product versions
- Visual Studio: 2019 Community
- This extension: 0.10.123
Description
It would be really helpful to be able to ctrl+click on variables to move the cursor to their declaration. It's a feature in many IDEs which greatly increases productivity, and it would be very useful to be able to do this in large GLSL programs.
Steps to recreate
- Create a glsl file with the following code:
#version 430
void main() {
vec3 foo = vec3(1);
vec3 bar = foo * 2; // here
}
- Ctrl+click on
foo
Current behavior
foo is selected
Expected behavior
The cursor jumps to the declaration of foo.
Thanks for the feedback! I'm busy till mid of February. So this will take some time... Feel free to make a pull request if you did it yourself in the meantime. Cheers, Daniel