Member-only story

PyCharm ChatGPT integrations

Eugene Tkachenko
5 min readMay 15, 2024

How can we use ChatGPT directly in PyCharm? Easily! Using the AskGPT plugin!

What can it do?

Basically, it’s a plugin that uses ChatGPT’s API under the hood and pastes results into the IDE. Additionally, it can attach a file or selected text to a question, which makes the question more precise. It’s located in the Generative menu that is opened on Control (⌃) + Enter (↩) (on Mac). The short key could warry from a system and settings, so just Google it for your case.

Currently, it can:

  1. Write any question to ChatGPT; the answer will be in your file.
  • You can ask a custom question, for example, “Please, create a method that has an int as a parameter and should return a square value of it”
  • Or you can send the selected code to ChatGPT and ask, “Please, could you say if the code has some issues?”
  • You can also send the whole file for analysis or enhancement.

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web

Already have an account? Sign in

No responses yet

Write a response