vscode-textmate icon indicating copy to clipboard operation
vscode-textmate copied to clipboard

A library that helps tokenize text using Text Mate grammars.

Results 60 vscode-textmate issues
Sort by recently updated
recently updated
newest added

Issue Type: Bug Hello! I haven't found great documentation for the `tokenColors.scope` property. The only syntax documentation about scope selectors I've been able to find is the [textmate "specification"](https://macromates.com/manual/en/scope_selectors), so...

```ts // works in v7.0.1 from types.d.ts import type { IRawGrammar } from 'vscode-textmate' // in v7.0.3, no types.d.ts anymore, we should do this import type { IRawGrammar } from...

Closes #123 - Feature: Add support for the child combinator (the `>` operator). This allows for styling a parent-child relationship specifically. https://github.com/microsoft/vscode-textmate/blob/d63ed169dfa50fe337d6985b658103cb47829abe/src/theme.ts#L173-L180 https://github.com/microsoft/vscode-textmate/blob/d63ed169dfa50fe337d6985b658103cb47829abe/src/theme.ts#L526-L532 - Bug: If the number of scope...

Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3. Commits 74b2db2 3.0.3 88f1429 update eslint. lint, fix unit tests. 415d660 Snyk js braces 6838727 (#40) 190510f fix tests, skip 1 test in test/braces.expand...

dependencies

The `clone()` function on `StateStack` doesn't actually clone the object, but instead just returns the original object (reference) meaning, `tokenizeLine()` will still modify the `ruleStack` that I was given https://github.com/microsoft/vscode-textmate/blob/09effd8b7429b71010e0fa34ea2e16e622692946/src/main.ts#L262...

create a grammar with a rule containing `\\G` ```json textmate "match": "\\G", "name": "invalid" ``` run the grammar on a file containing the unicode character 0xFFFF `￿` expected: it doesn't...

I am no expert in creating textmate extensions for vscode, but if you can, i think you would like trying to make syntax highlight for js/jsx/ts/tsx files like below ![image](https://github.com/microsoft/vscode-textmate/assets/109352196/afc04bce-e00a-414a-8c05-89256ee53346)...

The internal tokenizer uses the key `"id"` as a way to keep track of rules within a grammar However, the parser does not strip `"id"` keys from the grammar before...

There's a feature request in VS Code to include grammar scope comments in https://github.com/microsoft/vscode/issues/206192. First, the scope comments need to be exposed in `IToken` in vscode-textmate.