Skip to content

Allow overriding hardcoded jsconfig/tsconfig defaults #75

Closed

Description

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)?

Activity

  1. voidpp commented on Dec 2, 2015

    @voidpp

    +1, if jsconfig could be defined in the user config, or something else globally, will be very useful. I have several es6 projects, inside different folders with a lot of other projects, result of I have to open the root folder with thousands of files, result of the code completion, code snippets, etc is unusable.

  2. added
    feature-request
    javascript
    on Dec 4, 2015
  3. jrieken commented on Dec 18, 2015

    @jrieken
    Contributor

    We have made ES6 the default. It should address the wish addressed in this issue.

  4. added a commit that references this issue on Jun 7, 2016
    cd0d1fe
  5. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestjavascript

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions