Pragmatic Toaster: Pragmatic Tips Every Few Saves

4 months ago 7

A simple extension that displays toast a notification with a randomly selected tip from the Pragmatic Programmer book.

Display a random Pragmatic tip on demand by typing a command . . . Command

. . . and (or) every few saves (you can configure the frequency yourself!) Pragmatic tip:

This extension contributes the following settings:

  • pragmaticToaster.minSaves: Minimum number of file saves before a Pragmatic tip is shown.
  • pragmaticToaster.maxSaves: Maximum number of file saves before a Pragmatic tip is shown.

Set both minSaves and maxSaves to the same number to set a fixed interval for showing the tips. Set both to 0 to completely disable the showing of tips on file saves.

Beautiful Carpenter icon created by imaginationlol, sourced from Flaticon.

Tips from the Pragmatic Programmer book shared with kind permission of the authors. Go checkout other cool books from the Pragmatic Bookshelf.

Licensed under the MIT license (LICENSE or http://opensource.org/licenses/MIT).

Fixed typo (minSaves/maxSaves) in README.

Initial release of Pragmatic Toaster.

Read Entire Article