Skip to content

Instantly share code, notes, and snippets.

@wellingtonpgp
Created August 27, 2020 11:51
Show Gist options
  • Save wellingtonpgp/c4bb3a5c5221a06e0743f57b465779eb to your computer and use it in GitHub Desktop.
Save wellingtonpgp/c4bb3a5c5221a06e0743f57b465779eb to your computer and use it in GitHub Desktop.
Atalhos do IntelliJ
----------------------------------------------------------------------------------
templates:
----------------------------------------------------------------------------------
psvm - primeira letra - public static void main
sout - System.out.println
CONTROL + J - live template (usar "Save as live template" para criar novos)
----------------------------------------------------------------------------------
atalhos:
----------------------------------------------------------------------------------
keymaps - define atalhos
https://www.jetbrains.com/help/idea/migrating-from-eclipse-to-intellij-idea.html#Shortcuts
https://resources.jetbrains.com/storage/products/intellij-idea/docs/IntelliJIDEA_ReferenceCard.pdf
----------------------------------------------------------------------------------
busca
----------------------------------------------------------------------------------
CONTROL + N Buscar classe
SHIFT + SHIFT - busca qqer coisa
CONTROL + SHIFT + A - busca ação
----------------------------------------------------------------------------------
ajuste no código
----------------------------------------------------------------------------------
CONTROL + y - remove linhas
CONTROL + D - duplica linhas
CONTROL + Alt + M - extrair método
CONTROL + ALT + O - arruma os imports
F6 - mover para package
CONTROL + ALT + L - formata o código
----------------------------------------------------------------------------------
outros
----------------------------------------------------------------------------------
ALT + 1 - abre/fecha projeto
ALT + INSERT - criar alguma coisa
SHIFT + F10 - executar programa Java
ALT + Enter - sugestões, criar classe, etc
ALT + Shift + Insert - insert modo coluna
ALT - esq / ALT - dir - navegar entre as abas
rename - SHIFT - F6
CONTROL + H - hierarquia
CONTROL + H - estrutura do arquivo
Alt + Shift + 7 - encontrar usos
CONTROL + SHIFT + F12 - maximiza a tela
----------------------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment