Vscode: Control font size in suggest, hover, parameter hints widgets

Created on 11 Oct 2016  路  7Comments  路  Source: microsoft/vscode

  • VSCode Version: 1.6.0
  • OS Version: Windows 10 14393.222

I appreciate that 1.6 improves Hover & IntelliSense UI which makes hints become more readable. However the IntelliSense & Snippets dropdowns seem not as good as before, since the font-size grows quite large:

1

I have no idea whether the change was on purpose or not, shall we move this weird appearance back to normal ? Or maybe there could be a config option to adjust font-size in dropdowns.

*out-of-scope feature-request help wanted suggest

Most helpful comment

It would also be great if we could adjust the wrapping, and widget width. I'm so tired of this happening ...
2017-08-21-19-34-001

I prefer the code to be pretty large font, but I'd really appreciate being able to tool all of these pop-ups with thinner fonts, and better layout control overall.

All 7 comments

It isn't released in 1.5, but the insiders release has a editor.suggestFontSize setting which lets you control this. We might want to make this setting more general, to make it work for other widgets, so let's keep this issue open to fix that.

We also prefer the old appearance of the suggest widget.

  1. We prefer the type label to be left aligned as before and blue.
  2. The font size is too big.
  3. We set lineHeight to 16 in monaco.editor.create options. We need it for the editor , but with this setting the line height of each suggestion is too small. (not enough padding).

This is how the new suggest widget looks like in our project with the Monaco editor version 0.7.0:

image

After overriding some css we get to this:

image

What about adjusting the maximum width for the widget? In most cases I can only see the first few characters in the name of the first parameter. I'd love to be able to see all of the parameters to a function.

There also needs to be a way to control the font size of the documentation displayed when auto-completing, not only the list of items. And also the size of the documentation box.

It would also be great if we could adjust the wrapping, and widget width. I'm so tired of this happening ...
2017-08-21-19-34-001

I prefer the code to be pretty large font, but I'd really appreciate being able to tool all of these pop-ups with thinner fonts, and better layout control overall.

We closed this issue because we don't plan to address it in the foreseeable future. You can find more detailed information about our decision-making process here. If you disagree and feel that this issue is crucial: We are happy to listen and to reconsider.

If you wonder what we are up to, please see our roadmap and issue reporting guidelines.

Thanks for your understanding and happy coding!

Suggest widget is already very different today. Please open new feature requests.

Was this page helpful?
0 / 5 - 0 ratings