acarril / StataLinux

Sublime Text 3 plugin that adds support for Stata (all versions) in Linux.
MIT License
7 stars 2 forks source link

Convert legacy syntax definitions #7

Closed acarril closed 4 years ago

acarril commented 4 years ago

Currently the syntax is defined via Stata.tmLanguage and Comments.tmPreferences. According to the PackageDev wiki, this is outdated. Apparently it is fairly easy to migrate to the new, preferred format (.YAML-tmLanguage) using PackageDev tools.

avila commented 4 years ago

there is still some improvement to do on the syntax. I am not very familiar with how sublime works, but I believe one can implement a scope to recognize it is a multi-line command (with ///) and using this context extract the all lines of the same command (as suggested in issue #11). That would be a nice improvement but the syntax is now already defined in the new yaml format, so I believe this issue could be closed.

acarril commented 4 years ago

Oh OK. Maybe expand #11 with that info then. I wouldn't know how to do it though.