Skip to content

File Editor

MyShell Terminal includes a Monaco-based code editor (same engine as VS Code) with syntax highlighting and smart editing.

Opening the Editor

  • Double-click a text file in the file manager
  • Or click the editor icon in the toolbar

Features

Syntax Highlighting

Supports all major languages:

  • Shell scripts (Bash, Zsh)
  • Python, JavaScript, TypeScript
  • JSON, YAML, XML, TOML
  • Go, Rust, C/C++, Java
  • HTML, CSS, SQL
  • Dockerfile, Nginx config, etc.

Multi-Tab Editing

  • Open multiple files simultaneously
  • Each tab maintains independent editing state

Editing

  • Find & Replace (Ctrl + F / Ctrl + H)
  • Code folding
  • Line numbers
  • Auto-indent
  • Bracket matching

Save & Upload

  • Ctrl + S to save
  • Automatically uploads to the server via SFTP
  • Unsaved tabs show a dot indicator

WARNING

The editor modifies files directly on the server. Ensure you have permissions and backups.

基于 MIT 许可发布