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: 4 comments 5 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

Comment options

You must be logged in to vote
1 reply
@abose
Comment options

abose Jul 2, 2024
Maintainer

Comment options

You must be logged in to vote
1 reply
@abose
Comment options

abose Sep 9, 2024
Maintainer

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