RSTALanguageSupport icon indicating copy to clipboard operation
RSTALanguageSupport copied to clipboard

Process variables defined with let or const

Open OndrejSpanel opened this issue 2 years ago • 0 comments

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

OndrejSpanel avatar Jan 14 '23 18:01 OndrejSpanel