Skip to content
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

[Feature Request] Option to ONLY disable inline information #60

Closed
nwaywood opened this issue Sep 25, 2020 · 6 comments
Closed

[Feature Request] Option to ONLY disable inline information #60

nwaywood opened this issue Sep 25, 2020 · 6 comments
Assignees

Comments

@nwaywood
Copy link

I would like to just use the gutter icons AND the status bar message but disable the inline information.

I found these two issues, #59 and #15, but the solution suggested in both of those issues hides the status bar message as well as the inline information.

It would be great to be able to disable the inline information while still having the status bar messages

@usernamehw
Copy link
Owner

I've added 4 separate colors for status bar, so they no longer share invisibility. e4d86fb

  • errorLens.statusBarErrorForeground
  • errorLens.statusBarWarningForeground
  • errorLens.statusBarInfoForeground
  • errorLens.statusBarHintForeground

@GitMensch
Copy link

GitMensch commented Sep 29, 2020

The latest change is quite useful in any case - but still - as this was requested multiple times...
@usernamehw Can you please reopen this issue and add a errorLens.inlineMessageEnabled setting (defaulting to "true", of course)?

@usernamehw
Copy link
Owner

usernamehw commented Sep 29, 2020

Is that setting should include background color of the entire line or not?

@usernamehw usernamehw reopened this Sep 29, 2020
@GitMensch
Copy link

that setting should include background color of the entire line or not?

Yes. if someone don't wants the color then there's already a setting to adjust that. The only setting missing is "enable diagnostic text shown inline".

Thanks for reopening and considering this.

@usernamehw
Copy link
Owner

"errorLens.messageEnabled": false,

@GitMensch
Copy link

GitMensch commented Nov 13, 2020

To "finish" this issue: There is no "errorLens.messageEnabled" property available with old versions [see #52 about the outdated one on Open-VSX], but the following did the trick - and can also be set per type, which I see as superior (I just did not know of either the option nor the correct place to add it):

		"workbench.colorCustomizations": {
			"errorLens.errorForeground": "#fff0",
			"errorLens.warningForeground": "#fff0",
			"errorLens.infoForeground": "#fff0",
			"errorLens.hintForeground": "#fff0",
		},

--> leaves colored line (background color) and the gutter.

In my case the actual text was disabled because of #61 (looks like it will take a while for me to come back to this).

Note: After applying either the color settings or "errorLens.messageEnabled": false, the text can be seen by using the vscode standard hotkeys for next/previous problem [ALT]+([SHIFT])+[F8]. (and as always via hover, which is only hard if there is no column information because of microsoft/vscode#110561).
But the new option is better as the color hack mentioned above breaks "errorLens.statusBarMessageEnabled": true,. Hoping for the update on open-vsx...

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

No branches or pull requests

3 participants