Add Command to Go To / Create project configuration for an active js or ts file (#20362)

* Add Command to Go To / Create project configuration for an active js or ts file

Part of #20356

Adds a new command that opens the jsconfig or tsconfig project configuration file for the currently active file. If one does not exist, displays a quick pick that allows users to learn more and create a config file at the root of their project

* Add messages for error cases

* Work around ts error
This commit is contained in:
Matt Bierner
2017-02-13 12:58:40 -08:00
committed by GitHub
parent d3cbe86479
commit 5db8fd0f55
3 changed files with 116 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
{
"typescript.reloadProjects.title": "Reload TypeScript Project",
"javascript.reloadProjects.title": "Reload JavaScript Project",
"typescript.reloadProjects.title": "Reload Project",
"javascript.reloadProjects.title": "Reload Project",
"configuration.typescript": "TypeScript",
"typescript.useCodeSnippetsOnMethodSuggest.dec": "Complete functions with their parameter signature.",
"typescript.tsdk.desc": "Specifies the folder path containing the tsserver and lib*.d.ts files to use.",
@@ -24,6 +24,8 @@
"format.placeOpenBraceOnNewLineForFunctions": "Defines whether an open brace is put onto a new line for functions or not.",
"format.placeOpenBraceOnNewLineForControlBlocks": "Defines whether an open brace is put onto a new line for control blocks or not.",
"javascript.validate.enable": "Enable/disable JavaScript validation.",
"typescript.goToProjectConfig.title": "Go to Project Configuration",
"javascript.goToProjectConfig.title": "Go to Project Configuration",
"typescript.referencesCodeLens.enabled": "Enable/disable the references code lens.",
"typescript.selectTypeScriptVersion.title": "Select TypeScript version."
"typescript.selectTypeScriptVersion.title": "Select TypeScript Version"
}