haskell / haskell/vscode-haskell-syntax-highlighting
Add support for *.tidal files
- Dominant language
- Haskell
- Stars
- 109
- Forks
- 51
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 2
Description
`.tidal` is the standard extension for [TidalCycles](https://tidalcycles.org/) files. These are basically just a scratchpad containing Haskell expressions. You can then use the [vscode-tidalcycles](https://github.com/kindohm/vscode-tidalcycles) extension to feed these expressions into GHCi.
To get syntax highlighting at the moment, one has to associate `*.tidal` files with the `Haskell` filetype, but this causes other extensions like [haskell-lsp](https://github.com/alanz/haskell-lsp) to go a bit nuts because they expect the files to be valid Haskell modules.
P.S. If you think it is better to put this in its own extension I'll do that.
Proposal:
```
"languages": [
...
{
"id": "tidal",
"aliases": [
"Tidal",
"tidal"
],
"extensions": [
".tidal"
],
"configuration": "./haskell-configuration.json"
}
],
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the extension's language registration and compare the proposed `tidal` entry with the existing Haskell configuration. Add `.tidal` recognition and verify that Tidal files receive syntax highlighting without being treated as Haskell modules by language tooling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 50/100