Skip to content

File Editor

Sciorex includes an integrated code editor for viewing and editing files in your workspace. You can review agent changes, make quick edits, or work alongside AI sessions.

Opening Files

Open files by:

  • Clicking a file in the File Tree (left panel)
  • Clicking file links in chat messages or tool results
  • Double-clicking to open in a new tab (or single-click if enabled in settings)

Editor Features

Syntax Highlighting

The editor automatically detects file types and applies syntax highlighting for:

  • JavaScript, TypeScript, JSX, TSX
  • Python, Ruby, Go, Rust
  • HTML, CSS, SCSS, JSON, YAML
  • Markdown and many more

Tabs

Open multiple files in tabs:

  • Click the X to close a tab
  • Middle-click to close
  • Drag tabs to reorder
  • Modified files show a dot indicator

Split Views

Work with multiple files side by side:

  • Vertical split: Files appear left and right
  • Horizontal split: Files appear top and bottom
  • Drag the divider to resize

Minimap

A code overview appears on the right side of the editor, showing a zoomed-out view of your file. Click anywhere on the minimap to jump to that location.

TIP

Toggle the minimap in Settings → Editor → Minimap.

Editing

Basic Operations

ActionShortcut
SaveCtrl+S
Save AllCtrl+Shift+S
UndoCtrl+Z
RedoCtrl+Shift+Z
FindCtrl+F
Find and ReplaceCtrl+H
Go to LineCtrl+G

Selection and Editing

ActionShortcut
Select Next OccurrenceCtrl+D
Toggle CommentCtrl+/
Delete LineCtrl+Shift+K
Move Line UpAlt+Up
Move Line DownAlt+Down
Toggle Word WrapAlt+Z

Vim Mode

Enable vim-style keybindings in Settings → Editor → Vim Mode.

When enabled, you can use:

  • h, j, k, l for navigation
  • i, a, o to enter insert mode
  • v for visual selection
  • dd, yy, p for delete, yank, paste
  • :w to save, :q to close

File Tree

The file tree on the left shows your workspace structure.

  • Click folders to expand/collapse
  • Click files to open them
  • Use arrow keys to navigate

Context Menu

Right-click files or folders for options:

OptionDescription
Reveal in ExplorerOpen in system file manager
Copy PathCopy the file path to clipboard
RenameRename the file (F2)
DeleteMove to trash (Delete key)
CopyCopy file (Ctrl+C)
CutCut file (Ctrl+X)
PastePaste file (Ctrl+V)

Filtering

The file tree respects your exclude settings:

  • Files matching .gitignore patterns are hidden (if enabled)
  • Custom exclude patterns hide additional files/folders

Configure in Settings → Files.

Preview Mode

Markdown Preview

Markdown files can be viewed in preview mode:

  • Toggle between edit and preview
  • Live preview updates as you type
  • Rendered with GitHub-flavored markdown

Editor Settings

Customize the editor in Settings → Editor:

SettingDescription
Vim ModeEnable vim keybindings
Editor ThemeColor scheme (Tokyo Night, GitHub Light, High Contrast)
Insert SpacesUse spaces instead of tabs
Tab SizeSpaces per indentation (2, 4, 8)
Word WrapWrap long lines
Line NumbersShow line numbers
MinimapShow code overview
Single Click OpenOpen files with single click

Integration with Chat

When Claude edits files, you can:

  • See the changes in the chat as diffs
  • Click file links to open the edited file
  • Review changes before they're applied (depending on permission mode)

The editor and chat work together so you always know what's being modified.

Released under the MIT License.