Answer the question
In order to leave comments, you need to log in
Goto symbol in project in Sublime Text?
Good afternoon!
For some reason, on command
{ "keys": ["ctrl+shift+r"], "command": "goto_symbol_in_project" }
Answer the question
In order to leave comments, you need to log in
Check that nothing seems to be broken.
To look for SashaClass<div class="SashaClass"></div>
in the Sublime Text 3 tag . Preferences → Browse Packages... → User → create a file Symbol list - CSS.tmPreferences → paste the following code into it and save.
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>name</key>
<string>Symbol List: Classes</string>
<key>scope</key>
<string>text.html meta.class-name.html</string>
<key>settings</key>
<dict>
<key>symbolIndexTransformation</key>
<string>s/^/Class: /</string>
<key>showInIndexedSymbolList</key>
<integer>1</integer>
</dict>
</dict>
</plist>
<SashaTag></SashaTag>
in Sublime Text 3 tag . Preferences → Browse Packages... → User → create a Symbol list - Tags.tmPreferences file → paste the following code into it and save.<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>name</key>
<string>Symbol List: Tags</string>
<key>scope</key>
<string>text.html entity.name.tag</string>
<key>settings</key>
<dict>
<key>symbolIndexTransformation</key>
<string>s/^/Tag: /</string>
<key>showInIndexedSymbolList</key>
<integer>1</integer>
</dict>
</dict>
</plist>
SashaTag {
color: red;
}
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>name</key>
<string>Symbol List: CSS</string>
<key>scope</key>
<string>meta.selector.css</string>
<key>settings</key>
<dict>
<key>symbolIndexTransformation</key>
<string>s/^/CSS: /</string>
<key>showInIndexedSymbolList</key>
<integer>1</integer>
</dict>
</dict>
</plist>
<div id="SashaID"></div>
Sublime Text 3 searches for SashaID in the tag . <?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>name</key>
<string>Symbol List: ID</string>
<key>scope</key>
<string>text.html meta.toc-list.id.html</string>
<key>settings</key>
<dict>
<key>symbolIndexTransformation</key>
<string>s/^/ID: /</string>
<key>showInIndexedSymbolList</key>
<integer>1</integer>
</dict>
</dict>
</plist>
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question