Skip to content
Snippets Groups Projects
Commit 89435a90 authored by Smit, P.J.M. (Peter, Student M-CS)'s avatar Smit, P.J.M. (Peter, Student M-CS)
Browse files

go to settings linking implemented

parent a8c97700
No related branches found
No related tags found
No related merge requests found
......@@ -10,11 +10,13 @@ export namespace ModestCommands {
let executable: string | undefined =
vscode.workspace.getConfiguration("modest").get("executableLocation");
if (executable === undefined) {
if (executable === undefined || executable === "") {
vscode.window.showInformationMessage(
"It looks like you don't have the modest configurable located yet.", "Go to settings")
.then(result => {
//TODO: Figure out how to link to settings.
if (result !== undefined) {
vscode.commands.executeCommand("workbench.action.openSettings", "modest.executableLocation");
}
});
return;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment