Giter Club home page Giter Club logo

productivitywithshortcuts's Introduction

ProductivityWithShortcuts

Code with exercises to learn shortcuts and their associated thinking patterns

What you'll learn

  • Increase your productivity by using shortcuts. We'll use IntelliJ on windows as an example.
  • Think along with your pair, who's already proficient in using shortcuts.
  • In what situations/patterns shortcuts are helpful.
  • Some patterns for multi-cursor usage.

How you'll learn

By doing! The only way to get shortcuts in your fingers is by using them. All. The. Time.

This repo provides a structured aproach to learn with exercises that will help you move forward.

How to use this repository

git clone this repository

The titles in the outline below are links to the different chapters.

Each chapter contains a thorough explanation and exercises.

Eventhough the progression in these chapters might seem to be naturally increasing in difficulty, you don't need to think of them as thresholds. The only reason there are chapters is to help your brain make paths even better by trying to categorize certain types of shortcuts so you'll think of them sooner in real life.

Good Luck, Have Fun!

If you like these exercises, share 'em with your friends and colleagues, fork or watch it.

GLHF!

  • Windowsctrl+c, ctrl+v
  • Keep your hands on your keyboard
  • How to look up any actions' shortcut Windowsctrl+shift+a, double shift
  • IntelliJ's Productivity Guide
  • Undo, Redo with Windowsctrl+z and Windowsctrl+shift+z
  • Indenting, formatting with tab, shift+tab and Windowsctrl+alt+l
  • Word-skipping Windowsctrl+arrows
  • Begin/End of Line Windowshome, end
  • Begin/End of File Windowsctrl+home, ctrl+end
  • CamelHumps (+ how to toggle)
  • Jumping methods Windowsalt+up,down
  • Jump to error WindowsF2
  • Jump to last edit position Windowsctrl+shift+backspace
  • Jump into/Drill Down/Show Usage Windowsctrl(+alt)+b
  • History and its importance Windowsctrl+alt+left,right
  • Show in Project Windowsalt+F1
  • Jump to line Windowsctrl+g (example with paste from stacktrace)
  • Navigate to method Windowsctrl+F12 (example with paste from stacktrace and quick check equals impl)
  • Windowsalt+F7 vs. Windowsctrl+alt+h
  • Move + Select Windowsctrl+shift+arrows
  • Expand Selection Windowsctrl+w
  • Using Selection to help Navigation (e.g. Fluent API)
  • Wrapping (IntelliJ feature)
  • Yank Windowsctrl+y
  • Duplicate line Windowsctrl+d
  • Moving lines with and without constraints Windowsctrl+shift+up,down vs. Windowsalt+shift+up,down
  • Start new line Windowsctrl+enter
  • Join lines Windowsctrl+shift+j
  • Opening/Closing (Toggling) Windowsalt+number Windowsctrl+F4
  • Switching tabs Windowsalt+left,right
  • Why resizing is for dummies Windowsctrl+shift+F12
  • Navigation from Embedded Windows Windowsctrl+enter vs. F4
  • IntelliJ's Auto-correct Windowsctrl+shift+enter
  • Autocomplete Windowsctrl+space vs. Windowsctrl+shift+space
  • QuickFix (:bulb:) Windowsalt+enter
  • Creating stuff Windowsalt+ins
  • Deleting stuff Windowsalt+del
  • View JavaDoc Windowsctrl+q
  • View parameters Windowsctrl+p
  • Find word and add to buffer Windowsctrl+F3
  • Find next occurrence from buffer WindowsF3
  • Toggle Column Mode Windowsalt+shift+ins
  • Windowsalt+j, Windowsalt+shift+j and Windowsctrl+alt+shift+j

We'll see a lot of different cases, such as but not limited to:

  • TestBuilders
  • Testing Enum lists
  • Making a csv list from XML

We'll make a full exercise where you'll:

  1. Create a new class that resides in a new package and has to interact with another existing class
  2. Create a new test for that class
  3. Create a new TestBuilder for the existing class
  4. Perform a red, green, refactor
  5. (Optional) commit and push

License

The example code is published under the MIT License.

The mac and windows logo icons used are under the Creative Common License (Attr. 3 Unported), and are completely attributed to the artist Bogdan Rosu.

productivitywithshortcuts's People

Contributors

sch3lp avatar ventouristeam avatar lennehendrickx avatar

Watchers

James Cloos avatar Francesco Ventura avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.