What you get
- A file tree with git status, and tabs for the files you have open.
- Syntax highlighting, find and replace, and Go to file with Cmd/Ctrl+P.
- Previews for Markdown, HTML and 3D models (
.glb), a structure panel for JSON, YAML and XML, and an outline of your Makefile targets. - Find in files, scratch files outside the project, and a warning when an agent is writing the file you are editing.
- New, rename, move and delete right in the tree.
- Sidebar tabs for Design, Git, Tests and Security, a test banner above linked test scripts, and security marks in the gutter.
- Code Review: every changed file before and after, side by side, with a way to ask why a change was made.
Code Review — before and after side by side, reviewed files ticked off.
Open the Code view
Pick a project and switch to Code in the view switcher, next to Board, List and Stages. The tree shows the project folder; click a file to open it. Pick a file on the left is what you see before you do.
Two more views sit right next to Code: Git, a full git client for the project, and Skills, every skill your agents can see.
The file tree
- Git status: changed files are marked as Modified, New, not in git yet, Renamed, Deleted or Merge conflict, and a folder with changes inside is marked too.
- The tabs above the tree (All, Find, Design, Git, Tests, Security) show the same project through different filters. See The sidebar tabs below.
The sidebar tabs, here with the Tests tab open. - Filter files narrows the tree by name. You can show or hide hidden and gitignored files, fold every folder, and find the open file in the tree.
- Right-click a file or folder for New file, New folder, Rename and Delete, to copy its path, or to show it in Finder or Explorer. Deleting asks first and cannot be undone.
- Select several rows with Cmd/Ctrl-click or Shift-click, then right-click for Delete {n} items or Copy {n} paths, or press Delete. One dialog lists what goes; there is no undo. Esc clears the selection.
- Symlinks show their target (→ target) and a link icon. A link that points outside the project is marked Outside and is read only, not searched and has no git status; a link that points nowhere is marked Broken. Right-click a link for Reveal link target, Copy target path or Remove link (target stays).
- Gitignored files are greyed out with an Ignored by git mark when you choose to show them.
- Drag a file or folder onto another folder to move it. It moves at once; imports and references to it are not updated. To be asked first, turn on Confirm drag and drop in the project tree in Settings → Code Editor.
The sidebar tabs
A project has many kinds of files. The tabs above the tree let you look at just one kind at a time, so you find the style guide, the failing test or the file with the secrets without digging through folders. Each tab shows a count, and most of them can show their files as a List or as a Tree.
- All: the whole project as a file tree.
- Find: find a text in every file of the project. Type at least two characters and press Enter.
- Design: every file you marked as design, such as style guides, tokens or mockups.
- Git: only the changed files, with filter chips for New, Modified, Deleted, Renamed and Conflict.
- Tests: every file that is linked to a test case, with its last result.
- Security: the files and folders that belong to a Security asset, crown jewels first.
An empty tab tells you how to fill it, for example Right-click → Mark as → Design.
Mark as: tests, resources, documentation, design
Sightdeck guesses what a folder is from its name. Where the name does not say it, you tell it. Right-click a file or folder and pick Mark as, then Tests, Resources, Documentation or Design. The row takes the colour of that kind. Remove mark takes it away again.
Design does a little more: every file you mark as design shows up in the Design tab, so your style guide is one click away while you code. Mark a folder and all files in it join the tab. If you mark a file inside that folder as something else, it leaves the tab again.
Reading and editing files
- Tabs: every file you open gets a tab. Right-click a tab for Close tab, Close others, Close to the right, Close all, Copy relative path and Show in Finder (Show in Explorer on Windows, Open enclosing folder on Linux).
- Syntax highlighting for code files. Binary files and files that are too large are not shown.
- Edit turns the open file into an editor. Changes are saved on their own (Autosave on); Cmd/Ctrl+S saves at once. If the file changes on disk while you edit, Sightdeck asks whether to overwrite it or load it from disk.
- Find with Cmd/Ctrl+F. Show replace adds a replace field: Replace one match or All. Replace in the file header (Cmd/Ctrl+Alt+F) opens the same in one step. Replace works inside the open file.
- Find in files with Cmd/Ctrl+Shift+F opens the Find tab. Type at least two characters and press Enter; the results list every matching line, grouped by file.
.envfiles are never searched. Pressing Enter in Filter files searches all files too. - Go to file with Cmd/Ctrl+P: type part of a file name, pick it with the arrow keys and Enter.
- Click a line number to copy
path:line. Soft wrap (Alt+Z) and Spaces and tabs are in the file header actions. - Scratch files: right-click in the editor and pick New scratch file (Cmd/Ctrl+Alt+N), then a file type such as JSON, SQL or Markdown. The file lives in a temporary folder outside the project, so it never ends up in git; your system clears that folder on its own.
There is more for reading code: Git Blame shows the commit or, with its Commit | Task switch, the task behind every line and opens that task, Go to definition and Where is it used? jump through names, and AI Explain on the right edge of the view reads the file and what it imports and explains it, without changing anything.
Markdown preview
A Markdown file opens as a Preview. Switch to Source or Split to see the text beside the preview. Next to the preview, On this page lists the headings as a table of contents — click one to jump there, or fold the list away when you need the room.
HTML, 3D and structure
- HTML files get the same Source, Split and Preview switch. The page loads from your project folder, so its styles, scripts and images work, but it runs closed off from the app. Open in Browser saves the file and opens it in your default browser.
- 3D models (
.glb) open as a preview. Drag to turn the model, scroll to zoom, double-click to reset the view. - JSON, YAML and XML files get a Structure panel. Data shows the content as a tree, Schema shows which fields occur, how often, and which are not in every entry. While the file cannot be read, the panel names the line and keeps the last good tree.
When an agent writes the same file
A file an agent is changing right now shows a pill with the task id in the tree, and its tab gets a dot. The first time you type in such a file, Sightdeck warns you that your edits can clash with the agent's next write, with Open task and Got it.
If the agent changes the file while you have unsaved edits, a banner says so and lets you pick: Keep mine or Load from disk.
Makefile targets
A Makefile gets a Targets outline: every target in file order, each with a button to Run make that target. Add section comments at the start of a line and the outline turns the same targets into a structured list, so a long Makefile stays easy to scan:
#/ Setup
install: ## Install dependencies
npm install
#// Docker
up: ## Start the containers
docker compose up -d
#/ App
build: ## Build the app
npm run build
#/ adds a section header to the outline; #// adds a subsection header nested under the section above it, grouping the targets that follow. In the example, Setup and App are sections, and Docker is a subsection under Setup. Make reads both as ordinary comments, so the file still runs the same.
To keep helper targets out of the outline, put #//- on its own line above them. Every target after it is left out of the sidebar until the next #// or #/ header, or to the end of the file if none follows. #/- does the same for a whole section and only ends at the next #/. The hidden targets still work: make runs them and their Run make button in the editor stays.
#/ App
build: ## Build the app
npm run build
#//-
clean-cache:
rm -rf .cache
Fix indents puts a tab in front of any recipe line that starts with spaces, which make would otherwise reject.
Code Review
Open a changed file (the Git tab above the tree lists them all) and click Review changes above it. The view turns into a review of what differs from the last commit.
- Before and after. Before · HEAD on the left, After · working tree on the right. Switch to Inline if you prefer one column. Long stretches of unchanged lines fold away. A new file shows as New file · not in HEAD.
- Ask why. Every change has Ask why. It opens the Ask the project chat with that change as context — including which task wrote it — and answers "Why was this change made?" from the code. Follow-up questions such as Is this tested?, What could break? and Is there a simpler way? are one click away. The chat only reads; it never changes a file.
- Tick off what you reviewed. Reviewed · next file marks the file and opens the next one. In the file list you can mark a single file, or a whole folder with Mark all files in this folder as reviewed. The header counts along ("3 of 12 reviewed") until All changes reviewed.
Edit file leaves the review and opens the file for editing.
Test scripts and test cases
A test case in Quality says what should be checked. An automated test script is the code that checks it. Link the two, and you see in the code which test cases a script covers and how it went last time, and in Quality which file automates a test case.
Link a script to a test case
- Right-click the test file in the tree and pick Quality → Link to test case….
- The dialog Test cases automated by this file lists your test cases. Tick the ones this file automates. A ticked test case gets this file as its Automated by; untick it to remove the link.
- If a test case is already automated by another file, Sightdeck asks whether to Replace it.
To let go of all links of a file at once, right-click it and pick Quality → Unlink from test cases.
The test banner above a linked script
Open a linked file and a green banner sits above the code. It tells you:
- The test case it automates (or Automates 3 test cases), and what kind of test it is, for example Cypress test, Playwright test or Unit test.
- Last run: Passed, Failed or Not run. With several test cases it also counts how many passed.
- One chip per test case id, such as
TC-012. Click a chip to open that test case in Quality.
The buttons on the banner:
- + Link links more test cases to this file.
- Run test runs just this test file with the project's single test command (set in Quality settings). Sightdeck switches to Quality to run it.
- Open in Quality opens the test case there.
- Hide folds the banner into one slim line for this file. Click the line to open it again.
A test file that is not linked yet shows a small strip instead: Not linked to a test case, with Run test and Link to test case….
The Tests tab
The Tests tab lists every linked file with a status icon. The header counts the test files and how many failed. The filter chips Failed, Passed and Not run narrow the list; press a chip again to clear it. Switch to Tree to see the files in their folders: each folder shows how many test files it holds and how many of them failed. A file whose name starts with an id, like TC-012-checkout.spec.ts, is shown as TC-012 checkout. In the All tree, a linked file carries the same status icon instead of its file icon.
Security assets in the code
Files you link to an asset in Security are marked where you work, so you notice when you touch something sensitive.
- Link a file: right-click a file or folder and pick Security → Link to asset… or Create asset….
- In the tree: a red shield on asset files and a crown on crown jewels. Folders above them show how many assets they hold. Hover a shield to see the asset; click it to open the asset in Security.
- The banner above an asset file names the asset, its type, exposure and owner, and the kinds of data it holds. Open in Security jumps there, Hide folds the banner.
An asset file: the banner names the asset, the lines that define it are marked and their values masked. - In the gutter: the lines that define the asset get a red mark and a light tint. Hover the line number to read which asset is defined there.
- Secret values are masked until you click Show values in the banner. Hide values masks them again.
- Where a secret flows: lines where a secret's value arrives get a hollow mark, a lighter tint and a chip with the variable name. A line with a risk is marked as such; hover the line number to read the path the value takes.
Where a secret flows: the line in framework.yaml that receives APP_SECRET.
Example: a secret on its way through the code
Jane owns APP_SECRET in acme-shop, a Symfony app. It signs sessions and login links, so it is a crown jewel.
- In Security, she opens the asset, adds
.envwith the variableAPP_SECRETunder References and clicks Discover under Where it flows. - Back in Code,
.envcarries a crown in the tree. Opening it shows the banner and the masked value on theAPP_SECRETline. - She opens
config/packages/framework.yaml. Line 3,secret: '%env(APP_SECRET)%', has theAPP_SECRETchip: this is where the value arrives. Hovering the line number shows the path it takes. - If a line wrote the value to the log, its chip would say so. That is the moment to Open in Security and create a task.
Example: checking a test before a review
Jonas worked on ACME-21, a new checkout step in acme-shop. Before you review it, you want to know whether the checkout tests still pass.
- Open Code and click the Tests tab. Press Failed:
tests/playwright/TC-012-checkout.spec.tsshows up. - Click it. The banner says Playwright test · Last run: Failed with the chip
TC-012. - Click Run test. Sightdeck switches to Quality and runs this one file.
- It passes now. Back in Code, open the Git tab, pick the changed files of ACME-21 and click Review changes.
- The new step also has its own test file that is not linked yet. Right-click it, pick Quality → Link to test case… and tick
TC-013.
Related
- Git client: commit, branch, push and resolve conflicts next to the code.
- Skills: every skill your agents can see, and the star in the tree.
- Test cases: what a linked script automates.
- Automated results: where the last run comes from.
- Security assets: the shields and marks in the code.
- Git branches & worktrees — where a task's changes live.
- Agents view — the lines each running session changed.