Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow disabling some of the tags #15

Closed
sloth3toe opened this issue Oct 3, 2018 · 5 comments
Closed

Allow disabling some of the tags #15

sloth3toe opened this issue Oct 3, 2018 · 5 comments

Comments

@sloth3toe
Copy link

I may use the words "note" and "section" in a writing, and so wouldn't want them to be considered "tags". Simply removing them from the tag list doesn't seem to do anything:

    "commentAnchors.tags.list": [
        {
            "tag": "ANCHOR",
            "iconColor": "default",
            "highlightColor": "#A8C023",
            "scope": "file"
        },
        {
            "tag": "TODO",
            "iconColor": "blue",
            "highlightColor": "#3ea8ff",
            "scope": "workspace"
        },
        {
            "tag": "FIXME",
            "iconColor": "red",
            "highlightColor": "#F44336",
            "scope": "workspace"
        },
        {
            "tag": "STUB",
            "iconColor": "purple",
            "highlightColor": "#BA68C8",
            "scope": "file"
        }
    ]
@Densorius
Copy link

Densorius commented Oct 3, 2018

You can already disable a anchor by adding it to the list, and adding "enabled: false".

for example:

{ "tag": "NOTE", "enabled": false }

@sloth3toe
Copy link
Author

Got it. Thanks! And I suppose that new tags can be added as well?

@macjuul
Copy link
Member

macjuul commented Oct 3, 2018

Thats right! You can check the README for instructions on how to further use and configure this extension

@macjuul macjuul closed this as completed Oct 3, 2018
@sloth3toe
Copy link
Author

Thanks! The "enabled" property wasn't mentioned I believe, so maybe it's worth it to update the Readme. And there's no explicit example to add a new tag even though I think I could guess that.

@macjuul
Copy link
Member

macjuul commented Oct 3, 2018

Thanks! The "enabled" property wasn't mentioned I believe, so maybe it's worth it to update the Readme. And there's no explicit example to add a new tag even though I think I could guess that.

My apologies, I've indeed forgot to mention it. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants