Sublime Forum

Symbol transformation for reference list

#1

I have the following tmPreference:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>scope</key>
    <string>
        source.cb support.type.chip.cb
    </string>
    <key>settings</key>
    <dict>
        <key>showInIndexedReferenceList</key>
        <string>1</string>
        <key>symbolIndexTransformation</key>
        <string>s,/,_,g;s,$,_chip,;</string>
    </dict>
</dict>
</plist>

I want to apply a transformation on the symbol, but it’s not having any effect. I also tried symbolTransformation and that didn’t work either. Is there another keyword I can use to modify the symbol before inserting it into the reference list?

0 Likes

#2

did you try using / as a delimiter to s, instead of ,?

0 Likes

#3

Yeah, I tried / as well.

0 Likes