Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Intellij shortcut keys
  • Search action/command : ctrl + shift + a
  • switch vim : alt + T => ctrl + alt + v
  • methods : ctrl+F12
  • goto line : ctrl + g
  • select and paste recent clipboard: ctrl+shift+v
  • back and forth curson ctrl + alt + <- or ->

Fresh set up

  • Add required imports : Setting (ctrl + alt + s) => General => Auto import => check: Add unambigous improt

Maven Spring-boot Debug

  • Edit run config -> add Remote -> give name & port=8000 -> apply
  • mvnDebug spring-boot:run
	<plugin>
		<groupId>org.springframework.boot</groupId>
		<artifactId>spring-boot-maven-plugin</artifactId>
		<configuration>
			<jvmArguments>
				-Xdebug -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8000
			</jvmArguments>
		</configuration>
	</plugin>

Refactoring - Remove try catch

ctrl + {
ctrl + shift + }
ctrl + x
Home
ctrl + {
ctrl + shift + }
del

ctrl + v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.