I noticed that many of my files had their icons changed and IntelliJ's auto-formatting is broken for them. I don't know what I did before it happened because I didn't notice it right away.
The "File Types" config seems fine to me:
If I rename one the affected files, the icon changes back to the correct one but since I don't want to rename all of those files I wonder if someone here has an idea how to fix this in a better way.
I'm using IntelliJIdea 2020.1
Related
I am using the newest (updated) version of IntelliJ IDEA. I am coding in Javascript (React) and i've been using the One Dark theme for ages now.
But since the last update, everything is glitched.
So first problem:
The IDE is now allways starting in the white theme (which is related to the windows theme)
When i try to change the Theme, either nothing happens, or it just doesnt show any Themes, even tho i installed more than 14 (they are disabled tho).
Second problem:
I can not code in Javascript anymore. There is just no collor at all. No marking for functiond etc.
Third problem:
My IDE is crashing almost everytime, I try to open a new, or existing project.
Why is that, has someone simular issues, and what can i do, to prevent having to reinstall my IDE, as i do not want to set my IDE up again.
Thank you in regards
You will have to reinstall. But you can save the Config file.
So you can keep all your settings.
Here are the Paths for windows
Windows:
Configuration: %APPDATA%\JetBrains\IntelliJIdea2020.3
Plugins: %APPDATA%\JetBrains\IntelliJIdea2020.3\plugins
System: %LOCALAPPDATA%\JetBrains\IntelliJIdea2020.3
Logs: %LOCALAPPDATA%\JetBrains\IntelliJIdea2020.3\log
Hope this helped.
In my IntelliJ ultimate editions, shortcuts for comments do not work anymore on html files (and just on html files). It happened suddenly after a restart (I had maybe install a plugin, but I'm not sure).
I just updated to the last version (173.4548.28), but the problem persists.
In the settings I don't find anything defining in which types of file the shortcuts are available.
Where should I look to solve this problem?
I have a code in go, and I am using IntelliJIdea for development. It used to work fine, but since the time I have changed the folder where the code used to be, IntelliJ has been behaving in a weird manner. It shows me a lot of unable to find declaration to go to errors. After changing the folder where my project used to be, I changed the GOPATH and imported from the new directory once again.
I am attaching the screenshot as that will be better for understanding.
See the conductor.Start(). This function is right there in the package app. But it can't find this.
PS: I have tried importing the project from scratch and invalidating and restarting multiple times, but that didn't help.
I'm using Gogland, which is also a JetBrains IDE, but I also had a problem with symbols not getting resolved.
I fixed it by deleting the project's index file.
Close the IDE.
In your project directory, find a directory named ".idea".
Delete all files with the extension ".iml" in that directory.
Restart the IDE.
The project should get reindexed and symbols will be resolved.
https://www.jetbrains.org/intellij/sdk/docs/basics/project_structure.html?search=.iml
For my case, Intellij didn't have Rust installed. I found that out while trying to create a new project (it had JAVA and other language support). As soon as I installed Rust, it worked.
For my case, I have 2 virtual environments, and I found that I did not set the correct environment in Pycharm. The environment I used did not include these packages. After I changed the environment, everything goes well.
I want to share exported settings from webstorm to other IDEA-s for example pycharm etc... Is exported settings compatible with other IDEA-a, so that for example I import webstorm settings to pycharm and then modify some settings in pycharm and again import exported settings from pycharm to webstorm. Would this action be safe so nothing would be corrupted?
I do not think you would corrupt any settings. However, some settings may get dropped. For example, if there is a setting that is available in WebStorm, but not PyCharm, PyCharm may "drop" that setting. When you go to import back into WebStorm, that setting would be lost.
The reason I say that is that ultimately the settings export/import are copies of the XML configuration files in IDEA's config directory. (See Directories used by the IDE to store settings, caches, plugins and logs for information on its location. The path should be similar for WebStorm and PyCharm.) When PyCharm imports the settings, it is just replacing the various setting XML Files. But then when PyCharm runs, upon loading and re-saving the settings file, it may drop elements that are not applicable. (My suspicion, is that it would not, but you'd have to test to be sure.)
Another option from using the settings import/export would be to just do a diff between the two config directories using a good diff tool like Beyond Compare.
This is an unusual activity, so there's probably not many people that have actually done (or tried) this. As such, unless someone from the JetBrains development team comes on to definitively say one way or the other, I think your best bet is to just try and see. Of course, backup your settings before doing an import from the other tool :)
I am working on a large project using IntelliJ 14.1 latest.
Recently, whenever I stop editing for a minute or so, IntelliJ freezes for several minutes with the message "Executing pre-compile tasks...:" followed by the message "All files are up-to-date".
Any idea what is causing this behavior and what I can do to prevent it?
I faced this problem and it drove me nuts for about 3 days. The existing answers did not solve it. Neither did deleting preferences, caches, re-installing IntelliJ on my machine helped. I even tried to turn my Mac off and on again
Finally, what worked for me was to delete the .idea folder (which is usually located in the root of project)
Of course I feel stupid. Hope this helps someone else because this is one of the top hits for those keywords.
IntelliJ version : IDEA 2019.2.3 (Community Edition) on macOS 10.14.6
Your problem becasue 2 things:
- In source code have pre-compile script.
- IntelliJ IDEA build project automaticaly when IDE is idle.
Solution:
Choose menu File \ Settings... or press combine keys: Ctrl+Alt+S.
Choose Build, Execution, Deployment \ Compiler , uncheck item Make project autimatically (only work while not running / debugging)
or type in search box at top-left corner, search keyword something like the above.