Skip to content

Ability to assign language aliases in the configuration #764

Answered by abose
aral asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks For the question @aral
This is already supported via project preferences:
https://github.com/adobe/brackets/wiki/Language-Support#preferences

  1. create a file in your project root named .brackets.json
  2. Add the following section based on your file extension or name that you have to associate to a language.
{
    "language.fileExtensions": {
        "page": "javascript",
        "script": "javascript"
    },
    "language.fileNames": {
        "someFileName": "python"
    }
}

Replies: 3 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by abose
Comment options

You must be logged in to vote
2 replies
@abose
Comment options

@abose
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants