WebStorm: 2nd project window gets opened BEHIND 1st project window - intellij-idea

I often work with multiple projects open at a time. If I already have a project open and I go to open another existing project, the newly-opened project window will open behind the project window I was just working on. In other words, the new window does not become active. It's extremely annoying and has led to repo mistakes on multiple occasions.
Is this the normal/intended behavior and if so, can it be changed to force the newly-opened project to become the active window?
WebStorm 2017.2.4
Win7 x64

Opening other project in foreground is normal behavior.
More likely you have faced a bug. It's already reported on the JetBrains bugtracker and not fixed yet. Here its status, you can check there if somebody has found some workaround, vote up and subscribe for notifications.

Related

Intellij IDEA is not remembering the license/activation code or the opened projects after doing a restart

I have entered my Jetbrains license and already created a project three times now. I imported IDE settings which requires a restart and when the restart happens poof the license/activation key is gone as well as the project that had already been opened.
This is a strange behavior. I have installed and used the jetbrains products many dozens of times on different computers and had not seen this before. In fact DataSpell and Pycharm are working normally on this same computer.
I am on macOS Monterey 12.5.1
This problem has been identified as being due to using the "import Settings" feature. When I do that and restart Intellij then the activation code and in fact all past knowledge of my installation are gone. #CrazyCoder

How can I get IntelliJ's Find in Files to always open in "In Project" mode?

As a long-time Visual Studio user, I often use Find in Files to find things throughout the project.
In IntelliJ, this is causing me problems, because sometimes IntelliJ decides, for some reason, that what I want is "Directory" rather than "In Project". (I usually notice this after I'm baffled by the small number of matches.)
How can I get IntelliJ to exclusively open Find in Files in In Project mode, and never in one of the other settings?
There is no way to invoke Find in Files action with In Project scope instead of Directory permanently. Find in Files switches to Directory automatically if you are focusing in the Project tool window (View | Tool Windows | Project). Otherwise, it opens in the previous state.
You can see and follow IDEA-270151 to change the current behavior.

How can I stop my IAR ide from hanging when changing build configurations

I have come across this particular problem several times across several versions of the IAR embedded workbench (EW430 5.40.7 [EW 6.0], EW430 5.51.2 [EW 6.4], EW430 6.20.1 [EW 7.0]), but each time only after a long period of having no problems. The problem doesn't seem to have affected the other firmware developers in the office, so no help can be offered there. I'm currently on Windows 10, but the problems first occurred when I was on Windows 8.1 (same PC.)
The problem is that, for no obvious trigger, the IAR ide will start to hang until terminated (or it will just crash on one of the EW versions) on any attempt to change the active build configuration in MSP430 projects using the emulator.
From my testing, it appears to be directly related to something the IDE is doing with the emulator, as when the build configuration is changed, I can see the emulator menu in the menu bar disappear, then the hang happens. Under normal circumstances, the menu will disappear, but then reappear once the other debug configuration is completely loaded.
I have tried the default project "flashing the LED" to see if it was only my project - but if I select the msp430x4xx (C) - Debug, right click it and select "Set as Active" from the context menu, to make this the active project, the IDE also hung. I then reopened the EW IDE, and opened the LED flashing project again. The original 1xx asm project was the active project.
I then changed the settings of the 4xx (C) Debug project (without making it the active project) from the emulator to the simulator, and clicked OK. The program did NOT crash.
I then set the 4xx (C) Debug project as the active project and it did NOT crash. The simulator even runs without problems.
The version of the FET firmware didn't change from when the IDE worked correctly to when it didn't, and the FET is not even used at this point. It can be completely disconnected and the same results will occur.
I have tried the following, without success:
erasing the files in my project folder's settings subfolder
erasing the *.dep files in the project folder.
deleting the IarIdePm.ini file from AppData\Roaming\IAR Embedded Workbench
making sure none of the project files are read-only
reinstalling the program to the same location
removing and reinstalling the program to the same location.
What does solve the problem (until it reoccurs) is to reinstall the program, but to a different directory (for e.g., the default directory will be in program files (x86)\IAR Systems\Embedded Workbench x.x. Installing again into program files (x86)\IAR Systems\EWx (just so it is different) allowed that installation to work, but the old installation continued to fail.
Best advice so far (from our support person) has been to do the above, install to another directory and live with it, as it doesn't happen often.
Since it has happened to me on 3 occasions with 3 different versions of the program, I would like to know how to fix or prevent it! If anyone could offer anything to try (or even better, a straight solution :)) that would be greatly appreciated!
Cheers!
Since newer versions and updates on W10, it seems that old compatibilities are being removed from this OS. I have no direct solution for this problem since Microsoft does not promise support for old software and hardware. Even I tried to find a solution for that problem, and I found on the IAR website a list of IDE's and their compatible versions. (remember, old versions are not compatible)
( https://www.iar.com/knowledge/support/technical-notes/ide/windows-10-and-iar-embedded-workbench/ )
You will need to update your IDE and program version to a newer version if you plan to continue to use this IDE natively on Windows 10 or you may use Virtual machines with an old operational system (like Windows 7) to compile your program on old IDE.
P.S.1 I manually uninstalled KB4592449 recently updated and the program return to work natively. Probably it will continue working until this update (or other similar) being installed again on the computer, but probably there is any vulnerability that the computer will be exposed to, and in this case, I'm paying the price.
P.S.2 KB4580325 promotes the same behavior in IAR 5.11 on windows 10. Both KB's implement securities about the flash player - that I Don't use - then, I can securely uninstall it.
P.S.3 Since I updated my windows up to Windows 10 version 21H1 (compilation 19043.1165) AND I configured Windows defender to not be monitoring IAR IDE (IarIdePM.exe) disabling all protections available, everything works fine. But Remember: my program is original, not cracked or altered by anything, then I am secure to do what I did.
It is a 'natural' that software problem. Not found way of fixing it. The solution temporary is modify manually the file .eww for change of project active. The ultimate solution is to use another development environment.

Intellij IDEA 13 - Can't open Project Structure dialog anymore

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.

asset library (swc) does not reflect changes in flash project in fb

I have created gui related components in flash professional and exported the swc and added this swc into my referenced libraries (by adding link to the swc) and I can create/reference to the symbols in my flash builder project.
Every thing is fine untill I modify something(MC) and export the swc the changes won't reflect immediately. This is somewhat understood, so I just use to restart FB so that the changes are reflected. This was working find until yesterday.
After making changes to symbols, nothing will reflect the changes
I restart the FB (which use to work till yesterday)
Refresh project, referenced libraries
Clear browser cache
Clean the project
I left home with frustration and today morning when I restarted the system it got reflected the changes. And now I did changes to the gui again and its the same problem.
I know there is one easy way which is to remove and add the swc reference from the project
I am pretty sure there could be much easy simple way to do it.
The compiler cache can sometimes not pick changes in SWC libraries (old known issue).
Solution, when you think this problem happens, is to "clean" the project. Both FlashBuilder and FlashDevelop let you clean the project from the Project main menu.