tintinweb / vscode-inline-bookmarks

Customizable inline Bookmarks for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-inline-bookmarks
GNU General Public License v3.0
45 stars 14 forks source link

Does this work with remote ssh with custom words? #54

Open sleewok opened 2 years ago

sleewok commented 2 years ago

I have this extension installed for remote ssh. The default keywords like @audit work just fine. However, if I set my custom words, or even change the default, it never works. Am I doing something wrong?

tintinweb commented 1 year ago

You probably have to reload the IDE for the changes to take effect. That should fix your problem. If not, let me know and I'll investigate 🙌

wycats commented 1 year ago

@tintinweb I encountered the same problem and reloading the extension worked. Is it possible to address this? If not, maybe warn the user that configuration changes require a full reload?

sinCereXuYuan commented 8 months ago

Adding following code seems can reload extension on custom words change.

 vscode.workspace.onDidChangeConfiguration(() => {
        auditTags.words = auditTags._reLoadWords();
    });