Add descriptions to your variables so that you can remember what they are for when the variable names remain incapable.
Note that the extension is still under development. Hence, it is not available in the VS Code extensions page.
Make sure you have VS Code & Typescript installed.
Clone this repo
Open command line inside the clone.
code . which will open the VS Code in the current directory.
F5 wich will open VS Code with the extension.
Ctrl + Shift + P and type
VComment to run the extension.
You should run the extension for every description addition and change using step 6 under Installation
Description can be added by adding a comment above the variable you want to describe along with @ (at) character followed by the description itself.
// @Array of indices to specify in which order the vertices will be processed
var indices = [0, 1, 2, 0];
Then, when the variable is hovered, its description will be available on the pop-up.
Variable comments are not shared between files.
Known Issues & Drawbacks
Multiple declaration (i.e. var x, y) is not supported.
If a variable name repeats it saves the last one. Instead, it should be taking care of the scope.