Level-Up Your Code-Fu With Chuck Norris (and ReSharper, VsVim and NCrunch)

1dfad8107453e0f493ff1a6a8e48d503?s=47 Jaime
September 25, 2014

Level-Up Your Code-Fu With Chuck Norris (and ReSharper, VsVim and NCrunch)

Our minds possess an unlimited potential and are, without a doubt, the best tool we have in our software development arsenal. However, the interface between our minds and the computer - hands, keyboard, editors... - is imperfect and inefficient, and prevents us from expressing our thoughts in code freely.

But worry not! Chuck Norris is here to kick some ass and help you improve how well and how fast you express yourself in code. Master tools like ReSharper, VsVim and NCrunch and breach the gap between mind and matter.

1dfad8107453e0f493ff1a6a8e48d503?s=128

Jaime

September 25, 2014
Tweet

Transcript

  1. 2.

    Enthusiastic Software developer! Works at Medius R&D building a SPA...

    ... but also started jaimegonzalezgarcia.com Blogs at barbarianmeetscoding.com likes... fantasy sci-fi drawing Malin ??? @vintharas
  2. 4.
  3. 5.
  4. 7.
  5. 8.
  6. 9.
  7. 11.
  8. 12.

    CREATE If Chuck Norris hits himself, he'll create an infinite

    loop by countering each blow, a paradox no one can solve. Except Chuck Norris. - Chuck Norris Fact
  9. 13.
  10. 14.
  11. 15.
  12. 16.
  13. 17.
  14. 18.
  15. 19.
  16. 20.
  17. 21.
  18. 22.
  19. 23.

    CTRL+T to find stuff CTRL+- to go back CTRL++ to

    go forward - Alexander Tuttle
  20. 25.
  21. 26.
  22. 27.
  23. 28.
  24. 29.
  25. 30.
  26. 31.
  27. 32.
  28. 33.

    Go To Word ReSharper Plugin (CTRL+T x 3 free text

    search) Mnemonics Plugin (1000 live templates) - Roland Wallin
  29. 35.
  30. 36.
  31. 37.
  32. 38.
  33. 39.
  34. 40.
  35. 41.
  36. 42.
  37. 43.
  38. 52.

    TEXT-EDITING LIKE A JEDI Chuck Norris was in all 6

    star wars films as THE FORCE - Chuck Norris Fact
  39. 55.
  40. 56.
  41. 57.

    Edit text at the speed of light Precise like a

    surgeon 100% keyboard driven It’s on every platform Highly configurable Very extensible via plugins Great documentation It’s free Worthwhile long-term investment (since 1991/1976)
  42. 58.

    Maximize what you can do with as few keystrokes as

    possible It’s all about editing text efficiently VIM Modes By using different modes you avoid the need to use weird combinations
  43. 59.

    “You spend more time editing and manipulating text than writing

    it in the first place” That’s why the initial mode is the NORMAL mode
  44. 60.

    The most important things are at the tip of your

    fingers You can move around right from the home row
  45. 64.

    i -> insert mode, ESC back to normal mode dd

    -> delete current line (and copy) y -> copy character (yank) p -> paste yy -> copy current line hjkl -> mode around (←↓↑→) u -> undo last change (undo) cw -> change word
  46. 65.

    a -> insert after character (append) w -> go to

    the beginning of next word (word) b -> go to the beginning of last work (back) e -> go to the end of next word (end) dt) -> delete until the parenthesis di” -> delete inside quotes da” -> delete inside quotes and quotes d2/hello -> delete until second occurrence of hello
  47. 66.

    Vim is design to tackle repetition Use the . command

    to repeat the last change You can use <counter>.
  48. 67.

    I -> insert at the beginning of the line A

    -> append at the end of the line D -> delete until the end of the line C -> change until the end of the line O -> new line before the current line G -> go to the end of the file J -> append previous line
  49. 68.
  50. 69.
  51. 70.
  52. 71.
  53. 72.
  54. 73.

    CTRL+DELETE delete from cursor to the end of the word

    CTR:+BACKSPACE delete from cursor to the beginning of the word - Roland Wallin
  55. 76.

    PROGRAMMING YOUR IDE Mortal Kombat is not difficult enough for

    Chuck Norris, so he got Immortal Kombat. - Chuck Norris Fact
  56. 77.
  57. 78.
  58. 79.
  59. 80.
  60. 81.
  61. 82.

    Use EditBox in Visual Studio ALT+hold mouse to create a

    box and edit a bunch of stuff - Jimmy Esbjörsson
  62. 84.

    INTERLUDE ReSharper + VsVim ReSharper + VsVim + Meta Create

    Explore Improve Macro Changes Precision Micro changes Extend Adapt Customize
  63. 85.

    SPECIALIST FLOWs Chuck Norris special orders his pencils without erasers

    because Chuck Norris doesn't make mistakes. - Chuck Norris Fact
  64. 86.
  65. 87.
  66. 88.
  67. 89.
  68. 90.
  69. 92.
  70. 97.