mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
Move configuration-editing to use shared tsconfig
This commit is contained in:
parent
69056ab090
commit
60287ebe51
|
@ -107,6 +107,7 @@ function registerKeybindingsCompletions(): vscode.Disposable {
|
||||||
const range = document.getWordRangeAtPosition(position) || new vscode.Range(position, position);
|
const range = document.getWordRangeAtPosition(position) || new vscode.Range(position, position);
|
||||||
return commands.then(ids => ids.map(id => newSimpleCompletionItem(JSON.stringify(id), range)));
|
return commands.then(ids => ids.map(id => newSimpleCompletionItem(JSON.stringify(id), range)));
|
||||||
}
|
}
|
||||||
|
return undefined;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -204,6 +205,7 @@ function provideInstalledExtensionProposals(extensionsContent: IExtensionsConten
|
||||||
return [example];
|
return [example];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|
||||||
function newSimpleCompletionItem(label: string, range: vscode.Range, description?: string, insertText?: string): vscode.CompletionItem {
|
function newSimpleCompletionItem(label: string, range: vscode.Range, description?: string, insertText?: string): vscode.CompletionItem {
|
||||||
|
|
|
@ -1,14 +1,7 @@
|
||||||
{
|
{
|
||||||
|
"extends": "../shared.tsconfig.json",
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "es5",
|
"outDir": "./out"
|
||||||
"module": "commonjs",
|
|
||||||
"outDir": "./out",
|
|
||||||
"lib": [
|
|
||||||
"es2015"
|
|
||||||
],
|
|
||||||
"strict": true,
|
|
||||||
"noUnusedLocals": true,
|
|
||||||
"noUnusedParameters": true
|
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"src/**/*"
|
"src/**/*"
|
||||||
|
|
Loading…
Reference in a new issue