AskCodi
AskCodi extension for Sublime Text
Details
Installs
- Total 369
- Win 204
- Mac 105
- Linux 60
Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | Aug 29 | Aug 28 | Aug 27 | Aug 26 | Aug 25 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 4 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 1 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 3 | 0 | 0 | 0 | 0 | 2 | 0 | 2 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Accelerate Your Development Workflow With AskCodi
AskCodi is an AI code assistant developed by Assistiv.ai, that facilitates coders to code faster by providing following features:
1. Chat with Codi AI (Ask AI to code),
2. Code suggestions for natural language (Ask AI to code),
3. Time complexity for your code,
4. Document Code.
5. Explain Code,
6. Test Code.
Whether you are new to coding or a professional, working individually or in a team, AskCodi helps save time by answering your queries in your favourite IDE.
Installation
Install Package Control.
In Sublime, press
ctrl+shift+p
(Windows, Linux) orcmd+shift+p
(OS X).Type
install
, then pressenter
withPackage Control: Install Package
selected.Type
askcodi
, then pressenter
with theAskCodi
plugin selected.AskCodi will prompt to add an API key.
Go toWebapp, sign in and in your account settings, copy the API key in Sublime Text.
Usage
1. Generate Code: Write your query as comment or statement. Select the query, right click and go to AskCodi. Click on Generate Code and wait for Codi panel to open and display the results.
2. Document Code: Select the code, right click and go to AskCodi. Click on Document Code and wait for Codi panel to open and display the results.
3. Test Code: Select the code, right click and go to AskCodi. Click on Test Code and wait for Codi panel to open and display the results.
3. Chat: Complete code can be triggered using hot keys ctrl + alt + c
or ctrl + option + c
, or right click and go to AskCodi. Whether you are writing a statement or code, complete code can be triggered directly using the hot key to complete the code or even comments.
4. Explain Code: Select the code, right click and go to AskCodi. Click on Explain Code and a Codi panel opens. Keep the default text as it is to get the time complexity of the selected code. Delete and either provide a different information if you want(like a library)or leave it empty, and hit enter to get code explanation. Wait for Codi panel to open and display the results.
API key
On installation, AskCodi will prompt to add the API key. Get the API key from Webapp, sign in and in your account settings, copy the API key in Sublime Text.
[!NOTE] You can manually set API key via command pallete (press
ctrl+shift+p
(Windows, Linux) orcmd+shift+p
(OS X)) and search forAskCodi: Set API Key
or, by right clicking on editor,AskCodi Defaults
->Set API key
.
Model(llm) Selection
By default, AskCodi uses Base
llm for requests. you can change the default model via command pallete (press ctrl+shift+p
(Windows, Linux) or cmd+shift+p
(OS X)) and search for AskCodi: Select Model
or, by right clicking on editor, AskCodi Defaults
-> Select Model
Alternatively, AskCodi plugin has model in settings file. To set your default model, open the settings within Preferences
-> Package Settings
-> AskCodi
-> Settings
and paste your API key in the api_key property, as follows:
{
"model": "Base",
}
Chat history management
You can reset the chat history via command pallete (press ctrl+shift+p
(Windows, Linux) or cmd+shift+p
(OS X)) and search for AskCodi: Reset chat history
or, by right clicking on editor, AskCodi Defaults
-> Reset Chat
.
Settings
The AskCodi plugin has a settings file where you can set your API key. To set your API key, open the settings within Preferences
-> Package Settings
-> AskCodi
-> Settings
and paste your API key in the api_key property, as follows:
{
"api_key": "your-api-key",
}
Key bindings
You can bind keys for a given plugin command in Preferences
-> Package Settings
-> AskCodi
-> Key Bindings
. For example you can bind “Chat” command like this:
{
"keys": ["ctrl+alt+c"],
"command": "chat"
},
Markdown syntax with syntax highlight support
[!IMPORTANT] It's highly recommended to install the
MultimarkdownEditing
to apply broader set of languages with syntax highlighting.
Links
Join our discord community to stay updated on the changes and talk to the community.