https://github.com/qligier/fsh.tmbundle
A TextMate bundle for the FSH (FHIR Shorthand) language
https://github.com/qligier/fsh.tmbundle
fhir fsh jetbrains syntax-highlighting textmate-bundle
Last synced: 5 months ago
JSON representation
A TextMate bundle for the FSH (FHIR Shorthand) language
- Host: GitHub
- URL: https://github.com/qligier/fsh.tmbundle
- Owner: qligier
- License: mit
- Created: 2024-03-20T15:09:36.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-04-29T12:06:32.000Z (about 1 year ago)
- Last Synced: 2025-04-29T13:28:09.795Z (about 1 year ago)
- Topics: fhir, fsh, jetbrains, syntax-highlighting, textmate-bundle
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fsh.tmbundle
A TextMate 2 Bundle for the [FSH](https://build.fhir.org/ig/HL7/fhir-shorthand/index.html) (FHIR Shorthand) language.
## Installation
### JetBrains IDEs
1. Download or clone this repository on your local machine.
2. [Verify](https://www.jetbrains.com/help/idea/textmate.html#enable-the-plugin) that the plugin
[TextMate Bundles](https://plugins.jetbrains.com/plugin/7221-textmate-bundles) is installed and enabled in your
JetBrains IDE (it should come pre-bundled).
3. In `Settings → Editor → TextMate Bundles`,
[import the bundle](https://www.jetbrains.com/help/idea/textmate.html#import-textmate-bundles) you downloaded at
step 1.
4. Open an FSH file (with `.fsh` extension) in your JetBrains IDE and enjoy the syntax highlighting.
## Development
This bundle is based upon the `tmLanguage` implementation in the
[vscode-language-fsh](https://github.com/standardhealth/vscode-language-fsh) project.
The `tmLanguage` file is converted from JSON to p-list using the [plist2](https://github.com/wareset/plist2) tool:
```bash
.\node_modules\.bin\plist2 .\fsh.tmLanguage.json .\fsh.tmbundle\Syntaxes\fsh.tmLanguage
```
The `info.plist` file is handcrafted.
## Changelog
- 29/04/2025: [#2](https://github.com/qligier/fsh.tmbundle/issues/2) - Allowed aliases after some keywords
- 27/09/2024: [#1](https://github.com/qligier/fsh.tmbundle/issues/1) - Replaced a non-fixed width lookbehind with an atomic group
- 21/03/2024: Initial release