Color theme doesnt apply - visual-studio-code

i've been using VS-Code for years now. And i've been loving the One Dark Italic theme.
Now i've switched to IJ. And the first thing, i did, was installing the theme... however. It is not working correctly.
Code in IJ
It should look like this
Code in VS-Code
Anyone who can help?
Regards

You have to reinstall the IDE. You can save the config file, to keep your settings.
If you dont know how, here is the link (for windows and linux)
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs

Related

VSCode using Comic Sans font for it's interface

I have been using VSCode for years and never seen this before.
https://i.imgur.com/wie0kAu.png
I've tried uninstalling and re-installing, but the problem persists.
Before I re-installed I deleted every code folder I could find in my AppData folders, but when I re-installed all my extensions etc came back straight away, so I think I might have missed a folder somewhere.
Can someone point me to where I should look to nuke all traces of VSCode so I can re-install it, not sign in with sync and start completely fresh.
Just in case someone finds this in the future, I had installed a tweaker for Windows called Windhawk which can let you tweak things, one of the things you can tweak is VSCode. Seems like I enabled that tweak and by default it changes the interface font to Comic Sans. 🤦‍♂️
https://i.imgur.com/LIBvhW6.png

Material Icon theme not loading in visual studio code

Folder Icons and file icons are just little documents, not what is advertised, also it used to work. I tried using and older version, but did not work. Try your best to help, its fine if its impossible.
All you need to do is restart Visual Studio Code and your compute. After that uninstall vs code completely and restart your computer, hope this helps the people that incountered this problem too.

How do i make my code editor look like the one on Github Copilot's website?

I know this isn't strictly code related, but i know that vscode is used in the github copilot website. However, how do i get my ide and copilot suggestions to look like that?
Very hard to tell the exact theme they used there, it might not even exist.
Anyway, the font is this one: Cascadia Code Web, it comes with installation instructions and here it is described how to install it in vs code
For the theme colors, I am not quite sure as I said, but it does look similar to the github dark color theme, just install the extension and press Ctrl+K, Ctrl+T and select Github dark from the dropdown
It's not the exact look, but hope it helps

Oh-my-posh themes not working correctly with Powerline font and ConEmu

I use PowerShell as my shell on Windows 7. I find that ConEmu is a really good terminal. Since I am not on Windows 10, I cannot use Windows Terminal but ConEmu is not bad at all. I found out about posh-git and oh-my-posh and how they can customize your PowerShell experience. I installed oh-my-posh and the Paradox theme looked nice. But I saw some empty boxes in random places in my Prompt.
And this is an issue that I face on all the themes. The colors and the design are beautiful and I want to use it but those weird boxes are keeping me from doing that. I would also like to tell that I am using Cascadia Code as my font and also this is the Powerline version of Cascadia Code. So, I think it should work as excepted. Next, trying to fix this, I went to nerdfont.com and I installed Cascadia Code from there as opposed to Microsoft's official GitHub repository. Then I set ConEmu's font to Cascadia which I installed from nerdfonts and this happened:
It's better in a way that I can see the Python symbol and some more symbols but still there is one box that cannot be rendered. But it does get worse if I change repository:
There is a weird question mark after "master". I think I have met all the prerequisites to use oh-my-posh like install posh-git and PSReadLine and having powerline Cascadia Code font and also using ConEmu as they officially suggest. I would absolutely appreciate it a lot if anyone can help me out of this mess and suggest what to do to fix my prompt.
P.S I am using PowerShell 7 Core.
When you see boxes, that means that the font doesn't have that specified character. e.g. there are a lot of specialized fonts that don't have every character location defined.
Right on the oh-my-posh GitHub page, Quote:
In case you notice weird glyphs after installing a font of choice,
make sure the glyphs are available (maybe they have a different
location in the font, if so, adjust the correct $ThemeSettings icon).
If it turns out the character you want is not supported, select a
different font.
Also on the oh-my-posh GitHub page, the font used is:
The fonts I use are Powerline fonts, there is a great repository
containing them. I use Meslo LG M Regular for Powerline Nerd Font
If using Meslo LG M Regular doesn't solve your problem, then you have to manually remap the icons to the correct unicode locations in your chosen font.
For Version 2 of Oh My Posh, you have to edit the $ThemeSettings variable. Follow the instructions on the GitHub on configuring Theme Settings. e.g.:
$ThemeSettings.GitSymbols.BranchSymbol = [char]::ConvertFromUtf32(0xE0A0)
For Version 3+ of Oh My Posh, you have to edit the JSON configuration file to make the changes, e.g.:
...
{
"type": "git",
"style": "powerline",
"powerline_symbol": "\uE0B0",
....
Posting this response because I followed #HAL9256 's response and it was extremely helpful but I had to take it one step further. If you are using windows terminal, you actually have to set the terminal to use the nerd font. This took me far too long to figure out so hopefully it helps the next person.
In windows terminal, open the settings, then the Defaults on the left blad, then the appearance tab, finally change the fontface to something nerd font
https://www.jondjones.com/media/rhzobluq/customise-your-powershell-prompt-like-a-boss-c.gif
source: https://www.jondjones.com/tactics/productivity/customise-your-powershell-prompt-like-a-boss/
I faced the same issue and solved it by editing the following file: C:\Path\To\Your\WindowsPowerShell\Modules\oh-my-posh\2.0.496\defaults.ps1
Within PromptSymbols, there should be something called VirtualEnvSymbol. Just change the value from the current one to something from the above listed ones. For example,
VirtualEnvSymbol = [char]::ConvertFromUtf32(0x26A1)
I've encounter the same problem and was solved installing the fonts.
Download the fonts at https://github.com/microsoft/cascadia-code/releases
Unzip
Right click on the font and select "Install the font for all users"
Enjoy !
From : https://github.com/microsoft/cascadia-code
Just install this whole Cascadia Code font and it will work no need to modify the theme settings.
https://github.com/ryanoasis/nerd-fonts/tree/master/patched-fonts/CascadiaCode/Regular/complete

Eclipse Javadoc not rendering correctly

I'm currently trying to set up my working environment in Ubuntu 12.10, and I'm currently lost with the styling of Javadoc in Eclipse. The tooltips, and the Javadoc shown in the Javadoc perspective are not rendering the HTML correctly at all.
This is what it looks like on my Windows 7 installation of Eclipse:
On Ubuntu, it looks completely broken and is not rendering anything correctly, which gets especially distracting when there is lots of text, code or other things included into the Javadoc:
Has anyone experienced this kind of issue before or might be able to help otherwise?
Note: I also changed my gtkrc up a bit to change the tooltip color, as it used to be just really dark text on black background, but that should have only changed the general font and background color, not the rendering of HTML.
I just found this very related question:
Eclipse is formatting javadoc tooltips very poorly on Ubuntu
However, noone there was able to answer the person asking the question
Had the same problem- Solution is easy: Install the libwebkitgtk-1.0-0 package available in the default ubuntu repositories.
(If you're not using Ubuntu find out how that component is called on your distro and how to install it)