-
Notifications
You must be signed in to change notification settings - Fork 30.4k
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
Terminal suggest items look crammed #239095
Comments
What font size are you using? With that font size, how does it look in the editor? |
I have editor font family "Jetbrains Mono" and font size 16, but I'm suprised it would affect terminal suggest given terminal has its own font family and size (which I haven't changed)
My editor suggest: It seems terminal suggest isn't passed correct font info. |
We use editor's font family, size, etc. for this to be consistent with the editor's suggest widget. We do not use the terminal's values for these. |
I'll see what's going on for your particular setup. The one in the editor and terminal should look the same. |
When using a different font, I do see a difference though. |
My guess is the editor does something special here
|
vscode/src/vs/editor/browser/config/editorConfiguration.ts Lines 153 to 155 in ed6a519
|
maybe related to monospace fonts vscode/src/vs/editor/browser/viewParts/viewLines/viewLineOptions.ts Lines 39 to 42 in ed6a519
|
it's very surprising that all text in terminal uses one font and suggestions would use another (if user has configured different font for terminal & editor, which was my case) |
@ulugbekna wouldn't it also be surprising that 2 auto complete widgets would look different in the same application depending on context? |
@Tyriar IMHO I wouldn't have noticed the two suggests being different, but I did notice difference between fonts in my terminal, especially because I use different font sizes |
@Tyriar @meganrogge Since I'm now seeing suggest in terminal quite often compared to never before, I was wondering if this's a new feature for this iteration. This issue seems quite bad, so maybe it should prevent terminal suggest being on by default? Or maybe @jrieken could help with figuring out how to adjust the line height so the suggest is displayed correctly. |
@ulugbekna it's currently experimental and off by default, I'm guessing we'll promote to preview for Feb and eventually the hope is to enable it by default. |
I think you've convinced me, @meganrogge let's just use the terminal text config here and fix up the line height. It makes sense considering that when you complete it should appear and look the same as it looked in the suggest widget. |
Version: 1.97.0-insider
Commit: 3250a26
Date: 2025-01-29T05:04:50.952Z
Electron: 32.2.7
ElectronBuildId: 10660205
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.2.0
The text was updated successfully, but these errors were encountered: