Xellos's blog

By Xellos, history, 4 months ago, In English,

I started writing syntax definitions for Sublime Text — it should do highlighting, code navigation etc.

It's work in progress and I have some ideas about what to add, but not too many. I'll gladly accept suggestions.

Repo: https://gitgud.io/Xellos/qsharp-sublime-syntax.

UPD: It can actually do something now. Currently supports highlighting for, if, operation, namespace syntax (not just keywords, but specific correct syntax) and forbidden keywords.

 
 
 
 
  • Vote: I like it  
  • +43
  • Vote: I do not like it  

»
4 months ago, # |
  Vote: I like it 0 Vote: I do not like it

Auto comment: topic has been updated by Xellos (previous revision, new revision, compare).

»
4 months ago, # |
  Vote: I like it +1 Vote: I do not like it

why not to use language server protocol instead of editor-specific definitions

  • »
    »
    4 months ago, # ^ |
      Vote: I like it +13 Vote: I do not like it

    Hmm, first, I had no idea what that is. Second, after checking out the docs, I'm not in the mood to learn how it works. Seems too long.

    If you want something else done, why not do it yourself?