Skip to content

Allow overriding hardcoded jsconfig/tsconfig defaults #75

@yamalight

Description

@yamalight

I'm writing pretty much all of my projects using ES6.
So if I want to use Code, I need to add jsconfig.json file that contains following snippet to every project I work on:

{
  "compilerOptions": {
    "target": "es6"
  }
}

Doing this over and over again is annoying to say the least.

I had a quick look at the code and from what I'd grasped the current defaults are hardcoded.
Can we instead have a global default jsonfig.json in user folder (e.g. next to user config) that'll override hardcoded defaults if present?
Or perhaps part of user config can allow overriding values in it (e.g. javascript.compilerOptions.target)?

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityjavascriptJavaScript support issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions