Coder Social home page Coder Social logo

error-gutters's People

Contributors

pinkaminadianepie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

kultism

error-gutters's Issues

Unable to add breakpoints on click on line with 'error'-symbol

First of all; great plugin. It seems like a little change to have a visible icon in the gutter instead of the problem tab, but it's way easier now to spot issues!

It's currently not possible to add a breakpoint by clicking in the gutter, when there is a error-gutters-symbol there. It does work with the F9 shortcut though, but it would be nice if just clicking in the gutter like we use to works too.

Sometimes errors aren't errors, but more like warnings how things could be better, like example below on line 141, where we just want to add a breakpoint on them to see a value for example.

I never created plugins for VS Code, but as VS Code is based on Chromium my guess would be that pointer-events: none; on the icons css could be a fix?

image

Console errors

I'm getting loads of errors in the console:

mainThreadExtensionService.ts:43 TypeError: Cannot read property 'document' of undefined
	at checkFile (/Users/nige/.vscode/extensions/igorsbitnev.error-gutters-1.0.0/extension.js:38:27)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:103:659
	at e.fire (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:105:344)
	at Timeout._onTimeout (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:108:359)
	at ontimeout (timers.js:475:11)
	at tryOnTimeout (timers.js:310:5)
	at Timer.listOnTimeout (timers.js:270:5)

Which is making it quite hard to debug my own extension.

I think it's because some editors (settings, extensions, etc.) don't have a document.

BTW - nice extension. Not sure why it's not built in?

Feature request: Comment tag to ignore specific errors

I remember there was an extension that would recommend refactoring, and it was possible to to right click to ignore certain recommendations it would make. I wonder if it would be possible to have it for everything in general.

For example: the specific error "unittest" is possibly unbound by Pylance is annoying, and I know the code will be executed just fine, so I could simply ignore it.

Feature request: custom icons/colors

Features that would be nice here:

  1. Set the colors for each kind of severity of gutter (or load colors from color theme)
  2. Set custom icons for each severity of gutter (or load from the icon theme)

E.g.: SublimeText gutter warnings are simpler and nicer to the eyes

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.