Sarrus1 / sourcepawn-studio

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

Incorrect semantic highlighting when using a variable operand before the & operator #426

Open Bradasparky opened 1 month ago

Bradasparky commented 1 month ago

Basic informations

Code to reproduce the behaviour

example1

Expected behaviour

The variable type should be variable.sourcepawn. This only happens when within a local scope, though sourcepawn doesn't allow for evaluation in global scope so this may be useless to note. Hope this helps.