Work Smarter

Will you not like to go home early

  • to watch that one extra GOT episode ?
  • to spent time with your family ?

    Where do we spend most of our time ?

    Developer Productivity Recipe

    1. Know the tools
    2. Know and use the system features
    3. Reuse : Let other people do the work
      - Build Adapters
    4. Build simple usable system in stages
      - Divide. Choose. Develop.
    5. Build modules which can be reused

    Tools : IDE

    • Hours spent on noisy internet
    • Browsing code
    • Retrieving lost code
    • Dealing with syntactic dragons
    • Formatting code

    Searching Syntax

    • Auto Code Snippet Search
      • Add a comment
      • Search solutions
      • Select the solution
      • Ctrl + Shift + s
    • Plugin : vscode-snippet

    Browsing Code

    • Last edit location across project
      • Ctrl + k + q
    • Select block
      • Shift + Alt + right-arrow or left-arrow
    • Copying block of code  
      • Shift + Alt + Up or Down arrow key
    • Goto method definition
      • Ctrl + F12

    Browsing Tasks

    • TODO
    • REVIEW
    • FIXME
      • Plugin :Todo Tree

    Repeated Code

    • Emmet
    • Programming Language Snippets
      • React Native Snippet
      • Salesforce Extension Pack
      • C# Snippets

    Custom Snippets

    • Adding Snippets to VS Code - Demo
    • Never retype a block of code

    Local File History

    • Plugin : Local History

    Formatting

    • Plugin : Prettifier

    Code Review for silly mistakes / Static code analysis

    • Lints : StandardJS
    • Apex PMD