-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[code] Add a config option to enable the developing language servers. #29319
[code] Add a config option to enable the developing language servers. #29319
Conversation
💔 Build Failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we enable go language server in dev mode?
server.config().get('env.dev')===true
8e0ba0b
to
9880c61
Compare
That makes sense, thanks! For now, we can enable the developing language servers only in development mode. |
💔 Build Failed |
@zfy0701 ping. |
Define a global variable, `LanguageServersDeveloping[]`, to store the developing language servers. And push them into `LanguageServers[]` in development mode by default.
9880c61
to
b551432
Compare
💔 Build Failed |
nice! |
jenkins, test this |
💔 Build Failed |
The key point of the disable logic for the developing language servers is that we use another global variable, i.e.
LanguageServersDeveloping
, to store the language servers under developing.If you want to enable the developing language servers, you can add the enable options in
kibana.yml
, likexpack.code.enableDevelopingLangServers: ['go']
. And we will move the corresponding language servers into theLanguageServers
array.