Skip to content

Latest commit

 

History

10 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Contents

IntelliJ short-cut keys

Essential IntelliJ Shortcut keys for Windows:

  • Run app and test

    • CTRL+SHIFT+F10 (run the app/test)
    • SHIFT+F5 (rerun the app/test)
    • SHIFT+F10 (rebuild/rerun)
  • Editing

    • CTRL+B (go to the source code of a class or method)
    • ALT+Enter (quick fix for compiler error)
    • CTRL+SHIFT+Enter (complete current statement)
    • Alt+Ins (generate)
    • Shift+F6 (rename all instances of a variable)
    • CTRL+ALT+V (extract return value into a local variable)
    • F2, SHIFT+F2 (go to next/previous compile error)
    • Alt+Left (navigate back between classes)
    • Alt+Right (navigate forward between classes)
  • Window management

    • CTRL+SHIFT+F12 (maximize/minimize editor window)
    • CTRL+SHIFT+F12 (maximize/minimize tool window)
    • Alt+F12 (open/close terminal window)
  • Testing

    • CTRL+SHIFT+T (go to target/test code)
  • File search

    • CTRL+N (find class)
    • CTRL+SHIFT+F (find file)
    • Double SHIFT (global search)

Essential IntelliJ Shortcut keys for Mac:

  • Run app and test

    • CTRL+SHIFT+R (run the app/test)
    • CTRL+R(rerun the app/test)
  • Editing

    • CMD+B (go to the source code of a class or method)
    • ALT+Return (Quick fix for compiler error)
    • CMD+SHIFT+Return (Complete current statement)
    • CMD+N (Generate)
    • SHIFT+F6 (Rename)
    • CMD+ALT+V (extract return value into a local variable)
    • F2, SHIFT+F2 (Go to next/previous compile error)
    • CMD+Left (navigate back)
    • CMD+Right (navigate forward)
  • Window management

    • CMD+SHIFT+F12 (maximize/minimize editor window)
    • CMD+SHIFT+' (Maximize/minimize tool window)
  • Testing

    • CMD+SHIFT+T (go to target/test code)
  • File search

    • CMD+O (find class)
    • CMD+SHIF+O (find file)
  • String search

    • CMD+F (search within a file)
    • CMD+SHIFT+F (search within the project)
    • Double SHIFT (global search)

Creating runnable jar

pom.xml

  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
              <mainClass>fully.qualified.MainClass</mainClass>
            </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>

Creating MySQL command line

How to start "MySQL command line" with the VM

You are welcome to use MySQL Workbench instead of "MySQL command line"

  • MySQL command line
  • Once you opened it, enter 'c0nygre' as password
  • Then you can execute any MySQL statements such as
    • show databases;
    • use <database-name-of-your-choice>;
    • show tables;
    • select * from <table-name>;

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors