Skip to content

Commit 187dfc7

Browse files
Update text that reference old options
1 parent c3bff7e commit 187dfc7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/omnisharp/server.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ export abstract class OmnisharpServer {
411411
return omnisharp.findServerPath(options.path).then(serverPath => {
412412
return resolve(serverPath);
413413
}).catch(err => {
414-
vscode.window.showWarningMessage(`Invalid "csharp.omnisharp" user setting specified ('${options.path}).`);
414+
vscode.window.showWarningMessage(`Invalid value specified for "omnisharp.path" ('${options.path}).`);
415415
return reject(err);
416416
});
417417
}
@@ -429,9 +429,9 @@ export abstract class OmnisharpServer {
429429
this._channel.appendLine(" 1. If it's not already installed, download and install Mono (https://www.mono-project.com)");
430430
this._channel.appendLine(" 2. Download and untar the latest OmniSharp Mono release from https://github.com/OmniSharp/omnisharp-roslyn/releases/");
431431
this._channel.appendLine(" 3. In Visual Studio Code, select Preferences->User Settings to open settings.json.");
432-
this._channel.appendLine(" 4. In settings.json, add a new setting: \"csharp.omnisharp\": \"/path/to/omnisharp/OmniSharp.exe\"");
433-
this._channel.appendLine(" 4. In settings.json, add a new setting: \"csharp.omnisharpUsesMono\": true");
434-
this._channel.appendLine(" 5. Restart Visual Studio Code.");
432+
this._channel.appendLine(" 4. In settings.json, add a new setting: \"omnisharp.path\": \"/path/to/omnisharp/OmniSharp.exe\"");
433+
this._channel.appendLine(" 5. In settings.json, add a new setting: \"omnisharp.useMono\": true");
434+
this._channel.appendLine(" 6. Restart Visual Studio Code.");
435435
this._channel.show();
436436

437437
throw err;

0 commit comments

Comments
 (0)