Questions tagged [intellij-idea]

IntelliJ IDEA is an IDE by JetBrains. It primarily supports Java development, but also supports JavaScript, Groovy, HTML, CSS, RSS, R, Haskell, PHP, Ruby, Python, Scala, Swift, Clojure, Kotlin, Hybris, Gradle and others. Questions specifically concerning usage and problems in both Community and Ultimate Editions should use this tag. However, if you have a problem with something else and just happen to be using IntelliJ, please don't use this tag.

IntelliJ IDEA is an IDE by JetBrains. It is often simply referred to as "IDEA" or "IntelliJ". First released in 2001, it is mostly focused on boosting the developer's productivity, providing a wide set of automated refactorings to ease evolutions of the codebase.

Its rich plugin development API can be used to add almost any type of functionality, including support of new languages and frameworks, and has been used to provide VCS integration (Git, CVS), build management (Maven, Gradle, Ant), database tools and support for Spring and JEE application servers.

The Ultimate (commercial) version of the tool offers support for enterprise-class development, while the open-source (free) version is often used for Android, Groovy, Scala, and web development. A 30-day, fully functional trial of the Ultimate Edition for various platforms can be downloaded for free.

Questions about how to use IntelliJ and problems you may be experiencing with it are all welcome. However, if you're using IntelliJ but your problem seems to be with something else then you probably don't need to use this tag.

Useful links

Related tags

Old version tags

The list of version specific old tags. Most of 'em seem to be obsolete and could be rolled into the current one or removed.

42912 questions
25
votes
3 answers

Eclipse: Instant autocompletion

I am not entirely comfortable with way how Eclipse autocompletes code. I like the way how IntelliJ prompts suggestions (some say it's rather aggresive, but I like it that way). So I went to: Window -> Preferences -> Java -> Editor -> Content Assist…
Xorty
  • 18,367
  • 27
  • 104
  • 155
25
votes
5 answers

IntelliJ suggests replacing the while loop with a for each loop. Why?

ArrayList list = new ArrayList(); list.add(12); list.add("Hello"); list.add(true); list.add('c'); Iterator iterator = list.iterator(); while(iterator.hasNext()) { …
InvalidBrainException
  • 2,312
  • 8
  • 32
  • 41
25
votes
4 answers

IntelliJ vs STS (SpringSource Tool Suite), what am I missing by using one or the other and can I make them feature equivalent for comparsion?

I've been using STS (just started to use and learn it slowly) but some users here where I work use IntelliJ. I was wondering what exactly STS comes with that can make it better/easier to use vs. IntelliJ and vice versa. Also I was wondering if there…
user611105
25
votes
1 answer

IntelliJ: How to disable 'auto fetch'?

Although I never set 'auto fetch', My IntelliJ IDE is automatically do fetch. Here is my Event log. I want to make this function disabled. How to stop it?
loveloper.dev
  • 299
  • 1
  • 4
  • 9
25
votes
2 answers

Import an IntelliJ IDEA project into NetBeans?

How can I import an IntelliJ IDEA project into Netbeans? I know I can just use IntelliJ but I prefer Netbeans... With this particular project I can't just copy the source directory into a Netbeans project... That doesn't work? How may I use this…
José
  • 1,525
  • 3
  • 14
  • 12
25
votes
10 answers

Failed to delete some children. This might happen because a process has files open or has its working directory set in the target directory

For some unknown reason, whenever I run gradle clean build after I start my notebook it works as expected. When I try for the second time, I always get Unable to delete directory 'C:\_d\mycompany\WSs\demo\build' Failed to delete some children.…
Jim C
  • 3,957
  • 25
  • 85
  • 162
25
votes
3 answers

Can Intellij be used with a Visual-Studio-Code style docker devcontainer?

I've been using devcontainers in Node development in VSC and enjoy the idea that I can commit a shared configuration to ensure everyone on the team has the same runtime/buildtime. I've been looking for a similar way to configure IntelliJ, but am…
Eric B.
  • 23,425
  • 50
  • 169
  • 316
25
votes
2 answers

Is it safe to delete previous versions of IntelliJ?

I am facing an issue of recovering free disk space in my main partition. I found these files in my Users folder. These folders named as previous versions of IntelliJ allocate 1.5GB in my disk space. Is it safe to delete these files?
Sahan Amarsha
  • 2,176
  • 2
  • 14
  • 23
25
votes
1 answer

Not annotated parameter overrides @??? parameter

While overriding code: @Override public void open(ExecutionContext executionContext) { super.open(executionContext); from: org.springframework.batch.item.support.AbstractItemCountingItemStreamItemReader I received an IntelliJ…
DerBenniAusA
  • 727
  • 1
  • 7
  • 13
25
votes
2 answers

Is it possible to adopt IntelliJ IDEA Community Edition for web-development?

Currently I'm using IntelliJ IDEA for non-web projects, but I'd love to use it for web development. Unfortunately IntelliJ IDEA Ultimate Edition's price (220 Euro) is to high for me currently and that's why I'm forced to use STS(Springsource Tool…
hades
  • 1,077
  • 3
  • 11
  • 19
25
votes
2 answers

Which browsers don't support empty tags?

The intellij linter throws an Empty Tag-warning: Reports empty tags (like script ) that do not work in some browsers.The validation works in html or jsp file types. Which browsers are affected by the problem? How important is it to clear that…
Christian
  • 25,249
  • 40
  • 134
  • 225
25
votes
3 answers

How to use Scratch Files in Android Studio?

Recently I came across a cool feature in Android Studio called scratch files. Just wanted to share it in Q and A Style. What are scratch files and how to use them?
Mayank Kumar Chaudhari
  • 16,027
  • 10
  • 55
  • 122
25
votes
3 answers

Intellij IDEA find matching markup tag

Is there a shortcut or where I can click to find the matching tag of a markup tag and bring the focus/cursor there? For example,

If my cursor is on the closing

tag, I would like to IDEA to bring me to the…
Glide
  • 20,235
  • 26
  • 86
  • 135
25
votes
5 answers

Intellij IDEA: how to changing blinking cursor to non-blinking?

I have vim emulator turned on, which is the desired behavior; turning it off only changes the blinking, block cursor into a blinking, non-block cursor.
Covi
  • 1,331
  • 1
  • 14
  • 17
25
votes
3 answers

How to configure ESLint auto fix on save in WebStorm/PHPStorm?

I am trying to create a custom file watcher in WebStorm that will auto fix ESLint errors on save. In Settings > Tools > File Watchers I created a new file watcher with the following settings: File type: Any Scope: All places Program:…
jstice4all
  • 1,878
  • 4
  • 22
  • 33
1 2 3
99
100