Skip to content

Process variables defined with let or const#63

Merged
bobbylight merged 2 commits into
bobbylight:masterfrom
OndrejSpanel:let_and_const_variables
Jun 18, 2025
Merged

Process variables defined with let or const#63
bobbylight merged 2 commits into
bobbylight:masterfrom
OndrejSpanel:let_and_const_variables

Conversation

@OndrejSpanel
Copy link
Copy Markdown
Contributor

Currently no autocomplete is offered for variables declared with let or const, they are ignored.

Adding support seams very easy, the tokens seem to be already parsed and processed fine.

Testing source:

function g() {
   let something_here = "123";
   var variableWithLongName;
   const anotherVariable;
   v
   anotherVariable;
}

image

@bobbylight bobbylight merged commit cae14dd into bobbylight:master Jun 18, 2025
5 checks passed
@bobbylight
Copy link
Copy Markdown
Owner

Thanks for the PR!

@bobbylight bobbylight added this to the 3.4.0 milestone Jun 18, 2025
@OndrejSpanel OndrejSpanel deleted the let_and_const_variables branch June 18, 2025 05:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants