Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/jorgeurtubiam-ship-it/Gulin_ia/llms.txt

Use this file to discover all available pages before exploring further.

GuLiN includes a Monaco-powered file editor — the same engine that drives Visual Studio Code — available as a first-class workspace block for both local and remote files. Open any file from the file browser, from a terminal command, or via a direct wsh edit call, and it loads instantly in a full-featured editor block alongside your terminals and AI panel.

Opening Files

Use wsh edit from any terminal block to open a file in the editor:
wsh edit ~/.config/gulin/settings.json
The file opens in a new block in the current tab and is immediately focused. For remote files over SSH, GuLiN streams the content through the WSH agent:
wsh edit deploy@myserver:/etc/nginx/nginx.conf
To open your GuLiN settings file directly without typing the full path, run:
wsh editconfig
This is a shortcut that resolves to the correct platform-specific path (~/.config/gulin/settings.json on macOS/Linux, %APPDATA%\gulin\settings.json on Windows) and opens it in the editor block.

Syntax Highlighting

The Monaco editor automatically detects the language from the file extension and applies full syntax highlighting. Supported languages include every major format that VS Code handles — shell scripts, Python, Go, TypeScript, JSON, YAML, Markdown, SQL, and hundreds more. If the language is not detected automatically, you can override it from the block’s settings menu.

Minimap

The code minimap (the bird’s-eye view of the file on the right side of the editor) is enabled by default. Toggle it with the editor:minimapenabled setting:
{
  "editor:minimapenabled": false
}
Additional editor settings:
Setting KeyTypeDefaultDescription
editor:minimapenabledbooltrueShow the minimap in the editor gutter
editor:stickyscrollenabledboolfalsePin scope headers (functions, classes) to the top while scrolling
editor:wordwrapboolfalseWrap long lines instead of scrolling horizontally
editor:fontsizenumber12Editor font size in points
editor:inlinediffboolfalseShow AI-generated changes as an inline diff before applying

Remote Editing

The file editor works seamlessly over SSH connections. When you open a remote file, GuLiN:
  1. Streams the file content from the remote host through the WSH agent
  2. Opens it in a local Monaco editor block
  3. Writes saves back to the remote host transparently when you save
No separate SCP or SFTP setup is required. The WSH agent handles all file transfer automatically. See SSH Connections for setup details.

File Browser and Preview

The Files widget (view: preview) is a file browser that doubles as a rich previewer. It opens at your home directory (~) by default and supports:

Text & Code Files

Opens in the Monaco editor with full syntax highlighting and editing support.

Markdown

Rendered as formatted markdown with font size controlled by markdown:fontsize.

Images & Video

Displayed inline inside the block — no external viewer needed.

PDFs & CSVs

PDFs render inline; CSVs display as interactive, scrollable data grids.
Hidden files are shown or hidden based on the preview:showhiddenfiles setting.

AI-Assisted Edits with Diff Preview

The GuLiN AI panel can read and modify files open in the editor. When the AI proposes a change to a file, GuLiN shows a diff preview before applying anything — you can review every addition and deletion before committing.
1

Request an edit in the AI panel

Ask the AI to modify the open file. For example: “Refactor this function to use async/await” or “Add error handling to the SSH config block.”
2

Review the diff

GuLiN renders the proposed change as a side-by-side or inline diff inside the editor block. Green lines are additions; red lines are removals.
3

Accept or reject

Click Accept to apply the change, or Reject to discard it and keep the original file. Rollback is always available — GuLiN does not overwrite files without your explicit confirmation.
The AI can only edit a file that is currently open in a GuLiN editor block. If the file is not open, ask the AI to open it first, or use wsh edit <path> before invoking the AI edit.

Build docs developers (and LLMs) love