gordio / ToggleWords

Sublime Text 4 Plugin - Toggle words on hotkey

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

User dictionry not working?

glukash opened this issue · comments

User dictionary createg but it doesn't toggle.

@glukash please, can you share you config file?

@MrStaind please, can you show config files?

which config?
when i create /package/ToggleWords/ToggleWords.sublime.settings
whole plugin stops working

ToggleWords.sublime-settings

{
    // User defined words
    "toggle_word_dict": [
        ["left", "right"],
        ["up", "down"],
        ["top", "bottom"],
        ["width", "height"],
        ["red","orange","yellow","green","blue","purple"],
        ["true", "false"],
        ["yes", "no"],
        ["on", "off"],
        ["0", "1"],
        ["new", "word"]
    ]
}

i just added arrays to source code and in saved it to the same file in same folder and now is working :D

@MrStaind thank you, I check problem after work (dead line coming, don't have time :) )

Same problem.

I change plugin name. As I think this is problem. But if you still have problem, please reinstall plugin.

I just installed this from package control and had the same issue. I'm using Windows running build 3114 of Sublime. Looking through the code I saw it looks for toggle_words_dict but the instructions say toggle_word_dict, the default keyboard shortcut is ctrl-alt-x rather than win-alt-x too. I didn't find the message about the name change telling people to rename the setting until I'd already done it. It might be a good idea to update the instructions! :)

Also, Trying to open the default settings or keymap files from the package settings menu gives me an error. It tries to open them from %appdata%\Sublime Text 3\Packages\ToggleWords\ when the package is located at %appdata%\Sublime Text 3\Installed Packages\Toggle Words.sublime-package I added the defaults I wanted to my user settings and got things working.

Thanks for this. I think I was beginning to get true-or-false poisoning.

If problem is back, please, reopen.
@jskroch, Thank you!