linguist icon indicating copy to clipboard operation
linguist copied to clipboard

Request: TMDL

Open moshemoshe137 opened this issue 7 months ago • 8 comments

Language name

Tabular Model Definition Language (TMDL)

URL of example repository

https://github.com/microsoft/PowerBI-LogAnalytics-Template-Reports [MIT License]

URL of syntax highlighting grammar

https://github.com/microsoft/vscode-tmdl/blob/main/syntaxes/tmdl.tmLanguage.json [MIT License] https://github.com/microsoft/vscode-tmdl/blob/main/config/tmdl-configuration.json? [MIT License]

Most popular extensions

*.tmdl https://github.com/search?type=code&q=NOT+is%3Afork+path%3A*.tmdl returns 6.4k files

Detected language

None

moshemoshe137 avatar May 21 '25 16:05 moshemoshe137

Will add

sharktide avatar Jun 18 '25 14:06 sharktide

@sharktide Did you get to chance to look at the TMDL language? :)

Daandamhuis avatar Oct 30 '25 07:10 Daandamhuis

I'm so sorry I forgot! I will get this as soon as possible

sharktide avatar Oct 30 '25 10:10 sharktide

The problem at the moment is that the TextMate grammar that is referenced in the OP was removed from the repo:

Image

I'm going to open an issue over there to ask if the grammar can be re-instated.

DecimalTurn avatar Oct 31 '25 00:10 DecimalTurn

The problem at the moment is that the TextMate grammar that is referenced in the OP was removed from the repo:

Image

I'm going to open an issue over the to ask if the grammar can be re-instated.

An issue like that would take weeks to resolve. I'll just make my own grammar for TmDL, this won't be the first time (I had to do the same for LiveScript and now I maintain that)

sharktide avatar Oct 31 '25 00:10 sharktide

There won't be a Linguist release for the next 2 months or so anyway, so there's no rush in that sense. In this case, I think it's worth waiting for the official Microsoft grammar for .tmdl files to be updated in order to make things more centralized. Also, the repo seems to be quite actively maintained and issues are being addressed.

DecimalTurn avatar Oct 31 '25 00:10 DecimalTurn

There won't be a Linguist release for the next 2 months or so anyway, so there's no rush in that sense. In this case, I think it's worth waiting for the official Microsoft grammar for .tmdl files to be updated in order to make things more centralized. Also, the repo seems to be quite actively maintained and issues are being addressed.

It's pretty obvious that it isn't open source if you look at the repo there is only info about the thing and preview screenshots no actual code. They probably won't share the tmLanguage json file. The do the same thing with their other vscode extensions like pylance

sharktide avatar Oct 31 '25 00:10 sharktide

I guess "maintained" isn't the best word to describe an issue tracking repo, but the extension is clearly maintained and the grammar used to be publicaly available, so I'm more inclined to wait and see what is their reply on the matter.

DecimalTurn avatar Oct 31 '25 00:10 DecimalTurn