InLine Edit Code
The Inline Code Edit feature of CodeGPT is a powerful tool for editing and refining code directly within your work environment. To use this feature, you must first select CodeGPT as your Provider
and Model
.
How to Use:
- Select CodeGPT as
Provider
andModel
To use this feature, log in with your CodeGPT account, and you will have limited daily free interactions. You can subscribe to one of our plans to get many more interactions and access the selected AI models without worrying about creating API keys or accounts with each provider (we make it easy for you!). If you want to use CodeGPT for free, you must add your API key from the desired provider (e.g., Anthropic, OpenAI), and you will pay for the consumption directly to them.
To learn how to do this, please refer to the following link.
You also have the option to utilize agents from the Marketplace, as long as you select CodeGPT as your Provider
.
- Select the Code: Highlight the code snippet
- Press
cmd+shit+k (ctrl+shift+k on Windows)
or Right-click on the selected code, then select CodeGPT: Inline Code Edit CodeGPT - Old and new lines will be highlighted in green and red.
- Press
Tab
to accept the suggestion