Re: Sublime Text 4 Euphoria Package

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu