SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

Redo ALL the syntax definitions #67

Closed FichteFoll closed 7 years ago

FichteFoll commented 8 years ago

They've needed a new version in a long time, so once .sublime-syntax gets out of dev, it sounds like a good idea to start working on this.

Because I do not intend to also include the old files, this would mark a backwards incompatible release and the current version would be split off into a branch/tag. (This has already happened.)


Current progress:

Sub-syntaxes:

evandrocoan commented 7 years ago

There is also this problem on sublime-keymap:

    { "keys": ["A"], "command": "open_auto_completion" }

The upper case key "A" alone is a valid case and I use it normally, but it is marked as invalid:

image

I used it for this:

  1. https://github.com/evandrocoan/SublimeTextStudio/tree/develop/Open%20Auto%20Completion
FichteFoll commented 7 years ago

Interesting. They certainly aren't valid with modifiers but it seems like for single characters anything goes (if this does indeed work, which I can't verify right now).

Please open a new issue for things like this next time, though.

Edit: this was fixed in bff544b9adeec7c87a4bb908cc6fdb937ceee501.

FichteFoll commented 7 years ago

With f3784074519d1aa8f1ce863a6edc650c097f9d04, the last remaining non-legacy syntax definition has been rewritten or added.

Since I don't care about the legacy syntaxes anymore (for JSON-tmLanguage and YAML-tmLanguage) – they won't receive any feature updates and may only receive some bugfixing in the future –, this is finally done after over half a year in the making.