I have this commented out piece of code in intellij:
As you can see, there is no possibility to fold comments here. However, the same commented block in Webstorm can be collapse:
Is there any way to configure comments collapsing in intellij/Android Studio?
To fold an arbitrary selected block
Select contiguous fragment of code in the editor.
On the main menu, choose Code|Folding|Fold Selection/Remove Region, or press Ctrl+Period
Source: https://www.jetbrains.com/idea/help/folding-and-expanding-custom-blocks.html
EDIT:
It is a know bug, which can be found in JetBrains Bug Tracking System - IDEA-106702. It only affects block comments (/* comment */), all other comments are treated correctly.
General Editor folding settings
You can configure code folding in Settings (CTRL+ALT+S)
- Editor → General → Code Folding
Here you can toggle folding outline and also configure default folding behavior for various file sections such as comments, imports, xml tags and more.
In Android Studio 3.0
Firstly put cursor on a code block that you want to fold/collapse and Hit
Ctrl + NumPad-`
It took 4 years, but the team behind Intellij IDEA managed to solve this problem! This is the first version where the bug is solved:
IntelliJ IDEA 2019.1 (Community Edition)
Build #IC-191.6183.87, built on March 27, 2019
JRE: 1.8.0_202-release-1483-b39 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0
Related
I found, that Ctrl-Click (for example, on class usage) doesn't work on one of my installations of Idea. Simultaneously:
Context menu action like Go To -> Implementation(s) works
Control click in PyCharm works
Machine is remote desktop Windows Server 2016. Idea is 2021.2.
What can be done to fix?
Had a similar issue due to Rider importing settings from Visual Studio on the first run. Resolved it by changing the Keymap (Rider->Preferences->Keymap->Keymap drop down) back to the default one (IntelliJ).
In our case it was really an old SonarLint plugin. Check in Settings / Plugins. After the update the problem was solved.
I was having the same problem and going to File -> Reapair IDE... fixed it for me.
I'm using Eclipse EE 4.16 (2020-06) - on Windows 10 Professional x64 - and I've tried to install the JBoss Tools 4.16.0 Final Plugin for it.
It literally break the IDE, whatever I try to do the IDE freezes: If I copy -> paste some code the IDE freezes for about 10 seconds (the screen become gray and Eclipse not responding).. the same thing happens if I try to navigate through classes or method (even worst..).
I tries even with Eclipse EE 4.15 (2020-03) but I obtain the same result.
Googling around I have found hypothetical solutions regarding eclipse.ini file changes but nothing works.
I attach a thread dump here.
Can you help me?
can you please also try https://tools.jboss.org/downloads/jbosstools/2020-09/4.17.0.Final.html? Its based on Eclipse 2020-09, so it could help.
Which JDK version are you using?
Thanks for response!
Josef
FYI: you can also report issues related Jboss Tools in JIRA: https://issues.redhat.com/browse/JBIDE
I installed the basic SE version of Netbeans 8.2 with the understanding that I could always manually add plugins as needed to cover any gaps between SE and the other versions.
Any idea which plugin I might add to get basic HTML/JSP syntax highlighting? Not looking for any fancy WYSIWYG stuff, just plain code highlighting.
I wasn't keen to install the full-blown EE edition since I don't need Glassfish, Tomcat, EJB, etc.
Go to Tools -> options -> Fonts & Colors -> Syntax choose language (in this case JSP) then choose category and set color what you want Options
I have just upgraded my Intellij IDEA (Java IDE) from idea-IU-162.2228.15 to idea-IU-171.3780.107 (folder names of the downloads) as suggested by the update manager. Now I am wondering, that the UI is ugly in my opinion. I like the UI of the idea-IU-162.2228.15 much more.
The UI from idea-IU-162.2228.15:
The "ugly" (my opinion ;) UI from idea-IU-171.3780.107:
Is this a new UI or a error in my system? I am using Ubuntu 16.04. If it is an error, how can I fix it and if not, how can I get the old UI back?
Edit:
Ok, tank to Rumid. I have fixed the icons problem. But the fonts aren't as in the old IDE:
Fonts in the 2016 Version:
Fonts in the 2017 Version:
I honestly don't know if I haved this in the old (2016) by myself. I checked the settings in both IDEs but I could not see any difference in the settings. How can I get the fonts of my 2016 Idea?
It is not a bug, the new icons were provided in Idea 2016.3.
If you don't like it you can install this plugin: Idea 2016.2 Icon Pack.
as already described in title, i'm not able to open the project structure dialog window in intellij anymore.
neither the shortcut (Ctrl+alt+shift+s) nor the menu element under File -> Project Structure nor the little button in the upper right corner do work.
Clarification: Menu element :
This "bug" occured suddenly as I wrote a web (vaadin/maven) project and tried to set up glassfish, where i often had to switch to the project structure dialog.
Since the first occurence i wasn't able to fix it by restarting intellij or switching projects.
This also happened on my laptop running the same intellij and windows version (Ultimate 13.0.1 Build: 133.331 on Windows 7 x64)
i appreciate any help!
This also happened to me, but removing new plugins etc didn't help.
Nor did nuking my project and rebuilding it from scratch.
In the end I deleted all caches, restarted Intellij and at last I could access the project settings again! By the way, I'm using Intellij 11.1 - mainly because I can't get 13 to start up, but that's another story
Your log shows that it is a bug in IntelliJ IDEA - they are trying to create file passing null pathname. Try to delete project files and reopen project from scratch (maybe you've lost some file) - if it won't help then you should create an issue here: http://youtrack.jetbrains.com/ - You can even copy-paste text from your question and attach stacktrace
I had the same issue...upon further inspection in the log dump...I noticed the following:
ERROR - llij.ide.plugins.PluginManager - com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
java.lang.NoSuchMethodError: com.intellij.openapi.fileChooser.FileChooserDescriptor.setTitle(Ljava/lang/String;)V
at com.jetbrains.python.sdk.PythonSdkType.getHomeChooserDescriptor(PythonSdkType.java:247)
Disabled the latest Python Plugin and restarted and everything is working normal again.
I remembered I had recently update my python plugin and am not using it presently so I was able to disable it without issue.
Hope this helps someone else.
This also happened to me. The comment above helped. I had just added some plugins. Disabled them and it started working again. Not sure exactly which one because I disabled all 4 -- Bean Validation Support, Bitbucket, Jelastic Cloud Platform Integration, and Quick Notes.
For me it has been resolved by switching off FindBugs plugin and restart IDEA. So Project Structure is available for me now.
One of the plugins might be causing it. To disable a plugin, go here:
You'll know for sure if a plugin is bad if you see this Exclamation picture:
Clicking on it will bring up a pop-up. To disable the plugin, click on this:
For me it got resolved just by restarting the intelliJ IDEA. I'm using intelliJ IDEA Ultimate 2018.1 edition.