0% found this document useful (0 votes)
59 views

Default Windows & Linux Keymap: Refactoring Running Editing

This document provides a keymap summary for common editing, refactoring, navigation, debugging, and other commands for Windows, Linux, and macOS in IntelliJ IDEA. It lists keyboard shortcuts for code completion, running and debugging code, navigating the editor, commenting code, and using code snippets and templates. The shortcuts are organized by category and include actions for code generation, search/replace, version control, and more.

Uploaded by

Steffi Zmajsek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Default Windows & Linux Keymap: Refactoring Running Editing

This document provides a keymap summary for common editing, refactoring, navigation, debugging, and other commands for Windows, Linux, and macOS in IntelliJ IDEA. It lists keyboard shortcuts for code completion, running and debugging code, navigating the editor, commenting code, and using code snippets and templates. The shortcuts are organized by category and include actions for code generation, search/replace, version control, and more.

Uploaded by

Steffi Zmajsek
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

DEFAULT WINDOWS & LINUX KEYMAP

Editing

Running

Refactoring

Ctrl + Space

Basic code completion

Shift + F10 Run

F5/F6 Copy/Move

Alt + Enter

Show intention actions and quick-fixes

Shift + F9 Debug

Alt + Delete

Ctrl + P

Parameter info (within method call

Ctrl + Shift + F10

Run context configuration from editor

Shift + F6 Rename

arguments)

Ctrl + Shift + X

Run command line

Ctrl + Alt + N

Inline Variable

Ctrl + Q

Quick documentation lookup

Ctrl + Alt + M/V/F/C

Extract Method/Variable/Field/Constant

Ctrl + Alt + Shift + T

Refactor This (shows all available refactorings)

Safe Delete

Ctrl + mouse over code Brief Info

Search/Replace

Alt + Insert

Generate code... (Getters, Setters,

Ctrl + F/R Find/Replace

Constructors)

F3/Shift + F3

Find next/previous

VCS/Local History

Ctrl + O

Override methods

Ctrl + Shift + F/R

Find/Replace in path

