Skip to content

codeverbs/codeverb-vscode-extension

Repository files navigation

CodeVerb

Visual Studio Marketplace Version

License

CodeVerb took the initiative to revolutionize the development like never before. CodeVerb generates Python Language Code from English Language Text. This is the official VS Code extension for CodeVerb. Install this extension to get Python code predictions based of your comments.

Features

CodeVerb has the following main features:

  • Algorithm to Code: This mode takes algorithm or long text inputs through a webview sidebar and displays converted code. The user then has the ability to insert that code into the editor using the insert button.
  • Command Mode: In this mode, the user first types a single-line Python comment and presses Shift + C keys to insert generated code based on the comment on the next line.
  • Stealth Mode: In this mode, the extension provides inline code completions automatically while the user is writing code.

Installation

You can install the extension by searching for "CodeVerb" in the Visual Studio Code extensions marketplace or by running the following command in the command palette:

ext install yourmarketplace.id

Usage

Algorithm to Code

To use the "Algorithm to Code" mode, follow these steps:

  1. Open the Command Palette (Ctrl + Shift + P on Windows, Cmd + Shift + P on macOS).
  2. Search for "CodeVerb: Algorithm to Code".
  3. Or you can click on the CodeVerb icon located on right pane to open "Algorithm to Code" mode.
  4. Enter your algorithm or long text in the input box in the sidebar.
  5. Click on the "Convert" button to convert the text to Python code.
  6. Click on the "Insert" button to insert the generated code into the active editor.

Command Mode

To use the "Command Mode", follow these steps:

  1. Type a single-line Python comment in the active editor.
  2. Press Shift + C keys to insert generated code based on the comment on the next line.

Stealth Mode

To use the "Stealth Mode", simply start typing code in the active editor, and the extension will provide inline code completions automatically.

License

CodeVerb is licensed under the PROPRIETARY LICENSE.