Conversation
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
There are still some missing, but it's not clear to me exactly how this should be handled so I added a few only. Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
Signed-off-by: Marcel Ribeiro-Dantas <mribeirodantas@seqera.io>
88f1da1 to
4e37342
Compare
|
Thanks for the PR! The changes look good to me.
The official docs are a good place to start: http://www.sublimetext.com/docs/index.html I used the default Groovy syntax as a base for the Nextflow syntax since Nextflow builds off Groovy. When I'm making changes to the syntax file, I'm constantly checking the There is also a syntax test file to ensure that scopes are being set properly: https://github.com/peterk87/sublime-nextflow/blob/master/syntax_test_.Nextflow
I separated some of the operators and keywords into different categories/scopes to have better syntax highlighting and to allow search by scope with some commands and tooltips.
I think a context would need to be defined to capture https://github.com/peterk87/sublime-nextflow/blob/master/Nextflow.sublime-syntax#L376 |
|
Thanks, @peterk87 ! How do you think we should proceed on this? Merge this PR, and then I open a new PR when I have more time to work on that? |

Hello, there! I'm trying to update the syntax highlighting but I'm a bit new to this so I apologize if I did something wrong. This pull request:
I would like to help more, but it's not clear to me why the operators are separated into categories. Could you direct me to some nice reading on how to create these syntax highlighting files for sublime?
One missing thing that I'm not sure how to add (copy what was done for
emit?) is theoptionalkeyword for input/output channels.