Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>CodeWP for VS CodeNew to Visual Studio Code? Get it now.

CodeWP for VS Code

CodeWP

|
105 installs
| (1) | Free
This simple extension allows you to generate WordPress Code snippets directly from your Visual Studio Code editor, leveraging CodeWP's purpose-built General WordPress PHP mode.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CodeWP for VS Code

This Visual Studio code extension allows you to bring CodeWP's AI WordPress Code Snippet generation feature directly into the editor.

CodeWP is a powerful AI code generator built specifically for WordPress. This extension allows you to use the General WordPress PHP mode in VS code. Simply enter your prompt, click generate, and the code will be inserted into the editor (directly after your cursor).

Generations are saved to Your Snippets in the CodeWP platform, so you can easily review them at a later date.

Future versions will bring along additional modes, our Edit and Explain features, and more!

CodeWP comes with a Free and Pro mode. All users can access this extension, and platform limits will apply. Free users can create 10 generations per month. Pro users can create unlimited generations per month.

Links:

- VS Code Extension Launch Post

- CodeWP Homepage

Main image

How To Install

To use this extension, install it from the VSCode marketplace.

Then, get your Key from CodeWP. You must have a registered account to use this extension.

To get your key, login to your account. Head to profile -> API, and create a new key. Copy the key.

Open the Extension by clicking on the CodeWP icon on the left menu. Then, in the footer, click "settings". Enter your platform username and the API key you generated. Click save.

Settings image

Then, head into your project and start generating WordPress Code with CodeWP AI.

How To Use

Enter your prompt in plain English (or your native language, we officially support 11). CodeWP will generate WordPress PHP code and insert it directly after your cursor in the current document.

The generated code will be saved to your account as a standard CodeWP Private Snippet.

🚨 The generation insert action will fail if no text editor is open, though the generation will succeed (and show in Your Snippets). Be sure there's an open document, or you might waste a generation!

Future versions will contain CLI commands, right click menu items, and additional CodeWP Generation Modes.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft