This documentation guide covers an easiest way to start writing a language extension for adobe brackets.
STEP 1: Navigate to brackets extensions folder
STEP 2: Create folder inside user folder with a custom name
STEP 3: Create 2 files in it as below
STEP 4: Here is an sample package.json file
STEP 5: And finally main.js should b e something like this
STEP 6: Restart Brackets & Test the created exntension by creating a new sample.xhbs file
And you are Done. Langauge extension should detect as below, Now you can play more with RegEx and CodeMirror defineSimpleMode
API options to achieve required code highlightings. Furthermore you can read CodeMirror defineMode API for more advance use cases.