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

Make it easier to add more file extensions to an existing colorizer/language #2808

Closed
mohsen1 opened this issue Feb 9, 2016 · 4 comments
Assignees
Milestone

Comments

@mohsen1
Copy link

@mohsen1 mohsen1 commented Feb 9, 2016

Currently you need to create a VSCode extension to map extensions that are not listed under a language to an existing language. In most cases I want to map a certain extension to a certain language and it shouldn't be this hard. A simple JavaScript object in the editor settings should be enough.

Something like this:

{
  "fileExtensionMapping": {
    "md": ["markdown", "mkdown"],
    "ng": "html"
  }
}
@alexandrudima

This comment has been minimized.

Copy link
Member

@alexandrudima alexandrudima commented Feb 12, 2016

👍 We really need to allow configuration of language mode resolution

@alexandrudima

This comment has been minimized.

Copy link
Member

@alexandrudima alexandrudima commented Feb 12, 2016

fyi @bpasero

@bpasero

This comment has been minimized.

Copy link
Member

@bpasero bpasero commented Feb 29, 2016

👍 , maybe in combination with allowing per-language settings.

@bpasero bpasero added the workbench label Feb 29, 2016
@bpasero bpasero added this to the Backlog milestone Feb 29, 2016
@bpasero

This comment has been minimized.

Copy link
Member

@bpasero bpasero commented Mar 6, 2016

#3612 for March

@bpasero bpasero closed this Mar 6, 2016
@bpasero bpasero modified the milestones: March 2016, Backlog Mar 6, 2016
@bpasero bpasero self-assigned this Mar 6, 2016
@bpasero bpasero added the verified label Apr 29, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
3 participants
You can’t perform that action at this time.