Skip to content

Nelua syntax highlighting for Visual Studio Code

License

Notifications You must be signed in to change notification settings

alexgb0/nelua-vscode

 
 

Repository files navigation

Nelua vscode fork

Nelua better syntax highlighting, basic code completion, and snippets for Visual Studio Code.

Features

Completion

Code completion for keywords, builtin functions, constants, types, and modules.

Snippets

  1. Function declaration with public or global.
  2. Types declaration for record, enum, or union with public or global scope.
  3. If, if else, if elseif else declaration.
  4. Switch with default case.
  5. New scope with do.
  6. Goto with goto keyword and declaration
  7. While declaration.
  8. Repeat with local variable declaration.
  9. Anonymous function declaration.

Screenshots

*Make sure to click the arrow > to open the docs! code completion for modules

Installing

Install the extension nelua or clone this repository into ~/.vscode/extensions/ and restart vscode.

Todo

  • More snippets.
  • Add competition to require.
  • Add module completation.
  • Add documentation to code completion and signatures to the functions.
  • Add run tasks.
  • Add run task for windows
  • Add syntax highlighting to types in the function
  • Implement semantic highlighting.

About

Nelua syntax highlighting for Visual Studio Code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 97.7%
  • JavaScript 1.2%
  • Python 1.1%