Relative Content

Tag Archive for intellij-idea

Include log4j2.xml in classes directory, IntellIJ

im currently trying to switch to IntelliJ but ive ran into a little problem:
My log4j2.xml is located in my src directory /src and has to be copied into the classes directory, sadly it has to stay that way. If i now try to run the app the log4j2.xml is not copied to out/production/classes directory like it should be. I already tried to configure the compiler Resource pattern but I cant get it work with that either. Is there any other way to get what i want?

Intellij gutter fixed width?

I’m using a multiple monitor setup (4k laptop size screens oriented vertically).
Two of these are placed side by side and I have the intellij editor positioned so that the project window sits on the left hand screen, and the code editor on the right (while all this remains a single window).

IntelliJ IDEA Find Usages not working on Groovy Enum values

I need to find all places in my code that uses a particular enum value, when I right click on the value and choose Find Usages, the find results only return the enum value itself, not any of the places it is actually used. This used to work months ago, but don’t understand why it doesn’t work now, It makes it really difficult to work. Even re-indexing the project did not help.