lua-language-server
lua-language-server copied to clipboard
[Feature Request] SCAR (Scripting at Relic) Support
The videogame studio Relic uses a custom extension on top of Lua to write mods for their game. There have been a few attempts at writing a visual studio plugin for them such as https://github.com/Janne252/vscode-scar. I'd like to basically port the functionality of that plugin into the language server since it's the most common tooling for Lua in vscode now.
Would the plugin functionality described here https://github.com/sumneko/lua-language-server/wiki/Plugin be a good fit for this type of project? If so I'm not 100% sure the best way to get started, do you have any more examples or ideas that could help get me started?
Full functionality:
- [ ] Autocompletion
- [ ] SCARDOC functions
- [ ] SCARDOC enums
- [ ] LuaConstsAuto.scar blueprints
- [ ] Current document words
- [ ] Lua standard library functions
- [ ] Workspace user-defined function
- [ ] Workspace user-defined function documentation parsing (based on LDoc format)
- [ ] Intellisense (function parameter autocompletion)
- [ ] SCARDOC functions
- [ ] Workspace user-defined functions
- [ ] Dynamic syntax highlighting
- [ ] SCARDOC functions
- [ ] SCARDOC enums
- [ ] LuaConstsAuto.scar blueprints
- [ ] Lua standard library functions
- [ ] Workspace user-defined functions
- [ ] Misc
- [ ] Reload workspace user-defined functions
- [ ] Find LuaConstsAuto.scar blueprint
Plugin is used to support custom syntax.
For example, some projects will modify the Lua source code to support continue, Plugin can modify the text before the language server processing code, such as replacing the continue to spaces.
If you just want to join a custom API support, you only need to make annotation files, see https://github.com/sumneko/lua-language-server/wiki/EmmyLua-Libraries
@williamhammond has your issue been resolved?