tmlanguage Questions

1

Solved

I'm working on vscode extension for custom language. I've developed tmlangauge.json for syntax highlighting keywords and operators. I find it a hard time to add syntax highlighting for variables an...

0

I want to select [ ] for syntax highlighting within a markdown file in VS Code. I can target [ ] using the following regex: (?<=\s)\]|\[(?=\s). However [ ] doesn't get matched when it is part of...
Clemenciaclemency asked 21/5, 2021 at 8:46

5

Is there a way to extend the supported languages/grammars in Visual Studio Code? I'd like to add a custom language syntax, but I've not been able to find any information on how language services ar...
Heisenberg asked 6/6, 2015 at 21:33

1

Solved

So far I checked out a request at https://github.com/Microsoft/vscode/issues/6056 which was closed based on Complete list of theme elements to colorize?. This in turn send to https://code.vis...
Villosity asked 23/8, 2019 at 19:42

1

VSCode is built on top of MonacoEditor which doesn't support Textmate grammars and themes. But somehow VSCode made it possible. I am curious how VSCode is able to do this. I am asking because I am...
Granny asked 22/5, 2019 at 9:57

1

Solved

I'd like to add the simplest possible (mvp) language grammar and syntax highlighting to vscode. It's (imo) a mess of TextMate docs (two different versions apply) and random internet advice. I can'...

1

Solved

Scenario I have JSON files that describe a series of tasks to be carried out, where each task can refer to other tasks and objects in the JSON file. { "tasks": [ { "id": "first", "action": "doS...
Prothalamium asked 10/2, 2018 at 16:50

1

Solved

I'm trying to add the words and, or, not (for Lua) to the Visual Studio Code theme called "Visual Studio Dark" that is included in the vscode regular download and in the "select color theme" screen...
Brno asked 4/9, 2017 at 9:33

2

Solved

VS Code 1.15 added support for TextMate grammar rules. I want to highlight some variables in JavaScript with these rules: self, me. How can I do this?
Hindsight asked 11/8, 2017 at 9:5

1

Solved

I'm trying to create an extension in Visual Studio Code so as to enable syntax highlighting for a custom language. I found the helpful advice offered by @Wosi here: Create Custom Language in Visual...

1

Solved

In the tmTheme file for my current text editor there are a number of options, including the ones in the code below. Is there a list somewhere that defines all possible tags that could be included i...

3

Solved

I'm trying to create a simple colorization for log files, now that it's possible include custom languages in Code (I'm on 0.9.2). I have created a simple .tmLanguage file for colorizing the letter ...
Intricacy asked 28/10, 2015 at 23:23
1

© 2022 - 2024 — McMap. All rights reserved.