Sometimes intellij just stops showing me certain files in the project pane. They still exist on disk, and it still even leaves a gap for them, it just stops displaying the name (and double clicking on the empty space doesn't bring up the file).
I've tried synchronizing the packages and project, no luck.
In the image below, there is a LinuxSandboxStrategy file that should be "between" BUILD and LinuxSandboxWrapper. Another missing file can be seen under the skyframe package.
I'm using intellij community edition 2016.1 on Linux.
It's an old known bug (Feb 2014)... not fixed yet (July 2016)
Here is the related bug report : https://youtrack.jetbrains.com/issue/IDEA-121164
Related
I updated IntelliJ to 2019.2 this morning. After the update, all the fonts (actually, fonts and widgets) on the window look absolutely HUGE (even the splashscreen is much bigger when it starts). Main window has the look (in terms of the size of widgets) as being in presentation mode, more or less.
I tried decreasing the size of the fonts in Settings -> Appearance & Behavior - > Appearance (set it to 8) and in Settings -> Font (also set to 8). And the font in the text editor now is back to almost usable (still a little bigger that I'd like) and the menu text as well.... but everything else still looks too big (buttons, tabs, text on the tabs that are on the left side)... so, it's CRAZY. How can I get it back to normal?
I'm on ubuntu 19.04 (actually running KDE) and using OpenJDK.
PS I just downloaded 2019.1 and tried starting it. It looks normal, the way I expect it to. I'm downloading 2019.2 now and let's see what happens what I start it (not from the updated IDE directory).
Just checked starting 2019.2. It looks the way it looked when I started from the updated one. Will stick to using 2019.1 for the time being.
Please refer to the HiDPI configuration document, there were some changes in handling HiDPI on Linux with the move to JetBrains Runtime 11.
It may help if you switch to the IDE-managed HiDPI mode (legacy mode) by adding
-Dsun.java2d.uiScale.enabled=false
in Help | Edit Custom VM Options and restarting the IDE.
I have a very frustrating issue. Visual Studio will not show any text in preview. All it will return is a blank table. Initially, I thought it had to do with my datasource, and therefore I decided to hardcode some text into my table and it still returns a blank table. I even uninstalled the 2015 edition and installed the 2017 one instead and I still get the same output.
Simply try changing the font name. For me changing it from SegeoUI to Arial fixed the issue. Totally terrible. SSRS is dead.
Have you tried deleting the .data file in your solution folder? SSRS has a bug where it will not always refresh the data being displayed during preview unless you manually delete these files. Once you delete the .data file and rerun the preview it will be automatically rebuilt and should reflect the changes you are looking for.
I'm trying to edit an XSD file in IntelliJ IDEA but it's extremely slow to the point that it freezes for a couple of seconds after typing a character. The file is about 500 lines long so size shouldn't be the issue.
What is causing this and how can I fix it?
Note: I'm using IntelliJ IDEA Community Edition 2016.1.
This is a known issue in IntelliJ: https://youtrack.jetbrains.com/issue/IDEA-24715
It occurs when editing an XSD/XML/properties file having the Structure View open. When editing the file, IntelliJ attempts to regenerate the structure on the fly, causing the freezes.
Solutions:
Update to the latest version of IntelliJ as the bug seems to be
fixed in newer versions.
Failing solution 1, closing the Structure View will fix the issue:
Locate the Structure tab on the left hand side. It should look like the below.
Right click it -> Remove from Sidebar
I've just upgraded IntelliJ IDEA (ultimate) to Version 14.1 and the font used in the Project View, Menus and Dialogs seems not to be rendering correctly. I exported the same settings from my 14.0.3 version just in case, although they seem identical, but it still remained the same. I didn't do any changes to the JDK or anything, and if I run the old version the font changes back to the nice and crisp one. I am using Ubuntu 14.04. This problem does not happen on Windows 7.
Under IntelliJ IDEA 14.0.3:
Under IntelliJ IDEA 14.1:
In the new one the font seems to be a bit larger (even though in both cases I they are set to Font Size 22, and I imported the settings from the previous IntelliJ IDEA installation). Notice how for example the 'g' is cut off underneath. There are also other problems where the text is misaligned on the buttons, or not fully visible in dialog boxes.
Usually this doesn't happen when I upgrade. Is there some way to make the font look like before? Did something changed in this latest version and I need to do some JVM switch in the startup script or something?
Update: 5/11/2015
Just updated to IntelliJ 15, and the problem is still there.
Attached new screenshot. Notice how the text is cut out at the bottom where there are letters like p and y, and the button text is offset.
Seconding an earlier response to this question, I have also have had great luck fixing font rendering issues on IntelliJ using tuxjdk. Tuxjdk is a JDK for the IDE, while any applications you're coding on runs in their own project configured JDK such as Oracle or OpenJDK. Here are the instructions:
The following fetches, unpacks, and moves the version you need to /usr/lib, then cleans up the archive. Modify /usr/lib to wherever you like to keep your JDKs.
wget http://urshulyak.com:85/jdk-8u5-tuxjdk-b08.tar.gz
tar -zxvf jdk-8u5-tuxjdk-b08.tar.gz
sudo mv jdk-8u5-tuxjdk-b08 /usr/lib
rm jdk-8u5-tuxjdk-b08.tar.gz
Open up idea.sh in your IntelliJ application folder /idea-IU-141.*/bin. Change the following line at the bottom of the script from
LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH" "$JDK/bin/java" \
to
LD_LIBRARY_PATH="$IDE_BIN_HOME:$LD_LIBRARY_PATH" "/usr/lib/jdk-8u5-tuxjdk-b08/bin/java" \
That's it. This made huge font improvements for me in Ubuntu 14.04.
UPDATE (by OP)
This solution is the best so far (until JetBrains decide to fix it properly).
I would just add the line: IDEA_JDK="/usr/lib/jdk-8u25-tuxjdk/" to the top of idea.sh, which the script checks before resorting to JDK_HOME etc. (so is probably the recommended way) rather than messing with the LD_LIBRARY_PATH.
In my case I got nicely rendered but huge fonts with this solution. In order to fix it I had to do an extra fix from Appearance & Behaviour -> Appearance
I chose the 'not recommended' option to Override default fonts by Arial size 12. This was the best effect I got so far.
I am using OSX. It may not help.
Double tap shift and search for 'Switch IDE boot JDK'. Try different JDKs if there are.
This might not be the answer you are looking for - but ever since I've started using tuxjdk, I haven't had problems any more with font rendering & intellij on ubuntu. Maybe give it a try?
If you're willing to use the IntelliJ 15 EAP, there is an option for antialiasing (default is checked for me) that appears to match how it was rendered in 14. The option is under Appearance & Behavior -> Appearance:
I have tried all of the command-line arguments to try to get this behavior in 14.1, but was unsuccessful.
I'm using Intellij CE 11.0.2 with Maven and IdeaVIM on Windows 7.
When I import a certain file into my java source file:
import org.apache.wicket.markup.html.form.FormComponentPanel;
The code highlighting analysis (which marks colored lines on the side of the editor and a little colored square at the top right of the editor) stays as an eye indicating that its still processing, it doesn't complete.
If I comment out that import then the code highlighting analysis completes (with errors), also the code highlighting analysis in other files in my project stops working (doesn't complete)
Is there anyway to fix this or at least localize it to the one file, any suggestions ideas welcome
In case of such weird problems the first thing you should try is File | Invalidate Caches.