IntelliJ Idea Run Option Missing - intellij-idea

My IntelliJ Idea was running totally fine until suddenly when I used the Run Command it was not compiling for long period of time , then on right clicking the option to Run which would usually come just dissapeared. Can anyone tell me why ?
Tried Closing and Opening the IDE , not working.
Deleted Cache from the memory no result.

Related

Debugging a .net core container from docker-compose in Rider is buggy

I have a solution which was written originally in VS and I'm trying to run and debug it using Rider. I'm using the original docker-compose. It mostly works smoothly, but for one thing, which is debugging.
Basically the debugging will start and run fine too, the breakpoints are being hit but some variables, when trying to see their value (no matter if by hovering, using immediate window or whatever) will instead show en error:
the name 'x' does not exist in the current context
Any ideas on what could possibly be the reason of such behaviour?
In case anyone stumbles upon this. The solution was to change the dotnet build command's configuration flag to Debug from Release in the Dockerfile.
I don't know how come it works in Visual without changing this flag, maybe there is some automatic override when setting solution run mode to debug or something. However, it seems in Rider it doesn't work automagically :)

Running tests suddenly started failing silently in a single Java project

I have a project that I've been working on for a few weeks with no problems. I've made no changes at all since it was working yesterday morning, but since yesterday afternoon running any test in just that project fails silently.
I see (or rather, don't see) the same thing regardless of how I run a test - Ctrl+Shift+F10, right-clicking in the code view or in the project view and choosing 'Run ...Test', or clicking the 'Play' button in the top-right corner on a previously-working test. Interestingly, in this last case, I only had one chance to do it - the 'Play' button is now greyed-out, even if I create a new run configuration. The same is true for running, debugging and 'run with coverage'.
When I run a test, I get no feedback whatsoever, the test doesn't run, nothing appears in the status bar or the idea.log file.
This is in a multi-module Maven project, and I see the same for all tests in all submodules of that project. I am running 2018.1.6 (Ultimate Edition) on Windows 7. I updated to 2018.1.6 a couple of days ago, but it's been working fine since then.
The tests in all my other projects work perfectly well.
I've restarted IntelliJ, invalidating the caches, I've re-imported the project, and even re-cloned it and created a new copy of it from scratch. I've restarted my machine.
A colleague had experienced the same problem in a different project (that project works fine for me) with 2018.1.5 a few days ago, and has resolved it by completely uninstalling IntelliJ and reinstalling 2018.1.4. I'd rather not resort to that if possible.

Strange symbols in IDEA terminal

When I run my application from IntelliJ IDEA's terminal firstly output is normal, but after some time of program execution it starts to look like this:
What my program could have done to achieve this result?
When I run it in system terminal everything is OK.
Got same results on Xubuntu and Mac machines.
There is an unresolved issue IDEA-129658 for this exact problem. You can register on YouTrack and upvote it to improve the chances of it getting fixed sooner.

IntelliJ "Executing pre-compile tasks...:"

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.

How to get back to the current running test on Intellij IDEA?

I run unit-tests from Intellij IDEA with "Track running test" option enabled and Filter turned off.
It works fine until I click on some already passed test, after that it stops tracking current running test.
Is there a way to get back to tracking?
Try switching Filter on and off. You should end up in currently running test. It works for me.