inkle / inkle/ink-tmlanguage

Some changes to work better with Visual Studio 2019 plus TODO highlighting

Open
#2 22 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
21
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Hello,

I tried to use it with Visual Studio 2019, but there were some problems. The main one, is that VS2019 somehow reads to the end of the line AND consumes line ending if `\s*` is used. So next line is not highlighted properly. So I changed `\s*` to `[^\S\n\r]*` in many places where it was used to read till the end of line.

Also I changed `variable.other.XXX` (and similar) to `entity.name.variable.other.XXX` so it gets coloured.

What is more, I added `TODO` highlighting, but I am not sure if I inserted it in all the needed places.

I am attaching .patch file with my changes, if that would help: [changes.txt](https://github.com/inkle/ink-tmlanguage/files/4241599/changes.txt)

P. S. I edited xml directly, so don't have YAML for these changes...

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.