File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ export class ShaderLanguageClient {
234234 let platform = getServerPlatform ( ) ;
235235 this . statusChangedCallback = ( status ) => { } ;
236236 this . serverPath = getPlatformBinaryUri ( context . extensionUri , platform ) ;
237- this . serverVersion = getServerVersion ( this . serverPath . fsPath , platform ) || "shader-language-version " ;
237+ this . serverVersion = getServerVersion ( this . serverPath . fsPath , platform ) || "shader-language-server " ;
238238 this . errorHandler = new ShaderErrorHandler ( this ) ;
239239 }
240240
@@ -258,6 +258,9 @@ export class ShaderLanguageClient {
258258 this . channel = null ;
259259 break ;
260260 }
261+ let platform = getServerPlatform ( ) ;
262+ this . serverPath = getPlatformBinaryUri ( context . extensionUri , platform ) ;
263+ this . serverVersion = getServerVersion ( this . serverPath . fsPath , platform ) || "shader-language-server" ;
261264 this . client = await createLanguageClient ( context , this . channel , this . errorHandler ) ;
262265 this . serverStatus = this . client !== null ? ServerStatus . running : ServerStatus . error ;
263266 return this . serverStatus ;
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ export class ShaderStatusBar {
1515 this . updateStatusBar ( ) ;
1616 this . server . onStatusChanged ( _ => {
1717 this . updateStatusBar ( ) ;
18- } )
18+ } ) ;
1919 this . statusBar . show ( ) ;
2020
2121 context . subscriptions . push ( this . statusBar ) ;
You can’t perform that action at this time.
0 commit comments