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

Too many code lenses in postcss files #362

Closed
Aarbel opened this Issue May 2, 2018 · 5 comments

Comments

Projects
None yet
2 participants
@Aarbel

Aarbel commented May 2, 2018

Hi Git Lens teams, gitlens infos are quite overflowing css files. How could i remove them ?

Thanks

image

@eamodio

This comment has been minimized.

Owner

eamodio commented May 4, 2018

Is that a standard CSS file? I can't reproduce that behavior. Is it possible you have a custom setting for gitlens.codeLens.scopesByLanguage?

@eamodio

This comment has been minimized.

Owner

eamodio commented May 23, 2018

I am closing this issue because it needs more information and has not had recent activity. Please re-open this issue when more details can be provided.

Thanks!

@eamodio eamodio closed this May 23, 2018

@Aarbel

This comment has been minimized.

Aarbel commented May 23, 2018

@eamodio It's a postcss file, sorry i didn't saw your answer

@eamodio

This comment has been minimized.

Owner

eamodio commented May 23, 2018

@Aarbel np -- what is the extension of the file?

@eamodio eamodio reopened this May 25, 2018

@eamodio

This comment has been minimized.

Owner

eamodio commented May 25, 2018

@Aarbel if you add the following to your settings.json

"gitlens.codeLens.scopesByLanguage": [
    {
        "language": "css",
        "scopes": [
            "document"
        ]
    },
    {
        "language": "html",
        "scopes": [
            "document"
        ]
    },
    {
        "language": "json",
        "scopes": [
            "document"
        ]
    },
    {
        "language": "jsonc",
        "scopes": [
            "document"
        ]
    },
    {
        "language": "less",
        "scopes": [
            "document"
        ]
    },
    {
        "language": "postcss",
        "scopes": [
            "document"
        ]
    },
    {
        "language": "python",
        "symbolScopes": [
            "!Module"
        ]
    },
    {
        "language": "scss",
        "scopes": [
            "document"
        ]
    },
    {
        "language": "stylus",
        "scopes": [
            "document"
        ]
    },
    {
        "language": "vue",
        "scopes": [
            "document"
        ]
    }
]

Does it resolve the issue for you?

@eamodio eamodio changed the title from Git lens infos in css files to Too many code lens in postcss files May 26, 2018

@eamodio eamodio changed the title from Too many code lens in postcss files to Too many code lenses in postcss files May 26, 2018

@eamodio eamodio self-assigned this May 26, 2018

@eamodio eamodio added the bug label May 26, 2018

@eamodio eamodio added this to the Soon™ milestone May 26, 2018

@eamodio eamodio closed this in dfec2a8 May 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment