SublimeText / PackageDev

Tools to ease the creation of snippets, syntax definitions, etc. for Sublime Text.
MIT License
436 stars 83 forks source link

Text Mate Preferences settings key completions not being offered #164

Closed keith-hall closed 6 years ago

keith-hall commented 7 years ago

Take the following example .tmPreferences file:

<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
    <key>name</key>
    <string>Test</string>
    <key>scope</key>
    <string>source.example</string>
    <key>settings</key>
    <dict>
        <key>caret here</key>
        <string>.</string>
    </dict>
</dict>
</plist>

If the caret is where I've written caret here, one would expect to be offered some completions, but it looks like the scope at that position is nothing special - text.xml.plist.textmate.preferences meta.inside-plist.plist meta.inside-dict.plist meta.inside-dict.settings.tmPreferences meta.inside-dict-key.plist. I'm guessing there was a regression somewhere, as I think it used to work.