Intellij IDEA - How to disable automatic plugin update - intellij-idea

Whenever you hit 'the check for update' button, IntelliJ checks for IDE update and starts by checking and updating all your active plugins.
The point is that I use a pretty crooked plugin which only works for me in an old version (a release from last year).
To be more specific, I'm talking about 'QA Plug PMD' which is not compatible with my imported sonar rules in its last version.
Actually, QA Plug PMD's last version is based on PMD 5.0.x and I need QA Plug PMD's 2012 version which is based on PMD 4.3.
In summary, when the QA Plug PMD plugin gets updated, my coding rules are all reseted because the plugin is not backwards-compatible.
That being said, I need to know if there's a way I can tell IntelliJ not to care about this specific plugin during its update process and leave it alone :)

Goto File -> Setting -> Appearance& Behaviour>System Setting->
Updates->Uncheck the Automatic uppadte checkbox.
Tada.. Done.
Danke,
Rahul

The best way would probably be to not install it from the plugin repository. Try to install it from disk instead. Download it from the link you provided instead (the zip file will be downloaded):
Then choose to Install plugin from disk... instead:
And then point to the pmd.zip file:
Edit
During the update you will get a question whether you want to update the plugins as well and you can always uncheck that plugin:
Edit2
Make sure that you don't have the Check for updates in channel checked. That might help you out:

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

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.

Start with MonetDB development

I want to integrate features into MonetDB, more specifically into the dictionary part of it. I found some information here, but this is not really elaborate.
The concrete feature I want to integrate is secondary in my question here. My biggest hurdle at the moment is: how do I start to develop MonetDB?
I was able to download the source and build it as described here. But where to go from there?
My preferred way would be: get MonetDB in some form of an IDE, set various breakpoints, send a SQL query and explore the code from there.
Is this possible? What development environment do you use? Is gdb debugging the only possibility? How do you debug?
Meanwhile, I figured it out myself. Maybe, somebody else will face this problem, wherefore I answer my own question. I finally ended up with Eclipse and describe a possible way to start MonetDB development/debugging:
Clone MonetDB repository from the official repository, e.g., from Github
Download the C++ version of a current Eclipse release
In Eclipse click on File > New > C/C++ > Makefile Project with Existing Code > Next. Insert the cloned repository dictionary as Existing Code Location and select the GNU Autotools Toolchain
Now you should be able to build MonetDB inside of Eclipse
After a successful build, you can choose Binaries from the Project Explorer. There you can right click the different binaries and use to run as or debug as
This finishes the setup of MonetDB inside Eclipse. Now, it depends on what you want to debug. If you want to change something at the server, you might want to debug monetdbd. My tips to do this are:
Start debugging of monetdbd per right click as explained before
Close the debug session and adjust the debug configuration
On the Arguments tab, insert the arguments: start -n <path to your dbfarm>. This will keep the database daemon from going into the background
On the Debugger tab, select Automatically debug forked process and optionally Non-stop mode
A new debug session will now automatically stop at the main of monetdbd and will also show the threads of the forked mserver5 process

get latest directory contents in IntelliJ

I just started using IntelliJ and I wanted to know what is the best way to replace your workspace directory contents with the latest ones from cvs. Whenever I run update it doesn't overwrite the changes I made but I am looking for an option where it will blindly overwrite.
You want to do a force checkout or force update, this isn't really an Intellij IDEA issue, as much as it is a CVS behavior regardless of IDE, or no IDE.
You can open the Changes view, revert all of your local changes from there, and then update from the version control.

Launching Roo Shell adds all aspect files to change sets

I am currently working on a Spring Roo application. Our Roo version is 1.0.2, our source control system is Jazz Team Server 1.0.0.2 (iFix3), and IDE is a packaged version of Eclipse (SpringSource Tool Suite 2.3.2).
I generally fire up the Roo Shell for my project as soon as the IDE opens. My problem is that this action always "dirties" all of my project's autogenerated aspect files and adds them to my pending changes list. A comparison of the files shows what looks like the addition of whitespace to the end of each line. I usually just undo these pending changes before I proceed with my work as I don't want change sets with hundreds of unchanged aspect files.
I have searched for an IDE setting to suppress these changes, but have not found anything that seems relevant. Has anyone else had this happen and found a way to fix it?
This sounds like a bug in Spring Roo. I'd suggest raising a jira for this here:
https://jira.springframework.org/browse/ROO