Skip to content

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

Closed

Description

@mohsen1

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"
  }
}

Activity

  1. alexdima commented on Feb 12, 2016

    @alexdima
    Member

    👍 We really need to allow configuration of language mode resolution

  2. added
    feature-request
    on Feb 12, 2016
  3. alexdima commented on Feb 12, 2016

    @alexdima
    Member
  4. bpasero commented on Feb 29, 2016

    @bpasero
    Contributor

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

  5. bpasero commented on Mar 6, 2016

    @bpasero
    Contributor

    #3612 for March

  6. 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-requestverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions