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

Setting based on file extension support #38717

Closed
lethevimlet opened this issue Nov 19, 2017 · 3 comments
Closed

Setting based on file extension support #38717

lethevimlet opened this issue Nov 19, 2017 · 3 comments
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@lethevimlet
Copy link

lethevimlet commented Nov 19, 2017

Currently I want to disable javascript validation only on files that have an specific file extension,

For example I associate the extension .js.test to javascript using glob pattern like so

   "files.associations": {
        "*.js.test": "javascript"
    }

Now I want to disable javascript validation but not in all javascript files just on the ones that end with .js.test is there a way to do so?

I've seen other suggestions of implementations for this like

   "files.settings": {
        "*.js.test": {
             "javascript.validate.enable": false
         }
    }

but as far as I know, this is not possible at the moment.

Is there a way to archive this without having to create a custom language extension?

@vscodebot vscodebot bot added the javascript JavaScript support issues label Nov 19, 2017
@mjbvz mjbvz assigned sandy081 and unassigned mjbvz Nov 21, 2017
@mjbvz mjbvz removed the javascript JavaScript support issues label Nov 21, 2017
@mjbvz
Copy link
Collaborator

mjbvz commented Nov 21, 2017

Possible dup of #35350

@sandy081 sandy081 added the *duplicate Issue identified as a duplicate of another issue(s) label Nov 21, 2017
@sandy081
Copy link
Member

Yes.

@vscodebot
Copy link

vscodebot bot commented Nov 21, 2017

This issue has been closed because it is already tracked by another issue. See also our GitHub issues to search for existing issues and our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Nov 21, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Jan 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

3 participants