Compare across project boundaries
Choose two files from the same project, different projects, or supported external paths. Start an independent Compare files tab when you want to paste or type both versions without choosing a base file.
Compare files, code and pasted text in Flame IDE. Use split or inline diffs, compare across projects, ignore trim whitespace and ask AI about changes.
A useful comparison is not always a Git change. It might be two configuration files in different repositories, a downloaded response and a project fixture, or a snippet copied from a bug report. Flame's built-in file comparison tool brings those inputs into an editable diff, with split and inline views, change navigation, and controls for focusing on the lines that matter.
Choose two files from the same project, different projects, or supported external paths. Start an independent Compare files tab when you want to paste or type both versions without choosing a base file.
Switch between side-by-side and inline views, hide unchanged lines, ignore trim whitespace, and enable word wrap. Automatic language selection and a searchable language picker keep code and structured text readable.
Both text panes are editable scratch buffers. Try a correction, compare again, and copy the result into a real file when you want to keep it. Scratch edits do not write to the source files.
Open Compare files from the editor's New tab menu, or use Compare with from an editor tab. A comparison can span repositories without requiring a shared Git history.
In a standalone comparison, each side offers Project file, Open file, Paste, and Copy controls. Choose a project file from another repository, load a text file from your computer, or paste directly into the original or modified pane.
Check staging against production settings, compare two implementations, or inspect a generated response beside an expected fixture. Use the language selector for JSON, source code, or another available syntax, and search within a pane with Ctrl/Cmd+F.
Swap reverses the original and modified sides using their current contents. Switching tabs keeps the open comparison's editable models available, so moving to a source file and back does not discard your current scratch edits.
Choose the layout that fits your screen and the kind of change you are checking. Highlighted additions and removals, a change count, and an identical indicator make the result easier to scan.
Split places the original and modified text alongside each other. Inline puts the changes into one flow. Both are available from the comparison toolbar, so you can change perspective without replacing either input.
Jump to the next change with F7 or the previous change with Shift+F7. Toolbar controls expose the same navigation with a change count. Use Hide unchanged lines to concentrate on changed regions in a longer document.
Ignore trim whitespace suppresses differences at line edges; it does not remove every whitespace difference. Word wrap helps with long lines. Language selection defaults to the modified file, falls back to the original, and can be overridden for the comparison.
A comparison can be a working surface for understanding a change. Edit either pane, inspect the updated diff, and choose whether to carry the result into your project.
Typing, pasting, and comparison edits stay in the diff's scratch buffers. Ctrl/Cmd+S explains that this surface cannot save to disk. Copy the final text into a real project file and save that file to keep your work.
For a changed text comparison, Ask AI can prepare a code-review conversation or a question with the current diff as context. It uses the current text from both panes, including scratch edits. Review the prepared chat before sending it through your configured provider.
Files backed by a real project can use available language-server navigation such as definitions, references, and hovers. Pasted and external-only scratch sources have no project language server attached. AI review is available for text differences, not binary previews.
Text diffs and binary previews serve different inputs. Flame chooses an appropriate view when either selected file is binary and simplifies expensive text rendering when needed.
Supported project or external binary selections open side-by-side previews instead of a line diff. Recognized images, video, and audio use their respective previews; other binary files show file information. This file comparison does not calculate a pixel mismatch score.
Heavy text uses plain-text rendering and wrapping to reduce expensive highlighting. Diff computation is time-bounded; difficult inputs can remain visible without a completed line comparison. Use smaller excerpts when you need a focused result.
The standalone Open file control accepts text up to 10 MiB and rejects recognized binary files and NUL-containing content. Choose UTF-8 text for that path. Use the project file picker for supported binary previews.
Use the editor's New tab menu to start a standalone comparison. You can also choose Compare with from an editor tab when you already have a source file open.
Choose Project file or Open file for each side, use Paste, or type directly into an empty pane. Label the baseline as original and the version you are checking as modified; Swap reverses the direction when needed.
Select Split or Inline, choose the language, and use F7 or Shift+F7 to move between changes. Turn on Hide unchanged lines, Word wrap, or Ignore trim whitespace when those controls make the comparison clearer.
Edit either scratch buffer or prepare an Ask AI conversation about the current diff. Copy any text you want to keep into a real file, save it there, and review the resulting project change before committing.