straight in the code editor.
works with any intelliJ powered IDE, including Android Studio.
- download the jar from the release page.
- install as a regular plugin from disk (read here)
- click the tool menu -> OpenAI Preferences and insert your api key
./gradlew shadowJar
get the jar from build/libs/xxx.jar
comment in your editor with that format:
# code a function that sum 2 numbers.
# code a class which has 2 static string named X and Y and its getter and setters.
and so on for all other languages.
this will use different models according to the need.
code
query .
or generate code
query
add
query .
or create
query .
document
query .
or generate doc
right before the code to document
apply lint
or apply style
NOTE: all the keywords listed together perform the same action