I am trying to replace the Inconsolata font with its older version in IntelliJ (the newer version added things that I'm not happy with)
IntelliJ seemingly refused to remove a font that I wish to be removed.
The font in question is Inconsolata, and the picture below shows me trying to delete it. It works, at this stage.
However, after doing that, and restarting the PC, IntelliJ insists that the font exists.
It will give a strange name to the font, but the entry exists. This causes problem on my end - there's some reference caching the IntelliJ is doing, and if I were to replace the font with the older version, it'll still be using the newer cache, but will give a strange output if the cache is pointing to something that doesn't exists.
I've tried
Deleting the settings folder
Reinstalling IntelliJ and then restarting
Is there a way to delete a font in IntelliJ properly?
It looks like Windows doesn't properly delete a font. Unfortunately, this causes problems for some apps.
The fix
Head towards C:\Windows\Fonts from your terminal. Do not use a file browser, as that will open up the control panel item.
Delete all traces of inconsolata (There was Inconsolata-Bold.ttf, Inconsolata-Regular.ttf, inconsolata.otf) using a terminal
Now your IDE will no longer have the Inconsolata font.
Related
Not sure why but all of a sudden my .Rproj files dont have an icon. See example screenshot.
Running most recent R Studio, tried deleting R studio and reinstalling. Tried switching the file to have a different default programme then switching back....
Anyone know how to restore the default icon for this file type?
Is there a way to activate Xcode Source Editor option in System Preferences > Extensions? For some reason, it's not showing on my Mac (the last option).
If the Xcode Source Editor is missing from the left pane (see image above), try one of these solutions before resorting to a reinstallation:
In the Applications folder, rename Xcode and then change the name back to Xcode, or move Xcode.app out of the Applications folder, then back in, as described by this Stack Overflow answer.
Move the Xcode app to the Trash and re-install it from the AppStore.
I install the Xcode manually that's why not found on Extensions.
To fix quickly:
Quit Xcode
Rename Xcode in the applications folder temporarily with any name.
Launch renamed Xcode
Quit Xcode
Name it back to the old value ("Xcode")
Go back to Extention you will find the Xcode
The entry is shown if the system detects that both Xcode and at least one Xcode extension is installed. Yet the code to detect Xcode has a few issues.
If you install Xcode first and don't have an extension, the entry is not shown. If you then install an extension, the system re-checks if Xcode is still installed and if yes, it should add the entry. However, the check code will fail in some situations. E.g. if you renamed Xcode.app to something like Xcode_13.4.app (as you need to manage different versions of Xcode), the detection code may not find it. It also may not find it if you moved Xcode to a different location outside of /Applications. And even if not renamed and still in the default location, the detection code sometimes fails and the exact reason why that happens is unknown (it may have issues with certain ownership, certain file permissions, case-sensitive file systems, etc.)
In all these situations, renaming Xcode causes it to be re-detected by the system and then the system sees that Xcode and at least an extension is installed and the entry appears immediately. No need to reboot or start the renamed Xcode; you rename it, you rename it back, and the entry is there and will stay there (even after deleting all extensions, it stayed on my system).
If you first installed any app with an extension and then Xcode, the problem does never appear as in that case you immediately trigger the rename-fix above, because the moment you install Xcode, the system will always detect it correctly (regardless how the app is named or where it is located or any other issue the scan code might have) and detecting Xcode and knowing there is an extension, the menu entry appears at once. The code that detects Xcode extensions seems to always work correctly.
This is probably one of the issues where the Xcode detection code has not been tested very well by the Apple but since it seems to work for the vast majority of users, Apple sees no reason to further investigate why it would sometimes fail.
It will get activated by default if any plugin are added in Xcode.
You have to download XcodeClangFormat plugin from GitHub and follow the installation steps. Then Xcode Source Editor will be visible automatically.
Please refer this link
I am having issues with using Atom text-editor. I have used it before on my system and all was fine. However, opening it today, I had the UI looking like this:
I have uninstalled it and reinstalled it, but to no avail. I have also deleted the local data file after installation and I keep getting the same UI.
Any help would be awesome!
If you are wanting to get rid of the panel(s) at the right side of the window, that is your debug console. Just click the "x" at the upper right corner (in the light-gray section, not in the application title bar) and it will go away.
If that is not what you meant, you need to clarify the question.
I managed to fix it. I was not expecting the above layout after a fresh reinstall. This was what I expected (and am used to).
Somehow the .atom folder in C:\Users\%USER%.atom was completely hidden and read only, so I had trouble locating it. After using the terminal to access the folder, I inspected discovered its properties. After removing the hidden and read-only attributes, I deleted the folder and reinstalled Atom and it managed to fix the issue.
While I was working in PhpStorm on a website computer restarted and an error appears. I using Windows 10. After restart CSS file was empty and I lost my work. The CSS file appears like it still have 9kb, but in PhpStorm it is empty.
I've tried to restore from PhpStorm, but the Local History is empty too.
Can I restore it? If I can, how can I do it?
Did you save the file prior to the crash? If not, take a look at PHPstorm's autosave functionality.
Also, and I don't mean to be condescending here: frequently saving your stuff and proper backups are important.
I have done everything you are supposed to do to make a custom font show up in an Xcode project. However, the font comes out Helvetica every time and not Oswald as I hoped. Here you can see the name of the font is in fact, Oswald. I also tried different names - Oswald-Light, Oswald-Regular, Oswald-Bold...
Here you can see that the .ttf files are in fact in my project. They are also in the projects folder in the finder - I checked that.
I put the names of the files in the .plist under Fonts Provided by Application.
And finally I told the label to use Oswald font. Again, I tried #"Oswald-Light",#"Oswald-Bold"...
Solution:
Make sure the ttf files are in the target's Copy Bundle Resources build phase. If they aren't, they won't get copied to the app bundle when you build the project.
Solved by Mark Szymczyk - third comment (just to make it explicit in SO-style that the problem was solved)