Loretta VSCode
Features
A really bare-bones language server for Lua/GLua/Luau/Roblox Lua with the following features:
- Semantic Syntax Highlighting
- Autocomplete
- Go To Definition
- Code Formatting
Known Issues
- Currently, autocomplete does not offer known library methods (like
string.gsub and others).
- Currently, there is no support for autocomplete or go to definition for tables.
- Currently, there is no support for code formatting customization.
- There is no method to specify which flavor of lua is being used in the current project.
Release Notes
v0.0.7
Added
- Added support for
ULL and LL suffixes for LuaJIT.
Fixed
- Fixed semantic highlighting support for type syntax.
- Fixed typed lua formatting.
- Fixed local variable attributes formatting.
Changed
- Tables are now kept as a single line if their fields do occupy more than one.
- Tables don't have spaces added inside them if they're empty.
- Line breaks are now only added after statements as required.
v0.0.6
Fixed
- Fixed a bug with a
TypeCastException being thrown when files were edited.
v0.0.5
Added
- Added support for Lua 5.4 variable attributes;
- Added support for Luau (Roblox Lua) typed lua.
v0.0.4
Fixed
- Fixed parameter names not being marked as readonly when they are.
- Fixed implicit
self parameter not existing on methods.
- Fixed file-level
arg parameter being wrongfully added as args .
- Fixed parameters and
for variables not having their declaration highlighted when the caret is on a reference to them.
- Fixed implicit variables not being declared as readonly when they don't have a declaration (like
self ).
Added
- Added semantic syntax highlighting support for function names.
- Added "Go To References" support for variables and goto labels.
Changed
- Write log files to temp folder instead of project directory.
| |