VSCode terminal with buggy font - visual-studio-code

Well, I have installed vscode to my job laptop and for some reason, the font of its integrated terminal is weird A LOT. Take a look at this screenshot:
So, as you can see, the font there is really weird and I have no idea what has happened. The settings are synced with my personal laptop vscode and it's normal there.
PS.: The font of the windows CMD and PS are OK, nothing wrong with them.
What can be causing that?

I faced this very problem when starting on windows. In my case, this issue was caused by syncing my user settings for Mac which has "editor.fontFamily": "Monaco" for the editor font family. Resetting this field to default value solve the problem for me.

It happens when the font you set for terminal.integrated.fontFamily doesn't exist anymore in your system (Windows or Mac).
You'll want to either:
Search "terminal font" in settings
Change the font family with the one exist
Alternatively, it may caused by editor.fontFamily with the same reasons.

Related

Does anyone know why my vscode is behaving like this?😔

Why is my vscode ui being like this? I tried completely uninstalling and installing vscode but the issue remains same. 😒😔
Tried completely uninstalling and installing but issue remains same
Try to change theme color of your vsCode editor. And check that by mistake any unknown extension downloaded by you or not.
Other side there might be problem in your display of computer check that onece.
There is one way also,
You can completely delete old vscode version files.

neovim onedark colortheme displaying wrong

I have recently downloaded neovim to start developing there, and I wanted a color theme the one dark from atom, but for some reason doesn't work properly, the whole screen comes blue, I searched in other places but I didn't see anyone with the same problem, I'm in macOS 12.5.1, I even tried to run the theme in a ubuntu machine, in a docker container and is the same problem, Has anyone had this same problem?
Here's a picture
screenshot of neovim
There's no solution I was using the default mac Terminal, it appears that the Terminal is stuck in the 1970's and doesn't process termguicolors, as a remedy.
I'm using alacritty know, and works fine know.

Why does VS code shows output with weird symbols?

i think this became a problem after installing extensions but i'm not sure[enter image description here]
i tried reinstalling vscode and removing sync of any settings but it didn't workyour text
In settings under Terminal > Integrated: Renderer Type, it defaults to "auto" which in my case selects the "canvas" setting. If you switch this to "dom" it will fix the jumbled letters in the integrated terminal.
Also i'd recommend double-checking your language packs that are installed in windows and either reinstall them or make sure you have installed correctly.
Hope this helps.

Netbeans 12.1 menu fonts too small, --fontsize no longer works in /etc/netbeans.conf for Ubuntu 20.04

Netbeans 12.1 no longer respects the --fontsize directive in the /etc/netbeans.conf config file.
The menu fonts are way too small on a large screen.
Yet setting Preferences->LXQt Settings->Font->Point size in the Ubuntu control menu, which is normally respected by most Unix app windows, does not carry through either.
And although Netbeans's
Tools->Options->Fonts & Colors->Profile: NetBeans->Syntax->All Languages->Default -> Font
setting changes the font for the code itself inside the editor, it doesn't change the IDE menus.
You would think, after all these years, that there would be a command inside the Options to change the menu font size, but it's still not there yet.
And now editing config to change the --fontsize startup option is no longer respected.
How best to change the size of all the system fonts in the Netbeans IDE display environment?
The best solution I've found so far is to change the Look & Feel.
Invoking aptitude install netbeans currently (Sept '20) gives version 10, which breaks with a jcraft/jsch error, also "could not successfully run the /usr/bin/g++ compiler" on my system even though g++ is perfectly fine and protections cleared, also "Build Host not connected", after C++ is installed from the 8.2 repository. Tastes like some kind of jdk error (I've got /usr/lib/jvm both 8 and 11 jdks installed, hard to believe it can't find them). But if the install doesn't work right out of the box, it's a bad sign. So I tried snap install netbeans --classic . This gets version 12.
Netbeans version 12 comes with the Metal Look & Feel configured by default. Changing this to the GTK+ look and feel, using Tools->Options->Appearance->Look and Feel->GTK+ with a restart, finally got the menus to the correct system size.
Unfortunately, the Help->About popup still does not respect this, having minuscule fonts. Perhaps there is a better way?
Although "Look and Feel" is an improvement, I would still like to see direct control of the IDE menu fonts. From the Options Fonts & Colors menu.
Running netbeans from commandline with an additional argument --fontsize 12 works for me. Open a console and go the bin directory of netbeans and use the command ./netbeans --fontsize 12. Change the font size to whatever suits you.
In Netbeans in Tools->Options->Appearance->Look and Feel, I could solve the problem.
But in my case, the selected option already was GTK+. Changing to Metal solved it.
Install Netbeans 13.
It should help

In the terminal in VSCode there's too much white space

When I open the terminal in VSCode, there's too much white space.
(Click images to enlarge)
I have to press Enter to type the command. Has anyone encountered this error?
Maybe I'm late to the party, but this is what fixed it for me:
Configure VSCode to use cmd.exe as the terminal (settings.json):
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
Open cmd.exe
Go to default settings
Make sure "[V] Use legacy console" is checked
OK, OK, restart VSCode
I guess you'll lose some new console features, but I don't use any of them anyway, so for me - this solved the problem.
I noticed the same problem with PS and other console implementations (because the root cause is likely here: https://github.com/microsoft/terminal/issues/270, as people here: https://github.com/Microsoft/vscode/issues/57803 eventually realized), but at least I found a way to solve it with cmd.exe.
Hope this helps.
If you change the height of the terminal at the bottom (so that it occupies a large amount of the screen), then you kill the terminal and then Right-click to run Python file in Terminal, it will work. It is a Terminal rendering issue.