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

The editor is powered by Monaco (the same engine as VS Code), providing a familiar editing experience with full keyboard shortcut support.

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

Language Server Protocol (LSP)

Sciorex includes built-in LSP support with an auto-installer for 7+ languages:

LanguageServerFeatures
TypeScript/JavaScripttypescript-language-serverCompletions, diagnostics, go-to-definition, rename
Pythonpylsp / pyrightType checking, completions, import resolution
Rustrust-analyzerFull IDE support, inline type hints, refactoring
GogoplsCompletions, diagnostics, formatting, imports
JavajdtlsCompletions, refactoring, debugging support
C/C++clangdCompletions, diagnostics, formatting, code actions
CSS/SCSScss-languageserverCompletions, color preview, diagnostics

Auto-Installer

When you open a file type for the first time, Sciorex detects if the corresponding LSP server is installed. If not, it offers to install it automatically.

LSP Features

  • Autocomplete — Context-aware suggestions as you type
  • Go to Definition — Jump to where a symbol is defined (Ctrl+Click or F12)
  • Find References — See all usages of a symbol (Shift+F12)
  • Rename Symbol — Rename across all files (F2)
  • Diagnostics — Real-time error and warning underlines
  • Hover Info — Type information and documentation on hover
  • Code Actions — Quick fixes and refactoring suggestions (Ctrl+.)
  • Format Document — Auto-format with language-specific rules (Shift+Alt+F)

TIP

LSP servers run locally. No code is sent to external services.

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 or panels side by side:

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

Sciorex supports 11 split panel types beyond the standard code editor:

PanelDescription
EditorMonaco code editor
PreviewLive browser preview
PDFPDF viewer with annotations
MarkdownRendered Markdown preview with Mermaid and KaTeX
HTMLSandboxed HTML preview
ImageImage viewer
BibTeXCitation file viewer
Molecule3D molecular structure viewer (PDB, SDF, MOL, XYZ)
ExcalidrawWhiteboard / drawing editor
AgenticMulti-file diff review panel
NormalClose split and return to single view

See Split Panels for full documentation.

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.

You can also open files in split panels to view PDFs, Markdown previews, or molecular structures alongside your code. See Split Panels for details.

Sciorex is proprietary software.