Alt + BackQuote (`)

VCS quick popup

Ctrl + I

Implement methods

Ctrl + K

Commit project to VCS

Ctrl + Alt + T

Surround with... (if..else, try..catch, for, etc.)

Usage Search

Ctrl + T

Update project from VCS

Ctrl + /

Comment/uncomment with line comment

Alt + F7 / Ctrl + F7

Find usages / Find usages in file

Alt + Shift + C

View recent changes

Ctrl + Shift + /

Comment/uncomment with block comment

Ctrl + Shift + F7

Highlight usages in file

Ctrl + W

Select successively increasing code blocks

Ctrl + Alt + F7

Show usages

Ctrl + Shift + W

Decrease current selection to previous state

Ctrl + Alt + L

Reformat code

Navigation

Ctrl + Alt + I

Auto-indent line(s)

Ctrl + N

Ctrl + D

Duplicate current line or selected block

Ctrl + Y

General
Double Shift

Search everywhere

Ctrl + Shift + A

Find Action

Go to class

Alt + #[0-9]

Open corresponding tool window

Ctrl + Shift + N

Go to file

Ctrl + Alt + F11

Toggle full screen mode

Delete line at caret

Ctrl + Alt + Shift + N

Go to symbol

Ctrl + Shift + F12

Toggle maximizing editor

Ctrl + Shift + J

Smart line join (HTML and JavaScript only)

Ctrl + G

Go to line

Alt + Shift + F

Add to Favorites

Ctrl + Enter

Smart line split (HTML and JavaScript only)

Alt + Right/Left

Go to next/previous editor tab

Alt + Shift + I

Inspect current file with current profile

Shift + Enter

Start new line

Esc

Go to editor (from tool window)

Ctrl + Alt + S

Open Settings dialog

Ctrl + Shift + U

Toggle case for word at caret

Ctrl + E

Recent files popup

Ctrl + Tab

Switch between tabs and tool window

or selected block

Ctrl + Alt + Left/Right

Navigate back/forward

Ctrl + Shift + ] / [

Select till code block end/start

Ctrl + Shift + Backspace Navigate to last edit location

Live Templates / Snippets

Ctrl + Delete

Delete to word end

Alt + F1

Select current file or symbol in any view

Ctrl + J

Ctrl + Backspace

Delete to word start

Ctrl + B or Ctrl + Click

Go to declaration

eco

echo statement

Ctrl + NumPad+/-

Expand/collapse code block

Ctrl + Alt + B

Go to implementation(s)

fore

foreach(iterable_expr as $value) {}

Ctrl + F4

Close active editor tab

Ctrl + Shift + I

Open quick definition lookup

forek

foreach(iterable_expr as $key => $value) {}

Ctrl+Shift+V

Paste from history

Ctrl + Shift + B

Go to type declaration

inc/inco

include/include_once statement

Ctrl + U

Go to super-method/super-class

prif

private function

Alt + Up/Down

Go to previous/next method

prof

protected function

Debugging

Insert Live Template

F8

Step over

Ctrl + ] / [

Move to code block end/start

pubf

public function

F7

Step into

F2 / Shift + F2

Next/previous highlighted error

rqr/rqro

require/require_once statement

Shift + F8

Step out

F4 / Ctrl + Enter

Edit source / View source

and more...

Alt + F8

Evaluate expression

F9

Resume program

Ctrl + F8

Toggle breakpoint

Ctrl+Shift+F8

View breakpoints

To find any action inside the IDE use

Find Action ( Ctrl + Shift + A )

jetbrains.com/phpstorm

blog.jetbrains.com/phpstorm

@phpstorm

DEFAULT OS X KEYMAP

Editing

Running

Space

P

Refactoring

Basic code completion

F10 Run

Show intention actions and quick-fixes

F9 Debug
R,

Parameter info (within method call

Run context configuration from editor

arguments)

F5/F6 Copy/Move
Delete

Run command line

J or Mid. button click Quick documentation lookup


+ mouse over code

Brief Info

N,

Generate code... (Getters, Setters,

, N

Search/Replace

Override methods

Implement methods
T

Surround with... (if..else, try..catch, for, etc.)

G,

Decrease current selection to previous state


L

Reformat code

Auto-indent line(s)

Find next/previous
Find/Replace in path

F7 /

F7

F7

Show usages

Go to class

Search everywhere

Find Action

0 ...

Open corresponding tool window


Toggle full screen mode

Delete line at caret

Go to symbol

F12

Toggle maximizing editor

Go to line

Add to Favorites

Go to next/previous editor tab

Inspect current file with current profile

+ G
/

Toggle case for word at caret or selected

Recent files popup


,

block
Select till code block end/start
Delete to word end

F1

Delete to word start

B or

Close active editor tab

Select current file or symbol in any view


Click

Space,

Open Settings dialog


Switch between tabs and tool window

Live Templates / Snippets


J

Insert Live Template

Go to declaration

eco

echo statement

Go to implementation(s)

fore

foreach(iterable_expr as $value) {}

Open quick definition lookup

forek

foreach(iterable_expr as $key => $value) {}

Go to type declaration

inc/inco

include/include_once statement

Go to super-method/super-class

prif

private function

Go to previous/next method

prof

protected function

],

Move to code block end/start

pubf

public function

F2

Next/previous highlighted error

rqr/rqro

require/require_once statement

Edit source / View source

and more...

Debugging

Navigate back/forward
Navigate to last edit location

Expand/collapse code block


Paste from history

F8

Step over

F7

Step into

F2 ,

F8

Step out

F4 /

F8

Evaluate expression

F8

View recent changes

General

Navigation

Go to editor (from tool window)

F9

Update project from VCS


C

Highlight usages in file

F7

F8

Commit project to VCS

Find usages / Find usages in file

Start new line

VCS quick popup

K
T

F11

Smart line split (HTML and JavaScript only)

VCS/Local History

Go to file

Smart line join (HTML and JavaScript only)

+,

Refactor This (shows all available refactorings)

Extract Method/Variable/Field/Constant

Duplicate current line or selected block

],

Inline Variable

M/V/F/C
T

Usage Search

Comment/uncomment with block comment


Select successively increasing code blocks

F/R

Comment/uncomment with line comment

F/R Find/Replace

Constructors)
O

Safe Delete

F6 Rename

Resume program
Toggle breakpoint
View breakpoints

To find any action inside the IDE use

Find Action (

A)

jetbrains.com/phpstorm

blog.jetbrains.com/phpstorm

@phpstorm

You might also like