/photon

Photon can review, explain and suggestion optimization in your code.

Primary LanguageKotlin

photon

Build Version Downloads

PHOTON

Introducing Photon for JetBrain IDEs: Supercharge Your Code Optimization and Review Process!

Photon is a groundbreaking plugin designed to revolutionize the way you review, optimize, and gain insights into your code. Powered by the cutting-edge GPT-3.5 Turbo model, Photon brings the power of advanced artificial intelligence directly to your favorite JetBrain IDEs, empowering you to write cleaner, more efficient code with ease.

With Photon, you can effortlessly enhance your coding workflow and take your productivity to new heights.

Here's what Photon has to offer

  1. Intelligent Code Reviews: Photon's AI-powered engine provides intelligent code reviews that go beyond simple syntax checks. It comprehensively analyzes your code, highlighting potential improvements, suggesting alternative approaches, and even flagging potential bugs or vulnerabilities. Say goodbye to hours spent manually reviewing your code—Photon does the heavy lifting for you.
  2. Optimize Code on the Fly: Photon helps you optimize your code. By leveraging the powerful GPT-3.5 Turbo model, it provides you with smart suggestions to streamline your code, eliminate redundancy, and improve overall efficiency. Experience significant time savings as Photon identifies potential code optimizations you may have missed.
  3. Interactive Code Explanations: Ever wondered why a particular piece of code works the way it does? Photon delivers intuitive code explanations, unraveling complex logic and algorithms, and shedding light on intricate code segments. Gain a deeper understanding of your codebase, enhancing your overall programming knowledge and expertise.
  4. Seamless Integration: Photon seamlessly integrates into your JetBrain IDEs, ensuring a hassle-free experience. It seamlessly adapts to your coding style and preferences, augmenting your existing workflow without disruption. Whether you're working on a personal project or collaborating with a team, Photon has got you covered.

How to use

  • Install the plugin
  • Open any Jetbrains IDE
  • Open your code file
  • Select code(less than 6000 chars), and right click
  • Click "Photon" in the menu
  • Wait for the magic to happen.

Note

Photon requires an active GPT-3.5 Turbo API key for full functionality. Get API key from OpenAI. Please set OPENAI_API_KEY in your system environment variables

Thanks to ChatGPT for writing above description.

Installation

  • Using IDE built-in plugin system:

    Settings/Preferences > Plugins > Marketplace > Search for "photon" > Install Plugin

  • Manually:

    Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...


Plugin based on the IntelliJ Platform Plugin Template.