Skip to content

MateusZitelli/PromptMate

Repository files navigation

PromptMate 🚀

Marketplace

PromptMate is your AI partner to develop code. 💻 It connects to OpenAI Conversation API (GPT-4, GPT-3.5) and helps you create proper prompts and engage in conversations in VS Code, keeping your code in context. You can easily get code snippets, ask questions, and receive guidance from your AI assistant.

Install PromptMate for VS Code.

Features ✨

  • Automatically create prompts including files, functions, and code selections. 📄
  • See the conversation directly on your editor. 💬
  • Autonomous mode:
    • Let GPT-X read and write files, check syntax errors, run shell commands to acomplish your goals.
  • Build your prompt using shortcuts. ⌨️
  • Toggle between markdown and plain text rendering. 🔄
  • Supports multiple models including GPT-4. 🧠
  • Supports adding entire file content, selected functions, and selected text to the prompt. 📌

Image

Requirements 📋

Getting Started 🎬

  1. (CMD|CTRL) + Shift + P and run the command PromptMate: Open.
  2. Set your API Key.
  3. Select the desired GPT model.
  4. Add files, functions, and selections to your prompt.
  5. Ask questions or request code snippets.

🚀 Commands & Shortcuts

Supercharge your development experience with these easy-to-use commands and shortcuts!

  1. 🔍 PromptMate: Open
  • Open the door to your AI partner! Use (CMD/CTRL) + Shift + P, type "PromptMate: Open", and unleash the power of GPT in a new panel beside your editor.
  1. 📄 PromptMate: Add current file
  • Want to add the entire file to the prompt? No problem! Access this command using the command palette or simply right-click in the editor and choose "PromptMate: Add current file" from the context menu. The shortcut? CTRL+ALT+F on Windows/Linux and CMD+ALT+F on Mac. Piece of cake! 🍰
  1. 🔧 PromptMate: Add current function
  • Need to focus on a specific function? We've got you covered! Use the command palette or right-click in the editor, then select "PromptMate: Add current function" from the context menu. Just hit CTRL+ALT+U on Windows/Linux or CMD+ALT+U on Mac, and you're good to go! 🚀
  1. 📌 PromptMate: Add current selection
  • Want your AI buddy to help with just a small piece of code? Easy peasy! Use the command palette or right-click in the editor, then choose "PromptMate: Add current selection" from the context menu. Remember the shortcut: CTRL+ALT+S on Windows/Linux and CMD+ALT+S on Mac. ✨

With your desired files, functions, and selections added to your prompt, go ahead and ask questions or request code snippets from your AI assistant in the PromptMate panel. Get ready for awesome responses tailored to your provided context! 🤖💬

Autonomous mode

PromptMate also includes the autonomous mode, in which a set of commands are made available for GPT. Which allows it to do basic software development autonomously.

See it in action

Usage example

Make your coding sessions more fun and efficient with PromptMate! 🎉

Enjoy! 🎉

About

PromptMate is your AI partner to develop code.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published