Re: Sublime Text 4 Euphoria Package
- Posted by ron77 2 weeks ago
- 278 views
Hi all, I found that the shortcut key Ctrl + / to toggle comments doesn't work, but I found a solution to that... The solution is to create a file called `Comments.tmPreferences` and put it in both the Euphoria and Phix Sublime package folders with this code:
Comments.tmPreferences :
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>name</key> <string>Comments</string> <key>scope</key> <string>source.euphoria</string> <key>settings</key> <dict> <key>shellVariables</key> <array> <dict> <key>name</key> <string>TM_COMMENT_START</string> <key>value</string> <string>-- </string> </dict> </array> </dict> </dict> </plist>
This works, I tested it on both euphoria and phix source files in Sublime Text editor 4