splunk / vscode-extension-splunk

Visual Studio Code Extension for Splunk
MIT License
86 stars 25 forks source link

Spl2 - Language Server Support #87

Closed fantavlik closed 1 year ago

fantavlik commented 1 year ago

This PR unlocks the following features:

To see the changes just for the intialization work (there's a separate PR https://github.com/splunk/vscode-extension-splunk/pull/86 for language server install) take a look at this diff, or you can focus on the initializer.ts file: https://github.com/fantavlik/vscode-extension-splunk/compare/spl2-install...fantavlik:vscode-extension-splunk:spl2-initialize

Demo of language server initialization: spl2-initialize

Demo of a user restarting the language server via the custom command after a hard failure (killing the process spawned by the extension): spl2-kill-server