README.md 2.0 KB

Howdoi

Are you a hack programmer? Do you find yourself constantly Googling for how to do basic programming tasks?

Suppose you want to know how to format a date in bash. Why open your browser and read through blogs (risking major distraction) when you can simply stay in the code editor and ask howdoi:

howdoi format bash date

howdoi will answer all sorts of queries: howdoi print stack trace python

Installation

Install howdoi on your machine before using the howdoi extension. To do so, refer to the howdoi installation steps.

Getting Started

The howdoi extension allows users to ask howdoi within their own code editor.

For usage within the code editor:

  1. Write down your question in the code editor commented out with a single line comment.

    up close howdoi print stack trace python

  2. Highlight the text from the first step.

    highlighted howdoi print stack trace python

  3. Open the command palette using:

    cmd/ctrl + shift + P
    

    or

    View > Command Palette
    
  4. Run howdoi in command palette and choose among three answers from the drop down.

    highlighted howdoi print stack trace python

Usage

usage:

// howdoi query [-n NUM_ANSWERS]

positional arguments:

  QUERY                 the question to answer

optional arguments:

  -n NUM_ANSWERS        NUM_ANSWERS
                        number of answers to return
                        (default: 3)

example:

highlighted howdoi print stack trace python

Release Notes

1.0.0

Initial release of the howdoi VS Code Extension.


Enjoy!