Shortcut: Ctrl + Space
This feature is often used without explicitly invoking its keyboard shortcut. As code is written, context-aware completion suggestions pop up.
Shortcut: Shift + Shift
A great way to open up any file or symbol in your project. It presents a prompt that uses fuzzy logic to best guess what you mean with minimal input.
Shortcut: Ctrl + Tab
Go To Definition
- Shortcut (Linux): Ctrl + B or Ctrl + left click
- Shortcut (macOS): ⌘ + B or ⌘ + left click
If the cursor is on a function, it will jump to the definition. If the cursor is on a variable, it will jump to the declaration. If the cursor is on an #include file path, it will open the file.
Shortcut: Alt + Enter
Change SDK and Language level (Java version)
File->Project Structure-> Project
Project SDK and
Project Language level
Set Working directory
In a multi-module project, the structure might be
project/ moduleA/ pom.xml moduleB/ src/test/java/test.java pom.xml pom.xml
working directory is set to
project root folder. To run
test.java relative to
moduleB folder, open configurations:
Working directory to
Convert to maven project
Right-click on the module, select
Add framework support..., and check the
Shift + Cmd + 8 to change to Column mode(there's a "Column" in the lower right corner), hold
Shift and move up or down to create multiple cursors, then make the changes.
Shortcut for Insert Mode
Preferences -> Keycap -> Editor Actions -> Toggle Insert/Overwrite, add your own shortcut e.g.
.lessfiles. Then suddenly, suddenly I realized,
lessin command line, has nothing to do with CSS… it is just a file viewer like
more… that explains why the “compiled” css file looks exactly the same as its origin less file.
env: node: No such file or directory
The solution is add
Environment variables in FileWatcher
Extra note about the FileWatcher: in command line we use
lessc style.less > style.css to write to file. In FileWatcher, set only
style.less in Arguments , and leave
Output paths to refresh
PyCharm is a strict functional subset of IntelliJ UE + the Python plugin. Similarly, GoLand provides no additional functionality over IntelliJ UE + the Go plugin.