GitHub - matej-almasi/pragmatic-toaster: A simple extension that displays toast a notification with a randomly selected tip from the Pragmatic Programmer book.

1 min read Original article ↗

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

Features

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:

Extension Settings

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.

Attributions

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.

License

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

Release Notes

0.1.2

Lower the minimum required version VS Code engine.

0.1.1

Fixed typo (minSaves/maxSaves) in README.

0.1.0

Initial release of Pragmatic Toaster.