You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
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.
Sandeep Somavarapu (@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.
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.
But we also show inline representation of an error when you type f8 key. So if you want to see the error at the given position does the inline view helps? This can show the error completely (including multiple lines and related information) but the status bar has limitations in space right?
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.
Given the discussion of "status bar real-estate" above, I just thought I'd point out the extension "Error Lens," which displays all errors and warnings inline with the code:
Just another approach, and, in my experience, incredibly useful since you don't need to move your gaze.
Activity
sublimeye commentedon Jan 6, 2018
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.
dandv commentedon Oct 10, 2018
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.
mslawins commentedon Nov 19, 2018
This would be great feature. Love this when I'm using Vim.
sandy081 commentedon Dec 6, 2018
Dirk Bäumer (@dbaeumer) Can the extension can do it already?
usernamehw commentedon Dec 6, 2018
https://marketplace.visualstudio.com/items?itemName=JoeBerria.statusbarerror#overview
dbaeumer commentedon Dec 7, 2018
Sandeep Somavarapu (@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.
sandy081 commentedon Dec 7, 2018
But why in status bar instead in editor?
dbaeumer commentedon Dec 7, 2018
I think this is because of other editors / IDEs showing it there.
sandy081 commentedon Dec 7, 2018
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.
ryansully commentedon Dec 7, 2018
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.
sandy081 commentedon Dec 7, 2018
But we also show inline representation of an error when you type
f8key. So if you want to see the error at the given position does the inline view helps? This can show the error completely (including multiple lines and related information) but the status bar has limitations in space right?2 remaining items
cdloh commentedon Dec 7, 2018
But it's not just a VIM thing. All modern IDEs have this feature. Sublime Text does.
sandy081 commentedon Dec 7, 2018
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?
cagmz commentedon Dec 7, 2018
Alexander (@usernamehw) thanks! Works like a charm; very useful when using
vscodevim.sandy081 commentedon Nov 8, 2019
This will be supported behind the setting
problems.showCurrentInStatus. Set it totrueto enable.#20183 Show current problem in status
#20183 move current problem contribution to editor status
ultraGentle commentedon Nov 22, 2019
Given the discussion of "status bar real-estate" above, I just thought I'd point out the extension "Error Lens," which displays all errors and warnings inline with the code:
Just another approach, and, in my experience, incredibly useful since you don't need to move your gaze.