How to disable unused entry scan in Dockerfile - intellij-idea

Whole content of my Dockerfile is in grey because of unused entry scan in IntelliJ (2017.1.4). Is there a way to disable this only for Dockerfiles?

Weird. Docker plugin for IDEA does not have any unused search functionality. The problem should come from some other plugin, and I can't reproduce it with the plugins bundled by default.
Please temporarily disable Docker plugin and check whether the problem remains after restart (it probably remains).
Then please temporarily disable all other plugins and check whether the problem remains after restart (it should be gone).
If you are unable to determine the problem plugin, please do the following:
open a new youtrack (check this link if you are not familiar with YouTrack)
set its subsystem to "Docker", with the link to this post
attach 2 screenshots of the problem (when docker plugin is enabled and when it is disabled)
attach IDEA log after restart

Related

How to disable IntelliJ IDEA pulling repository automatically?

I'm working on multiple projects at the same time which are inter dependent. Sometimes, when one developer pushes updates to one project (for example Liquibase changes), they are picked up by my IntelliJ which immediately complains about missing columns when I restart the project. I did not explicitly issue any fetch/pull or update request against the remote repository. This is kind of annoying because I am then forced to pull all the new changes locally.
I remember my old IntelliJ version behaving normally (2019) so this is a new "feature" I guess? How can I disable it?
Could you please share screenshots of an issue? IDE doesn't run pull/fetch or upgrade automatically if you are using Git, but there is a chance that you may have Git Toolbox plugin installed and it has a feature for Auto-fetch and you need to disable it in settings

InteliJ idea, disable auto build for java, not HTML

https://stackoverflow.com/a/43234019/11369236
I did those and now, when I remove a line of Java code, it automatically restarts debug.
But I do not want this.
When I change HTML, I have to refresh browser also (it does not restart ide, no need of course but I do not want to refresh tab). It does not refresh automatically. But this is not a big problem.
It only should restart HTML (or I can manually restart it) but not for Java or backend files. I could not see such an option.
When I disable "build automatically" (I use the latest version), I have to restart ide to see HTML changes on the browser.
I can not find a way out.

Intellij 2018.2 stops working and exits on MacOs. What might be a problem?

As an daily IntelliJ user you usually concentrate on the projects you are working on and IntelliJ is just a tool. You are not willing to dig into tool's problem itself. But this is what is forced on you by default after IntelliJ installation on MacOS and opening relatively big project(most of the projects nowadays are huge and have thousands of files and use numbers of IntelliJ 3rd party plugins).
Here is a minimal list of actions. IntelliJ must have set MORE RAM to be used by default.
Read: https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files .
From IntelliJ open Help / Show log in Finder and open idea.log file with Console.app; In Console.app press "Reload" and "Now" buttons to track "live" what IntelliJ is doing.
If in logs of IntelliJ you find that some of the plugins exit with fatal error, you just uninstall those plugins. For me the one that failed to the moment of this answer was "BashSupport" as example.
Start Terminal.app ; Run command: open -a TextEdit /Applications/IntelliJ\ IDEA.app/Contents/bin/idea.vmoptions ; Change options in idea.vmoptions file to:
-Xms1024m
-Xmx2048m ; Read https://www.jetbrains.com/help/idea/tuning-the-ide.html to see how you can tune IntelliJ for your project. This step is handy when your IntelliJ app doesn't start at all and you want to change properties in a global way.
From IntelliJ open Help / Edit Custom Properties.... Here you can set same properties that will override global and will work only for current OS user.
Also there is also a possibility of underlying OS to do it voodoo magic so the IntelliJ won't work as it should like here - https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000398280-IDEA-Ultimate-2018-2-Unable-to-save-settings-Unable-to-create-file-Windows-10
Make sure your project build output for *.class files is set. Read: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000000584-Build-does-nothing . In my case when IntelliJ started project build it terminated without warnings shortly after.
Finally in my case none of 6 steps above solved the issue so I found this read: https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000532044-IntelliJ-cannot-build-projects . Basically try reinstall IntelliJ from original distribution again.
I know that you must read https://www.jetbrains.com/help/idea every time you install a new version of IntelliJ, but why not to add some consistency into configuration process of the main java process that runs IntelliJ itself? You can ask how much ram to use during installation of IntelliJ and explain why it is so. Then Help digging won't be necessary in the first place for devs who fed up with changing those default settings that will be always more than 700MB. I think for most devs out there it is at least 10x of that. I bet what makes most devs mad about this is not the fact that you need to do some options changing, but where those options are depending on OS plus the fact that you simply forget why IntelliJ app just exits while you are doing a debugging of your own app. I bet this problem makes us mad since first java based IDEs appeared. User-friendly is the key here and explicit reminders within the app itself would help.

Missing deployment from IntelliJ 12

Just updated to IntelliJ 12 from 11. I can't find
deployment feature anymore.
Previously it was in menu Tools > Deployment now its gone. I can't find it in plugin list as well. However according to the Web Help it should be there.
Any idea how to enable it?
EDIT:
I have ultimate edition.
Make sure that Remote Hosts Access plugin (that's the actual name for Deployment functionality) is installed and enabled (though it should be installed and enabled by default, as it is standard functionality .. unless you did some re-configuration at some point (e.g. during upgrading)).
You can also check idea.log (Help | Reveal log in ...) -- it will have a list of all loaded plugins so you can verify if it's loaded or not.

trac roadmap progress bar

I've recently migrated a trac project to a new machine and now the roadmap progress bars are not displayed. I've tried enabling and disabling RoadmapModule under the Admin -> General -> Plugins -> Trac 0.12.3 menu. I've also checked the project file trac.ini contains:
[milestone]
stats_provider = DefaultTicketGroupStatsProvider
Turns out it was missing plug-in causing compatibility issues.
sudo easy_install -U -Z http://trac-hacks.org/svn/typedticketworkflowplugin/0.11
Only progress bars? Than I guess it's an issue with CSS.
Double-check, that i.e. you have appropriate read permission and no interfering style.css in your <env>/htdocs directory.
Or you experience plugin issues, as later comments suggest. Disabling any plugin should bring you into a working state again. From there you can enable plugins step-by-step to find the interfering code, and maybe look for fixed/updated plugin code.