Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure JS / TS Project via package.json #13800

Closed
mjbvz opened this issue Feb 1, 2017 · 5 comments
Closed

Configure JS / TS Project via package.json #13800

mjbvz opened this issue Feb 1, 2017 · 5 comments
Labels
Duplicate An existing issue was already created VS Code Tracked There is a VS Code equivalent to this issue

Comments

@mjbvz
Copy link
Contributor

mjbvz commented Feb 1, 2017

From @tivac on October 14, 2016 22:3

I don't love needing to add yet another metadata file to my projects. But I love the improved vscode intellisense from adding a jsconfig.json file to my projects.

Has there been any discussion of allowing vscode configuration via package.json, much like ESLint?

Something like this:

{
  "name": "package-name",
  "version": "1.0.0",
  "description": "...",
  "license": "MIT",
  "dependencies": {
    // ...
  },
  "vscodeConfig": {
    "compilerOptions": {
      "target": "ES6",
      "module": "commonjs"
    }
  }
}

That way no extra editor-specific file is required to be added to every single project that you want the benefits of configuring vscode.

Copied from original issue: microsoft/vscode#13786

@mjbvz
Copy link
Contributor Author

mjbvz commented Feb 1, 2017

From @waderyan on October 24, 2016 21:47

@tivac thank you for opening this issue. We are evaluating this experience right now and appreciate your insight! Stay tuned.

@mjbvz
Copy link
Contributor Author

mjbvz commented Feb 1, 2017

From @waderyan on December 9, 2016 23:13

@bowdenk7 I'm thinking this feature request might more sense in TS repo. What are your thoughts? Is this something on your radar? I searched TS issues and couldn't find it.

@mjbvz mjbvz added VS Code Tracked There is a VS Code equivalent to this issue and removed feature-request labels Feb 1, 2017
@mjbvz
Copy link
Contributor Author

mjbvz commented Feb 1, 2017

I do not believe that this is vscode specific. The feature request would be to have TypeScript pick up tsconfig.json or jsconfig.json settings from the package.json file instead of their own file

@mhegazy
Copy link
Contributor

mhegazy commented Feb 1, 2017

Duplicate of #6590

@mhegazy mhegazy added the Duplicate An existing issue was already created label Feb 1, 2017
@mjbvz
Copy link
Contributor Author

mjbvz commented Feb 1, 2017

@mhegazy Thanks. Closing as a duplicate

@mjbvz mjbvz closed this as completed Feb 1, 2017
@microsoft microsoft locked and limited conversation to collaborators Jun 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created VS Code Tracked There is a VS Code equivalent to this issue
Projects
None yet
Development

No branches or pull requests

3 participants