-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
Show current error in status bar #20183
Comments
This feature should support any type of linter/language, not only eslint. Instead of hovering the mouse cursor over highlighted text a user should be able to see the error when placing the caret on the highlighted part. |
WebStorm does this, and it's a big timesave for keyboard users. No need to mouse over the error - just see it in the status bar. |
This would be great feature. Love this when I'm using Vim. |
@dbaeumer Can the extension can do it already? |
@sandy081 I don't think that extension should start doing this. If we think this is a useful feature then this should be in the core to ensure it works as expected and can be turned off. |
But why in status bar instead in editor? |
I think this is because of other editors / IDEs showing it there. |
What I am trying to understand is why does users want to see in the status bar and what is it trying to achieve in addition to other editors doing the same. |
Because developers who have primarily keyboard driven workflows, such as Vim shortcuts, want to be able to see errors without having to move their hand to use the mouse to hover over them in the editor. |
That still requires an extra action/keypress to view the error. Having used Vim and knowing other Vim users, it is valuable to be able to see errors in the status area while motioning through code. |
What I am saying is that status bar has space issues and as a platform it might not be nice to show only partial information and it also flood status bar. If this is an experience of VIM, why not add this functionality to our VIM extension? |
But it's not just a VIM thing. All modern IDEs have this feature. Sublime Text does. |
I see. I am just thinking to have a nicer way to fulfil this requirement given that there is a space constraint in status bar and we have multiple UIs for errors (Inline, Hover & Panel). I have come across a requirement for problems panel to show the problems for the given file or for given position only - #30038 Just wanna check either status bar or problems view is the right thing to have this feature. I kinda incline towards problems view as it is better in terms of space and showing information. What do you think? |
@usernamehw thanks! Works like a charm; very useful when using |
From: microsoft/vscode-eslint#199
The eslint plugin on vim have a nice feature that if your cursor is on the line of a eslint error it shows the error on status bar, this plugin can do this too?
The text was updated successfully, but these errors were encountered: