ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Ask​Codi

by Assistiv AI ST3

AskCodi extension for Sublime Text

Details

Installs

  • Total 264
  • Win 141
  • Mac 78
  • Linux 45
May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27
Windows 0 0 0 1 0 0 0 0 0 0 0 0 0 0 1 0 1 1 2 0 0 1 0 1 1 1 0 0 0 4 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0
Mac 0 0 0 0 1 0 1 0 0 0 0 1 0 0 0 1 0 0 0 1 1 1 0 2 0 3 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0
Linux 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 2 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 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:
2. Code suggestions for natural language (Ask AI to code),
3. Time complexity for your code,
4. Document Code.
5. Explain Code,
6. Complete Code,
7. 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.

Team learning

With the support of teams, you can accelerate the process by sharing suggestions with your team or the community. AskCodi extension is integrated along with webapp version. Any code generated is reflected in the codebase. You can change the workspace from the webapp for the extension and segregate your codebase.

Installation

  1. Install Package Control.

  2. In Sublime, press ctrl+shift+p(Windows, Linux) or cmd+shift+p(OS X).

  3. Type install, then press enter with Package Control: Install Package selected.

  4. Type askcodi, then press enter with the AskCodi plugin selected.

  5. AskCodi will prompt to add an API key.

  6. Go toWebapp, sign in and in your account settings, copy the integrations 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 bottom 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 bottom 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 bottom panel to open and display the results.

3. Complete Code: Complete code can be triggered using hot keys ctrl + alt + ] or ctrl + option + ] , 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 bottom dialogue box 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 bottom panel to open and display the results.

How it works

  1. AskCodi uses OpenAI GPT3.5 Turbo and GPT-4(coming soon) to generate suggestions.

  2. For the context, Codi uses 1024 characters before the selected query, or position of cursor/caret and uses that code to provide relavant suggestions. You can turn off the context from the user settings file (see section “Change user settings”) by changing from “true” to “false” Please note, AskCodi does not save this context, however it is recommended that you do not include any sensitive data in the context or query. Also, with context “off”, Complete code application won't work.

  3. AskCodi sends the context code(if true in settings) and the selected text/code to the servers to generate suggestions.

  4. The generated suggestion and query is saved on AskCodi servers to provide a codebase feature, which is only visible to the user(s) in the workspace they authenticated their device with. Only in case you chose “Community” workspace, it is visible to rest of the community.

Change settings

Mac: Goto Settings => Preferences => Package Settings => AskCodi => Settings

Windows: Goto Preferences => Settings

Ubuntu: Goto Preferences => Settings

Edit the file as per preferences, the acceptable values are true or false for each of the setting, and save the file.

Change Key bindings

Mac: Goto Settings => Preferences => Package Settings => AskCodi => Key Bindings

Windows: Goto Preferences => Key Bindings

Ubuntu: Goto Preferences => Key Bindings

Make the desired changes and save the file.

Links

Join our discord community to stay updated on the changes and talk to the community.