Sublime Forum

Created syntax is not displayed in the syntax folder

#1

Hello,

I’ve been desperate about this problem for days

No error is displayed when the syntax file is created and saved, but it is not displayed in the syntax folder.

I used to have the same file on my Windows PC and it worked.
I don’t know maybe the memory location is wrong?

0 Likes

#2

Off-topic: SIMATIC flavoured SCL will be part of “CNC Sinumerik” package once package_control_channel accepts required changes. A preview can be found at https://github.com/deathaxe/sublime-s840d/tree/develop

The package supports SIMATIC Step7 AWL, ASC, SCL and other SINUMERIK related syntaxes.


That said, a syntax definition must be saved as Packages/<Package Name>/<Syntax Name>.sublime-syntax. You shouldn’t use colons in name as such files would fail to load on Windows.

0 Likes

#3

Hello deathaxe,

thanks for the fast respond.
The solution was that the syntax file name instead of Name.yaml must be Name.sublime-syntax.

0 Likes