Skip to content
This repository has been archived by the owner on Sep 24, 2021. It is now read-only.

Commit

Permalink
Updated to latest Theia
Browse files Browse the repository at this point in the history
  • Loading branch information
svenefftinge committed Aug 31, 2018
1 parent 60a41c3 commit 6002edb
Show file tree
Hide file tree
Showing 3 changed files with 375 additions and 291 deletions.
2 changes: 1 addition & 1 deletion csharp/src/browser/csharp-grammar-contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export class CSharpGrammarContribution implements LanguageGrammarDefinitionContr
monaco.languages.setLanguageConfiguration(CSHARP_LANGUAGE_ID, this.config);

const cSharpGrammar = require('../../data/csharp.tmLanguage.json');
registry.registerTextMateGrammarScope('source.cs', {
registry.registerTextmateGrammarScope('source.cs', {
async getGrammarDefinition() {
return {
format: 'json',
Expand Down
6 changes: 3 additions & 3 deletions csharp/src/node/csharp-contribution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,14 @@ export class CSharpContribution extends BaseLanguageServerContribution {
'-stdio',
'-lsp'
];
this.logger.info(`starting C# language server: ${command} ${args.join(' ')}`)
console.info(`starting C# language server: ${command} ${args.join(' ')}`)
const serverConnection = this.createProcessStreamConnection(command, args);
this.forward(clientConnection, serverConnection);
}

protected onDidFailSpawnProcess(error: Error): void {
super.onDidFailSpawnProcess(error);
this.logger.error("Error starting C# language server.");
this.logger.error("Please make sure it is installed on your system.");
console.error("Error starting C# language server.");
console.error("Please make sure it is installed on your system.");
}
}
Loading

0 comments on commit 6002edb

Please sign in to comment.