jonnyboyC / kos-language-server

A language server for the Kerboscript (kOS) a language for Kerbal Space Program
MIT License
25 stars 6 forks source link

[Feature] User configuration with ksconfig.json #112

Closed jonnyboyC closed 4 years ago

jonnyboyC commented 4 years ago

Is your feature request related to a problem? Please describe. This is mostly a tracking issue. Currently several users have mentioned a desire to change / disable various linting hints and error reports from the parser etc. To address this, this project should implement a new configuration file to be placed in the workspace. In this case following many configuration file in the js world we should add a new ksconfig.json that will be parsed by the language server to get per file settings related the current folder

Describe the solution you'd like The server should read in and watch potentially watch changes to a special ksconfig.json file within the current workspace. Currently we should target two sets of options

This can address two sets of problems. First this will allow editors to open a parent folder or a child folder and still point to the correct archive zero for resolve files properly. 2nd this will allow errors that either the user knows to not be true or simply finds annoying. This will become increasing important as more rules are added to the language server.

jonnyboyC commented 4 years ago

114 Added initial framework for implementing this configuration.

jonnyboyC commented 4 years ago

Closed by #117