Cascade in JetBrains allows us to expose AI Flows, a new way of coding with AI.

To open Cascade, press Cmd/Ctrl+Lclick the Cascade icon in the top right corner of the JetBrains window.

Model selection

Select your desired model from the selection menu below the chat input.

Write/Chat Modes

Cascade comes in two modes: Write and Chat.

Write mode allows Cascade to create and make modifications to your codebase, while Chat mode is optimized for questions around your codebase or general coding principles.

Access to Tools

Cascade has a variety of tools at its disposal, such as Search, Analyze, Web Search, and the terminal.

It can detect which packages and tools that you’re using, which ones need to be installed, and even install them for you. Just ask Cascade how to run your project and press Accept.

Cascade can make up to 25 tool calls per prompt. If the trajectory stops, simply type in continue and Cascade will resume from where it left off. Each continue will count as a new prompt.

Revert to previous steps

You have the ability to revert changes that Cascade has made if you want to. Simply hover your mouse over the original prompt and click on the revert arrow on the right, or revert directly from the table of contents. This will revert all code changes back to the state of your codebase at the desired step.

Reverts are currently irreversible, so be careful!

Real-time collaboration

A unique capability of Cascade is that it is aware of your real-time actions.

You no longer necessarily need to prompt with context on your prior actions, as Cascade is already aware.

Try making a manual change in the code editor, and then prompt Cascade to “continue my work”!

Image Upload

Add images to your prompt to be referenced in Cascade’s suggestions. Things like screenshots of your Figma designs, wireframes, etc are all fair game!

Simply drag in or paste an image, click on the “Add image” button below the input text box to include it in your message.

Check out the models page for more information on which models support image upload.

Ignoring files

If you’d like Cascade to ignore files, you can add your files to .codeiumignore at the root of your workspace. This will prevent Cascade from viewing, editing or creating files inside of the paths designated. You can declare the file paths in a format similar to .gitignore.