Giter Site home page Giter Site logo

Comments (2)

kisstkondoros avatar kisstkondoros commented on June 23, 2024

Thanks for reporting the bug!
I've tried to reproduce it and while doing it I've discovered a few oddities, but not this one.

Could You please elaborate the project setup?
In which files the problem occurs?
What do you mean with the following:

turn the Code Lens off

(I actually don't get how that command might be involved in this.)

You can potentially get a bit more information by opening up the devtool (help -> Toogle Developer Tools)

from codemetrics.

kisstkondoros avatar kisstkondoros commented on June 23, 2024

Ok now I think I got it:

Could it be that you wanted to execute that command manually? e.g. as a keyboard shortcut?
If so, the reason for the error is that it is meant to show a quickpick about the details of a codelens.
It is not meant to be manually executed.

I think what you might looking for is toggleCodeMetricsDisplayed, but this only hides the code lenses.
The different visualization aspects of the extension can be disabled in the workspace settings like this:

    "codemetrics.basics.CodeLensEnabled": false, // hides the code lenses
    "codemetrics.basics.DiagnosticsEnabled": false, // does not pollutes problems view / hover with metrics data
    "codemetrics.basics.DecorationModeEnabled": false, // hides the inline decoration
    "codemetrics.basics.OverviewRulerModeEnabled": false, // hides the markers from the overviewruler (scrollbar)

I hope this was the cause, if not please file a new ticket with more details.

cheers 🎆

P.S.: I've figured out some nasty stuff thanks to this issue, v.1.11.2 is in the market ^^

from codemetrics.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.