LLM Integration Plugin Template is a repository that provides a template for creation of plugins accessing LLMs from IntelliJ-based IDEs.
- Sign up for OpenAI at https://beta.openai.com/signup
- Get your OpenAI API key
- Go to Settings | Tools | Large Language Models and enter your API key in the "OpenAI Key" field. If you are a member of only one organization, leave the "OpenAI Organization" field empty
- Select a code fragment, press Alt-Enter and select "apply custom edit" intention
- Write an instruction for the LLM and wait for the result