Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

HTML
<table width="100%" class="navigation">
<tr>
<td width="33%" align="left"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Facets">Previous</a></td>
<td width="33%" align="center"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/FAQ+on+Migrating+to+IntelliJ+IDEA">Top</a></td>
<td width="33%" align="right"><a href="http://confluence.jetbrains.com/display/IntelliJIDEA/Shared+Preferences">Next</a></td>
</tr>
</table>

...

Wiki Markup
{redirect:https://www.jetbrains.com/idea/help/eclipse.html

...

|delay

...

=0}

Does IntelliJ IDEA support Auto-Save of Files?

...

When you just need to quickly complete an obvious statement, you press

Ctrl + Space
span
classshortcut
Wiki Markup
{span:class=shortcut}Ctrl + Space{span}
and it's done. This is referred to as Basic Completion or Instant Completion. Basic completion comes handy also when you want to look at the full list of choices available in the current context or need to complete a keyword.

If you need more precision, but don't want to scroll through a possibly very long list of options, you then use

Ctrl + Shift + Space
span
classshortcut
Wiki Markup
{span:class=shortcut}Ctrl + Shift + Space{span}
to narrow the selection down by the expression type. This is referred to as Smart Completion and it basically filters the list for you so that you can get what you need more quickly. If you invoke Smart Completion a second time it will even show you the symbols that can be reached through a chained method call.

The third type of code completion is Class Names Completion and it is activated through

Ctrl + Alt + Space
span
classshortcut
Wiki Markup
{span:class=shortcut}Ctrl + Alt + Space{span}
It works by suggesting a class name from the letters you just type. It uses the typed letters as a substring to be contained in the class name or as initials of words that may form the actual class name. If the class requires an import statement, the right import statement is also added to the source file.

...

Of course! Code templates are predefined code snippets invoked by typing an associated abbreviation. For example, in IntelliJ IDEA by typgin fori and then hitting

Tab
span
classshortcut
Wiki Markup
{span:class=shortcut}Tab{span}
you expand the abbreviation to the following:

...

In IntelliJ IDEA, you configure code templates through the Settings dialog. You click

File →  Settings
span
classshortcut
Wiki Markup
{span:class=shortcut}File →&nbsp; Settings{span}
or press Ctrl + Alt + S
span
classshortcut
Wiki Markup
{span:class=shortcut}Ctrl + Alt + S{span}
to bring up the Settings dialog box and then select Live Templates from the IDE Settings block. Using the controls on the right you can add and remove code templates.

...

Note that you can also configure inspections on the fly when you get a notification of a code issue. A notification consists of a bulb icon displayed close to the code that didn't pass the inspection. You press

Alt + Enter
span
classshortcut
Wiki Markup
{span:class=shortcut}Alt + Enter{span}
to open the menu that lets you configure or suppress the inspection for the current file or even the entire project. IntelliJ IDEA comes with a long list of predefined inspections just out of the box. 

...