Luncher91 / VBScript-vscode

A vscode extension for VBScript language support
MIT License
20 stars 5 forks source link

Symbols not parsed correctly before a function/sub is closed. #17

Open jonathanstar opened 4 years ago

jonathanstar commented 4 years ago

The symbols get out of wack when a sub/function doesn't have the end function keyword, and once they do it doesn't recalculate until the keypress after you type end function/end sub. the two screen shots below illustrate this.

Before extra keypress the symbols in the outline are incorrect:

before_keypress:

after_keypress

After extra keypress (in this case I hit return) the symbols on the right sort themselves out correctly:

after_keypress:

after_keypress
Luncher91 commented 3 years ago

Hi Jonathan, The screenshots look like they are identical or do I miss something here?