RuneStone 1.0.0
This commit is contained in:
@@ -0,0 +1,111 @@
|
||||
# Images, diagrams, and tables
|
||||
|
||||
[RuneStone](../../README.md) · [User guide](../user-guide.md)
|
||||
|
||||
This guide explains how to insert and edit images, read diagrams, edit Markdown tables, and calculate in tables.
|
||||
|
||||
## Insert and edit images
|
||||
|
||||
| Source | Result |
|
||||
| --- | --- |
|
||||
| Drag an image from the navigator into a Markdown editor | RuneStone inserts a relative link to the existing file. Press Escape to cancel the drag. |
|
||||
| Drop an image from your system file manager, or paste an image | RuneStone copies the image into the workspace `attachments/` folder with a unique name, then inserts a link. |
|
||||
| Paste an image that you copied with **Copy image** in the RuneStone browser | RuneStone saves the original file that the page loaded. A GIF keeps its animation, also from a website that refuses downloads. |
|
||||
| Paste a GIF, WebP, or AVIF image that you copied in another web browser | That browser copies only the first frame. RuneStone downloads the original file from the image address, so the animation stays. If the website refuses the download, RuneStone saves the first frame and shows a message. |
|
||||
|
||||
Undo removes the inserted link. It keeps the image file.
|
||||
|
||||
In Write, the image shows and its Markdown stays hidden. To edit the Markdown, choose **Edit image source**. To hide it again, choose the same button, press Escape, or move the cursor away.
|
||||
|
||||
Select an image, then right-click it or press Shift+F10 for these actions:
|
||||
|
||||
- **Copy image**, **Copy Markdown**, **Swap image…**, and **Remove image**
|
||||
- **Zoom in**, **Edit image source**, and **Open in new tab**
|
||||
- **Copy path** and **Show in Explorer**, for workspace images
|
||||
|
||||
**Remove image**, or the Delete key, removes the image link from the note. It does not delete the file. Undo restores the link.
|
||||
Zoom works in Write, Read, and Read beside. It can fit the image or magnify it. Press Escape to close it.
|
||||
|
||||
## Read diagrams and document properties
|
||||
|
||||
Write, Read, and Read beside show wiki links, note callouts, and Mermaid diagrams.
|
||||
RuneStone renders Mermaid diagrams locally. If a diagram is not valid, RuneStone shows an error message and the diagram source.
|
||||
Read shows frontmatter in a collapsed **Properties** section.
|
||||
|
||||
## Edit tables
|
||||
|
||||
Tables keep readable column widths. A `<br>` in a cell shows as a line break. Wide tables scroll inside the document.
|
||||
|
||||
- Select a cell to edit its contents.
|
||||
- To add a column, hover beside the right edge of the table and select +. To add a row, hover below the bottom edge.
|
||||
- Right-click a cell for the **Row** and **Column** menus. They insert, move, duplicate, delete, and sort at that cell.
|
||||
|
||||
Sort is stable and natural, so 2 comes before 10. Blank cells go last, and the header row stays in place.
|
||||
|
||||
### Move rows or columns
|
||||
|
||||
Grips show above columns and beside body rows when you hover or focus the table.
|
||||
|
||||
1. Drag a grip. A line shows the drop position.
|
||||
2. Release the grip at the new position.
|
||||
|
||||
To scroll, drag near an edge. To cancel, press Escape. You can also focus a grip and move it with the arrow keys.
|
||||
A row move keeps the header row in place. A column move keeps the column alignment.
|
||||
|
||||
### Select, copy, and format cells
|
||||
|
||||
Drag across cells, or Shift+click, to select a rectangle. Shift+arrow keys extend the selection.
|
||||
Then right-click for these actions:
|
||||
|
||||
| Group | Actions |
|
||||
| --- | --- |
|
||||
| Clipboard | Cut, copy, and paste |
|
||||
| Format | Bold, italic, strikethrough, highlight, code, math, comment, and clear formatting |
|
||||
| Layout | Alignment, clear cells, and delete cells |
|
||||
|
||||
Ctrl+X, Ctrl+C, Ctrl+V, Ctrl+B, Ctrl+I, and undo also work on the selected cells. Undo reverts each action in one step.
|
||||
|
||||
- When you paste tab-separated text or a Markdown table, RuneStone fills the cells and adds rows or columns as necessary.
|
||||
- Alignment applies to whole columns, because Markdown sets alignment per column.
|
||||
- **Clear cells** empties the cells. **Delete cells** removes complete rows or columns, or moves the remaining cells of a partial selection to the left.
|
||||
- Math uses inline `$…$` syntax. A comment uses `%%…%%` and does not show in Read.
|
||||
|
||||
### Work with text inside a cell
|
||||
|
||||
Right-click selected text in a cell for note links, external links, workspace search, formatting, and paste as rich or plain text.
|
||||
**Extract current selection…** saves the selected Markdown to a new note and replaces the selection with a link to that note.
|
||||
Undo restores the original text. It does not delete the new note.
|
||||
|
||||
## Calculate with table formulas
|
||||
|
||||
RuneStone calculates formulas in Markdown tables.
|
||||
To show formulas as text, turn off **Settings → General → Table formulas**. The setting does not change your files.
|
||||
|
||||
Start a cell with `=` to make a formula. Columns use letters A, B, … AA. Row 1 is the header, so the first data row is row 2.
|
||||
|
||||
| Example | Result |
|
||||
| --- | --- |
|
||||
| `=B2+C2` | Adds two cells. |
|
||||
| `=AVERAGE(B2,C2)` | Averages two cells. Commas separate arguments. |
|
||||
| `=AVERAGE(B2:C2)` | Averages every cell from B2 through C2. A colon sets a range. |
|
||||
| `=SUM(B2:B10)` | Adds a range. |
|
||||
| `=ROUND(B2/3, 2)` | Rounds to two decimal places. |
|
||||
|
||||
| Feature | Supported values |
|
||||
| --- | --- |
|
||||
| Operators | `+`, `-`, `*`, `/`, `^`, parentheses, and postfix `%` |
|
||||
| Functions | SUM, AVERAGE, MIN, MAX, COUNT, ABS, and ROUND |
|
||||
|
||||
Functions that take a range ignore text and blank cells. Arithmetic uses zero for a blank cell.
|
||||
Results update in Write, Read, and Read beside. Select a result to edit its formula. Enter saves the formula, and Tab moves to the next cell.
|
||||
The **Formulas** control below each table explains the syntax. The active cell shows its address.
|
||||
A formula that is not valid, a missing cell, or a circular reference shows an error label.
|
||||
|
||||
The Markdown file keeps the formula text, so other apps show readable source.
|
||||
To keep text that starts with `=` as text, use code formatting or type `\=`.
|
||||
|
||||
Formula limits:
|
||||
|
||||
- References stay inside the current table.
|
||||
- References are fixed positions. When you copy, insert, delete, sort, or move cells, RuneStone does not update the addresses.
|
||||
- RuneStone has no automatic fill.
|
||||
@@ -0,0 +1,53 @@
|
||||
# Git guide
|
||||
|
||||
[RuneStone](../../README.md) · [User guide](../user-guide.md)
|
||||
|
||||
This guide explains how to review changes, stage files, commit, push, and pull with Git in RuneStone.
|
||||
|
||||
Git is part of RuneStone and is on by default. It needs the `git` program on the system path. To turn it off, see [Turn features on or off](../user-guide.md#turn-features-on-or-off).
|
||||
|
||||
## Review and stage changes
|
||||
|
||||
1. Open the root folder of the repository as the workspace.
|
||||
2. Select **Source control** in the navigation buttons at the top of the side pane.
|
||||
3. Select a file to open its diff in an editor tab. **Open file** in that tab opens the file in the editor.
|
||||
4. Select the plus button beside a file to stage it, or the minus button to unstage it. The button beside a group stages or unstages all files in that group.
|
||||
|
||||
Source control shows the current branch and the **Changes** section with two groups. **Staged changes** go into the next commit. **Unstaged changes** holds the files that still need review or staging.
|
||||
A file shows in both groups when only part of its content is staged. Unstage keeps the content of the working file.
|
||||
|
||||
Source control reads the repository again after each change in the workspace, also in the `.git` folder, and when the window gets focus. **Refresh source control** reads it at once.
|
||||
A diff tab shows the file as it was when you selected it. Select the file again to update the diff. Git reads the files on disk, so save your edits first.
|
||||
|
||||
## Commit
|
||||
|
||||
1. Stage the files for the commit.
|
||||
2. Enter a commit message.
|
||||
3. Select **Commit staged**, or press Ctrl+Enter (⌘+Enter on macOS).
|
||||
|
||||
A commit contains only the staged changes. Git hooks and signing settings apply as usual. Set your author name, email, and signing tools in Git outside RuneStone.
|
||||
If a hook stops the commit, the error stays visible, and the message stays in the field.
|
||||
|
||||
## Push and pull
|
||||
|
||||
**Push to the upstream branch** and **Pull from the upstream branch** use the upstream branch of the current branch and your current Git sign-in.
|
||||
Pull accepts only a fast-forward update. It stops when local changes or diverging commits prevent that update. RuneStone never forces a push, and it does not set an upstream branch.
|
||||
|
||||
## Commit graph
|
||||
|
||||
Select **Show Git graph** in Source control, or run **Show Git graph** from the command palette (Ctrl+Shift+P). The graph opens in an editor tab.
|
||||
|
||||
The graph shows the latest 100 commits with their branches, tags, IDs, authors, dates, and messages. Dashed lines continue to parents outside these 100 commits.
|
||||
Select a commit to see its changed files, then select a file to see its diff. The arrow keys, Home, and End move through the commits.
|
||||
|
||||
## Line history
|
||||
|
||||
While a saved text file is open, the status bar shows the author and the date of the last commit for the line of the cursor. A new or changed line can show no author until you commit it.
|
||||
|
||||
## Limits
|
||||
|
||||
- Parent repositories and linked worktrees with their metadata outside the workspace do not work. Open the repository root.
|
||||
- RuneStone does not include a Git program.
|
||||
- Create repositories, switch branches, resolve conflicts, and set remotes with Git outside RuneStone. RuneStone has no discard, reset, or force push.
|
||||
- A Git operation stops after 30 seconds or 2 MiB of output. If an operation stops, refresh to see its result before you do it again.
|
||||
- The diff of a new text file shows at most 512 KiB. A binary file shows a notice instead of a diff.
|
||||
@@ -0,0 +1,175 @@
|
||||
# Project Management guide
|
||||
|
||||
[RuneStone](../../README.md) · [User guide](../user-guide.md)
|
||||
|
||||
This guide explains how to plan work with boards, lists, and cards in RuneStone. It also explains the timeline and calendar views of the same cards.
|
||||
|
||||
Project Management is part of RuneStone and is on by default. To turn it off, see [Turn Project Management off](#turn-project-management-off).
|
||||
|
||||
## Open Project Management
|
||||
|
||||
Select **Project Management** (the board icon) in the left ribbon. It opens the default board of the workspace, or **All tasks** when the workspace has no default board. See [Choose the default board](#choose-the-default-board).
|
||||
|
||||
Each board opens in its own tab. To open another board in the same tab, select the board name in the toolbar. Then select a board or **All tasks**.
|
||||
|
||||
A workspace without boards shows **Create your first board**. Select it and enter a name.
|
||||
|
||||
## Boards and lists
|
||||
|
||||
A board holds lists, and a list holds cards. A new board starts with the lists **To do**, **In progress**, and **Done**.
|
||||
|
||||
| Action | How |
|
||||
| --- | --- |
|
||||
| Create a board | **More actions** (the three dots) → **New board** |
|
||||
| Rename a board | **Rename board** beside the board name, or **More actions** → **Rename board** |
|
||||
| Archive or restore a board | **More actions** → **Archive board** or **Restore board** |
|
||||
| Delete a board | **More actions** → **Delete board**. The cards stay in All tasks. You cannot undo this action. |
|
||||
| Add a list | **Add a list** in the toolbar of a board |
|
||||
| Rename a list, or set its status | List actions (the button in the list header) → **Edit list** |
|
||||
| Move a list | Drag its header, or use **Move left** and **Move right** in the list actions |
|
||||
| Set a card limit | List actions → **Set list limit**. A warning shows at the limit. Cards can still go into the list. |
|
||||
| Archive all cards of a list | List actions → **Archive all cards** |
|
||||
| Delete a list | List actions → **Delete list**. Its cards go to **Unlisted**. Their status does not change. |
|
||||
| Collapse or expand a list | The collapse button in the list header. A collapsed list is a narrow strip with its name and card count. |
|
||||
|
||||
**Status when a card enters this list** sets the status of each card that you move into the list. Choose **Do not change status** to keep the status of the card.
|
||||
|
||||
## Cards
|
||||
|
||||
| Action | How |
|
||||
| --- | --- |
|
||||
| Create a card | **Add a card** at the bottom of a list, or **More actions** → **New card** |
|
||||
| Open the card details | Select the card |
|
||||
| Move a card on the board | Drag the card, or use **Move to list**, **Move up**, and **Move down** in the card actions |
|
||||
| Put a card on another board | Card actions → **Move to board** |
|
||||
| Take a card off this board | Card actions → **Remove from board**. The card stays in All tasks and on its other boards. |
|
||||
| Archive or restore a card | Card actions → **Archive** or **Restore**. **More actions** → **Show archived** shows the archived cards. |
|
||||
| Delete a card | Card actions → **Delete card**. It removes the card from all boards. You cannot undo this action. |
|
||||
| Work with more than one card | **Select cards** in the toolbar. Then move the selected cards to a list or a board, or delete them. |
|
||||
| Find a card | **Search tasks** in the toolbar. The search looks in titles, descriptions, tags, labels, assignments, and custom fields. |
|
||||
|
||||
A card can be on more than one board, with a different list on each board.
|
||||
|
||||
The card details have the title, the labels, and the description in Markdown.
|
||||
A change to the description stays a draft until you select **Save**. **Cancel** restores the saved text. When you close the card with a draft, the card shows an unsaved marker.
|
||||
An image that you paste or drop into a draft stays with the draft. **Save** adds the image to the card. **Cancel** removes it.
|
||||
Board and list changes save at once. Other fields save when you close the card details.
|
||||
|
||||
### Card details
|
||||
|
||||
Select **Add details** in the card details to add one of these fields:
|
||||
|
||||
| Field | Use |
|
||||
| --- | --- |
|
||||
| **Priority** | The urgency of the card, apart from its labels |
|
||||
| **Labels** | Colored labels that all boards of the workspace share |
|
||||
| **Tags** | Plain words for the search |
|
||||
| **Planned dates** | The first and the last day of the work. The Gantt view shows them as a bar. |
|
||||
| **Deadline** | The due date. Gantt and Calendar show it with ◆. |
|
||||
| **Work session** | A start time and an end time. The Calendar view shows the session. |
|
||||
| **Assignments** | People, teams, or customers |
|
||||
| **Color** | The color of the card |
|
||||
| **Custom field** | A name and a value of your choice |
|
||||
| **Subtasks and linked cards** | Smaller tasks of the card, and other cards that block it, that it blocks, or that relate to it |
|
||||
| **Card cover** | An image of the card that shows on the board |
|
||||
|
||||
**More actions** → **Add existing note** makes a new card from a Markdown note of the workspace. The card gets the file name as its title and the note text as its description.
|
||||
The note does not change. Later edits to the note do not change the card.
|
||||
|
||||
## Labels and priority
|
||||
|
||||
Select **Manage labels** (the tag icon) in the toolbar to add, rename, recolor, or delete labels.
|
||||
All boards of the workspace share the labels. A change of name or color applies to each card with the label. When you delete a label, RuneStone removes it from all cards.
|
||||
|
||||
Priority has two, three, or five levels. To change the number of levels, see [Change the Project Management settings](#change-the-project-management-settings).
|
||||
|
||||
## Views
|
||||
|
||||
The buttons at the left of the toolbar change the view of the board.
|
||||
|
||||
| View | Shows |
|
||||
| --- | --- |
|
||||
| **Kanban** | The lists and their cards |
|
||||
| **Gantt** | Each card with its planned dates as a bar and its deadline as ◆, for 28 days from the visible date |
|
||||
| **Calendar** | Deadlines and work sessions by **Day**, **Week**, or **Month**, in the time zone of your computer |
|
||||
|
||||
**Previous**, **Today**, **Next**, and the date field change the visible dates of Gantt and Calendar.
|
||||
|
||||
In Calendar, you can create a card from a date:
|
||||
|
||||
- In **Month**, select the number of a day to create a card with that deadline.
|
||||
- In **Day** or **Week**, select an hour to create a card with a one-hour work session.
|
||||
|
||||
Gantt and Calendar do not move a card when you drag it. To change dates, open the card and edit **Planned dates**, **Deadline**, or **Work session**.
|
||||
|
||||
## All tasks
|
||||
|
||||
**All tasks** shows the cards of all boards of the workspace in one view.
|
||||
|
||||
- Lists with the same name on different boards share one column. The match ignores uppercase and lowercase letters.
|
||||
- In each column, the cards show below the name of their board. Cards without an active board show below **No active board**.
|
||||
- You cannot drag cards between columns. To move a card, open it and change **Board** or **List**, or open its board.
|
||||
- A new card in All tasks needs a board. Choose the board and the list in the card details.
|
||||
|
||||
## Images
|
||||
|
||||
To add an image to a card, paste it or drop it into the description, or select **Add image**.
|
||||
Use a PNG, JPEG, GIF, or WebP image of at most 50 MiB.
|
||||
To show an image on the board, add **Card cover** and choose one of the images of the card.
|
||||
|
||||
A web browser copies only the first frame of an image. When you paste a GIF or WebP image from a browser, RuneStone downloads the original file.
|
||||
Then the animation stays.
|
||||
|
||||
Some websites refuse that download. Then the card gets the first frame, and RuneStone shows a message.
|
||||
To keep the animation, use **Copy image** in the RuneStone browser. That copy keeps the original file that the page loaded.
|
||||
|
||||
**More actions** → **Customize background** sets an image behind the open board, or behind All tasks.
|
||||
To show the Background slideshow on the boards, see [Choose where the background shows](themes.md#choose-where-the-background-shows).
|
||||
|
||||
## Choose the default board
|
||||
|
||||
1. Open **Settings → Project Management**, or select **More actions** → **Project Management settings**.
|
||||
2. Select **Default board**.
|
||||
3. Select a board, or **All tasks**.
|
||||
|
||||
Each workspace has its own default board. The ribbon button then opens that board. Restored tabs keep their board.
|
||||
An archived or deleted default board opens All tasks.
|
||||
|
||||
## Change the Project Management settings
|
||||
|
||||
Open **Settings → Project Management**. The page shows only while Project Management is on. Each change saves at once.
|
||||
|
||||
| Setting | Values |
|
||||
| --- | --- |
|
||||
| **Priority levels** | **2** (High and Low), **3** (High, Medium, and Low), or **5** (Highest through Lowest). The default is 3. The priorities of existing cards do not change. |
|
||||
| **Default board** | **All tasks** or one board of the current workspace. See [Choose the default board](#choose-the-default-board). |
|
||||
|
||||
After an update, the first start copies the priority levels of the old Project Management plugin.
|
||||
|
||||
## Where the boards are
|
||||
|
||||
The boards, cards, labels, and images of a workspace are in `.runestone/pm/` in the workspace folder.
|
||||
To see this folder in the file tree, turn on **Show .runestone folder** in Settings → General.
|
||||
|
||||
Git ignores `.runestone/pm/`, because RuneStone puts a `.gitignore` file there. To keep a copy of your boards, back up this folder separately.
|
||||
|
||||
## Move old Project Management notes
|
||||
|
||||
Early versions of the Project Management plugin kept boards and cards in visible Markdown notes, and labels in `runestone-pm-labels.json`.
|
||||
RuneStone reads only `.runestone/pm/`. When a workspace has data in the old format, Project Management shows **Migrate Project Management data**.
|
||||
|
||||
1. Read the list of boards, task notes, and label files.
|
||||
2. If the offer names notes with invalid properties, repair these notes first.
|
||||
3. Select **Migrate**. RuneStone copies the data to `.runestone/pm/` and keeps exact backups in `.runestone/pm/backups/`.
|
||||
4. Examine the boards.
|
||||
5. Remove the original files that **Migration complete** lists, then select **Done**.
|
||||
|
||||
The migration does not change or remove the original files. **Not now** hides the offer in this tab.
|
||||
|
||||
## Turn Project Management off
|
||||
|
||||
1. Open **Settings → Features**.
|
||||
2. Clear **Project Management**.
|
||||
|
||||
Off closes the Project Management tabs and removes the ribbon button and the settings page in all windows.
|
||||
Your boards stay in `.runestone/pm/`, and your settings stay. Turn Project Management on again in the same place.
|
||||
@@ -0,0 +1,115 @@
|
||||
# Terminal guide
|
||||
|
||||
[RuneStone](../../README.md) · [User guide](../user-guide.md)
|
||||
|
||||
This guide explains how to use shells, scripts, and workspace tasks in the terminal of RuneStone.
|
||||
|
||||
Terminal is part of RuneStone and is on by default. The shells and script runtimes that you use must be installed on your computer. To turn Terminal off, see [Turn Terminal off](#turn-terminal-off).
|
||||
|
||||
## Open and arrange terminals
|
||||
|
||||
| Action | How |
|
||||
| --- | --- |
|
||||
| Show or hide the terminal panel | **Terminal** in the left ribbon, Ctrl+`, or Ctrl+J. Sessions and scrollback stay. |
|
||||
| New terminal | Ctrl+Shift+` or the + button |
|
||||
| Split the active terminal | Ctrl+Shift+5 or **Split terminal**. The new pane uses the same folder and profile. |
|
||||
| New terminal window | Ctrl+Shift+Alt+`, or **New terminal window** in the profile menu |
|
||||
| End the active session | **Kill terminal**, or Delete while an entry in the terminal list has focus |
|
||||
| Change the panel size | **Maximize panel** or **Restore panel**. Shells do not restart. |
|
||||
| End all sessions in the panel | **Close terminal (end all sessions)** |
|
||||
|
||||
The terminal list shows only when more than one session is open.
|
||||
Closing a terminal window ends its sessions. When you close a workspace window with running sessions, RuneStone asks first.
|
||||
You can type before a shell starts. RuneStone sends the text when the shell is ready.
|
||||
|
||||
## Choose a shell
|
||||
|
||||
Open **Terminal profiles and tasks** (the arrow beside the + button) to start a terminal with a specific profile.
|
||||
|
||||
| System | Profiles |
|
||||
| --- | --- |
|
||||
| Windows | PowerShell, PowerShell 7, Git Bash, and Command Prompt |
|
||||
| macOS and Linux | Bash and PowerShell |
|
||||
|
||||
The menu shows only the shells that RuneStone finds on your computer.
|
||||
The same menu has **Split terminal with profile**, **Terminal settings**, **Select the default profile**, and the task commands.
|
||||
New terminals get the RuneStone environment, including `PATH`.
|
||||
|
||||
## Change the terminal settings
|
||||
|
||||
Open **Settings → Terminal**, or choose **Terminal settings** in the profile menu. The page shows only while Terminal is on.
|
||||
|
||||
| Setting | Values |
|
||||
| --- | --- |
|
||||
| **Default profile** | The shell of a new terminal. The JavaScript Debug Terminal is not a choice. |
|
||||
| **Font size** | 9 to 28 pixels. The default is 13. |
|
||||
| **Scrollback lines** | 100 to 100,000 lines. The default is 10,000. |
|
||||
| **Blink cursor** | The cursor blinks in the focused terminal. On by default. |
|
||||
|
||||
A change saves at once and applies to all windows. Open terminals take the new font size, scrollback, and cursor. The default profile applies to new terminals.
|
||||
After an update, the first start copies the settings of the old Terminal plugin.
|
||||
|
||||
The terminal colors come from the color theme. The text, the cursor, and the selection use the theme colors. The 16 ANSI colors use the `ansi-*` keys of the theme.
|
||||
To change them, see [Edit a theme](themes.md#edit-a-theme) and [Color keys](themes.md#color-keys).
|
||||
|
||||
## Copy and paste
|
||||
|
||||
- Drag across terminal text to select it.
|
||||
- Ctrl+C copies the selection. With no selection, Ctrl+C sends an interrupt to the shell.
|
||||
- Ctrl+Shift+C copies the selection.
|
||||
- Right-click a selection to copy it.
|
||||
|
||||
## Run scripts and recent commands
|
||||
|
||||
Open **More terminal actions** for these commands:
|
||||
|
||||
| Command | Result |
|
||||
| --- | --- |
|
||||
| **Scroll to the previous command** / **Scroll to the next command** (Ctrl+Up / Ctrl+Down) | Moves between command prompts. |
|
||||
| **Clear the terminal** | Clears the scrollback. |
|
||||
| **Run the active file** | Saves and runs the active file in the terminal. |
|
||||
| **Run selected text** | Sends the text that is selected in the editor to the terminal. |
|
||||
| **Start dictation** | Starts Windows voice typing. See [Debug JavaScript and use dictation](#debug-javascript-and-use-dictation). |
|
||||
| **Go to a recent folder…** (Ctrl+G) | Changes to a recent folder. |
|
||||
| **Run a recent command…** (Ctrl+Alt+R) | Runs a command from this session again. |
|
||||
|
||||
**Run the active file** supports Python, JavaScript, PowerShell, Bash, Ruby, Windows batch files, and executables.
|
||||
The terminal keeps command history in memory only. PowerShell and Bash record a command after it finishes. Command Prompt records the text that you submit.
|
||||
|
||||
## Configure workspace tasks
|
||||
|
||||
A task is a named command that you can start from a menu.
|
||||
|
||||
1. Choose **Configure tasks…**. RuneStone creates or opens `.runestone/tasks.json`.
|
||||
2. Add an object to the `tasks` array with `label` and `command`.
|
||||
3. Optionally, add `profile` with one of these IDs: `powershell`, `pwsh`, `git-bash`, `cmd`, or `bash`.
|
||||
4. Choose **Run a task…** and select the task.
|
||||
|
||||
Example (`.runestone/tasks.json`):
|
||||
|
||||
```json
|
||||
{
|
||||
"tasks": [
|
||||
{ "label": "Run tests", "command": "pnpm test", "profile": "pwsh" }
|
||||
]
|
||||
}
|
||||
```
|
||||
|
||||
Each task runs in its own terminal at the workspace root. Tasks run only when you select them.
|
||||
|
||||
## Debug JavaScript and use dictation
|
||||
|
||||
**JavaScript Debug Terminal** in the profile menu starts a Node.js REPL with a local inspector on a free port.
|
||||
Attach an external debugger to the address that the terminal shows. RuneStone does not include a debugger.
|
||||
|
||||
**Start dictation** starts Windows voice typing (Win+H) in the focused terminal. Set up the microphone and voice typing in Windows first.
|
||||
On other systems, use the dictation shortcut of the operating system.
|
||||
|
||||
## Turn Terminal off
|
||||
|
||||
1. Open **Settings → Features**.
|
||||
2. Clear **Terminal**.
|
||||
3. If a window runs a shell, RuneStone asks "Terminal sessions will end. Turn off Terminal?". Confirm to continue.
|
||||
|
||||
Off ends the terminal sessions of every window. The Terminal buttons, shortcuts, and Help rows do not show. A terminal window shows "Terminal is off. Turn it on in Settings → Features."
|
||||
Your terminal settings and `.runestone/tasks.json` stay. Turn Terminal on again in the same place.
|
||||
@@ -0,0 +1,171 @@
|
||||
# Appearance and custom themes
|
||||
|
||||
[RuneStone](../../README.md) · [User guide](../user-guide.md)
|
||||
|
||||
This guide explains how to choose colors, show a background, and edit, create, or share a custom theme.
|
||||
|
||||
Open **Settings → Appearance**. Appearance settings apply to all workspaces on this computer and to all open windows.
|
||||
|
||||
## Choose a color theme
|
||||
|
||||
| Theme | Appearances |
|
||||
| --- | --- |
|
||||
| RuneStone | Light and dark |
|
||||
| Claude | Light and dark |
|
||||
| Sakura | Light only |
|
||||
| Harvest Moon, Crimson Pilot, Silver Serpent | Dark only |
|
||||
|
||||
Select a theme card to use that theme. A check mark shows the current theme. In the cards, the arrow keys move to the next theme and select it.
|
||||
|
||||
Each named theme has its own fonts and syntax colors. Fonts come from your computer. RuneStone does not download fonts.
|
||||
|
||||
## Adjust transparency
|
||||
|
||||
**Transparent surfaces** tints work areas with a [background](#show-a-background) and compatible plugin surfaces.
|
||||
Without a background image, menus are opaque. With an image, menus use the same transparency as other surfaces and blur the image.
|
||||
Set **Transparency amount** from 0% to 100%. The default is 18%.
|
||||
Turn off **Transparent surfaces** for opaque surfaces. Text and icons stay opaque in both cases.
|
||||
|
||||
## Show a background
|
||||
|
||||
The **Background** section shows a folder of images as a slideshow, or one image, behind the workspace.
|
||||
Set **Background source** to **Folder**, **Image**, or **None**.
|
||||
|
||||
### Show a folder as a slideshow
|
||||
|
||||
1. Set **Background source** to **Folder**, or choose **Choose folder…**.
|
||||
2. Select a folder with PNG, JPEG, GIF, or WebP images. Each image can be up to 64 MiB.
|
||||
3. Set **Seconds per image** from 1 to 86,400.
|
||||
4. Set **Image order** to **File name** or **Random**.
|
||||
|
||||
**File name** uses natural order, so `2.png` comes before `10.png`. **Random** does not repeat the current image when the folder has other images.
|
||||
Images fade over two seconds. When your system reduces motion, the images change without a fade.
|
||||
RuneStone reads the folder again when a window gets the focus, after a settings change, and after every 10 images.
|
||||
Subfolders, links, and unreadable files do not show. When no image loads, the background goes away, and RuneStone tries again after the image time, at least 5 seconds.
|
||||
**Remove folder** forgets the folder. It changes no file.
|
||||
|
||||
### Show one image
|
||||
|
||||
1. Set **Background source** to **Image**, or choose **Choose image…**.
|
||||
2. Select a PNG, JPEG, WebP, or GIF file up to 50 MiB.
|
||||
|
||||
RuneStone keeps the image on this computer. **Remove image** deletes the saved copy. It does not change your file.
|
||||
|
||||
### Set the layout
|
||||
|
||||
- **Image size**: **Fill**, **Fit**, or **Actual size**.
|
||||
- **Image position**: one of nine positions.
|
||||
- **Image overlay**: from -100% to 100%. Negative values lighten the image, and positive values darken it.
|
||||
|
||||
The folder and the image keep separate layouts.
|
||||
|
||||
### Change one image of the folder
|
||||
|
||||
Portrait images show in full over a blurred fill by default. To change one image:
|
||||
|
||||
1. Open **Per-image appearance**.
|
||||
2. Choose the image in **Image**. Type part of its name to find it.
|
||||
3. Set **Fit**, **Position**, and **Overlay**. The preview shows the result.
|
||||
4. Choose **Save image appearance**.
|
||||
|
||||
**Reset image appearance** returns the image to the folder layout.
|
||||
RuneStone keeps these settings in `.runestone-backgrounds.json` in the image folder. When another program changed the file, choose **Reload image settings** and make the change again.
|
||||
|
||||
### Choose where the background shows
|
||||
|
||||
Under **Show the background in**, select **The workspace and new tabs**, **All Project Management boards**, or one board.
|
||||
The board list shows the Project Management boards of the current workspace. A saved board that is not available shows as **Unavailable board**, so that you can clear it.
|
||||
A blank tab of a browser window also shows the background.
|
||||
|
||||
### Next and Pause
|
||||
|
||||
- **Next background image** in the command palette (Ctrl+Shift+P) or **Next image** in the settings shows the next image in every window.
|
||||
- **Pause background** in the command palette or **Pause slideshow** in the settings keeps the current image. Use the same command to resume.
|
||||
|
||||
### Turn Background off
|
||||
|
||||
Background is on by default. To turn it off, open **Settings → Features** and clear **Background**.
|
||||
Off removes the background at once in all windows, and menus become opaque again. Your folder, image, and settings stay.
|
||||
With **None** or without a folder or an image, Background does not load.
|
||||
|
||||
## Edit a theme
|
||||
|
||||
1. Select the theme that you want to start from.
|
||||
2. Choose **Edit theme**. The theme editor opens as a tab in the workspace window.
|
||||
3. Change a color with its swatch or its hex value. The window shows each change at once.
|
||||
4. Choose **Save**.
|
||||
|
||||
A built-in theme does not change. **Save** creates a custom theme from it, with only the colors that you changed. The built-in theme stays its base.
|
||||
|
||||
- Each color shows its lowest contrast result. A warning icon marks a color that fails a [readability rule](../ui-color.md#readability-rules). Point to the result to see the failed checks.
|
||||
- The reset button returns a color to the value of the base theme.
|
||||
- **Discard** returns to the saved colors. **Duplicate** saves a copy and selects it.
|
||||
- If you close the tab without **Save**, the window returns to the saved theme.
|
||||
|
||||
## Create a theme file
|
||||
|
||||
1. Select the theme and appearance that you want to start from.
|
||||
2. Choose **Export theme template**.
|
||||
3. Edit the saved JSON file in a text editor.
|
||||
4. Choose **Install theme** and select the file.
|
||||
|
||||
The template contains every color and font of the theme. A custom theme has one fixed mode: light or dark.
|
||||
|
||||
A theme file can also be short. It gives only the colors that differ from its `base` theme. The base theme gives all other colors and its fonts.
|
||||
|
||||
Example (a short theme file that changes two colors of Harvest Moon):
|
||||
|
||||
```json
|
||||
{
|
||||
"schema": 3,
|
||||
"id": "harbor",
|
||||
"name": "Harbor",
|
||||
"mode": "dark",
|
||||
"base": "harvest-moon",
|
||||
"colors": {
|
||||
"accent": "#00c8ff",
|
||||
"link": "#5cd6ff"
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
### Theme file rules
|
||||
|
||||
| Field | Rule |
|
||||
| --- | --- |
|
||||
| File | JSON, smaller than 64 KiB |
|
||||
| `schema` | `3`. RuneStone also imports schema 1 and 2 files and converts them. A schema 1 file gives the palette of the current appearance. |
|
||||
| `id` | Starts with a lowercase letter. Lowercase letters, numbers, and hyphens. Up to 64 characters. A theme with the same ID replaces the installed theme. |
|
||||
| `name` | Up to 80 characters |
|
||||
| `mode` | `light` or `dark` |
|
||||
| `base` | Optional. The ID of a built-in theme that has a palette in `mode`: `default` (RuneStone), `claude`, `sakura`, `harvest-moon`, `crimson-pilot`, or `silver-serpent`. Without `base`, RuneStone is the base. |
|
||||
| `colors` | The colors that differ from the base theme. Each value is a hexadecimal color with 3, 4, 6, or 8 digits. |
|
||||
| `fonts` | Optional. Font stacks for `ui`, `prose`, `heading`, and `mono`, such as `"mono": "Cascadia Mono, monospace"`. Without a stack, the base theme gives it. |
|
||||
|
||||
An unknown key or a color that is not valid stops the installation with an error.
|
||||
Some colors come from other colors when neither the file nor the base theme gives them. For example, `link` and `focus` come from `accent`.
|
||||
Font stacks name fonts that are installed on the computer. A theme file cannot install fonts or contain scripts, style rules, or plugin code.
|
||||
|
||||
### Color keys
|
||||
|
||||
| Keys | Use |
|
||||
| --- | --- |
|
||||
| `bg`, `bg-elevated`, `bg-active`, `border` | The page, side panes and menus, hover fills, and borders |
|
||||
| `text`, `text-dim`, `text-strong` | Normal, secondary, and prominent text |
|
||||
| `accent`, `accent-2`, `accent-dim`, `accent-deep` | Theme colors for active states, indicators, and icons |
|
||||
| `link`, `focus`, `on-accent` | Link text, keyboard focus outlines, and text on an accent fill |
|
||||
| `selection`, `item-selection-bg`, `line-highlight`, `highlight`, `scrim` | Text selection, selected rows, the current line in Source, highlighted text, and the backdrop behind dialogs |
|
||||
| `error`, `warn`, `warn-hot`, `ok`, `special` | Status and special content |
|
||||
| `syntax-keyword`, `syntax-string`, `syntax-number`, `syntax-comment`, `syntax-type`, `syntax-function` | Code keywords, values, comments, types, and functions |
|
||||
| `syntax-property`, `syntax-variable`, `syntax-constant`, `syntax-punctuation`, `syntax-heading` | Code properties, variables, constants, punctuation, and Markdown headings |
|
||||
| `ansi-black` to `ansi-white`, `ansi-bright-black` to `ansi-bright-white` | The 16 terminal colors: black, red, green, yellow, blue, magenta, cyan, and white, and a bright variant of each |
|
||||
|
||||
Schema 1 and 2 files used other names for some code colors. RuneStone converts them: `syntax-local` to `syntax-variable`, `syntax-instance` to `syntax-property`, and `syntax-global` to `syntax-constant` and `syntax-punctuation`. Source never used `syntax-parameter` and `syntax-static`, so RuneStone ignores them.
|
||||
|
||||
Before you share a theme, check text, links, focus outlines, selections, and surfaces with a background image.
|
||||
Keep informative text and symbols opaque. See the [functional color requirements](../ui-color.md).
|
||||
|
||||
## Share or remove a theme
|
||||
|
||||
To share a custom theme, select it and choose **Export theme template**. The other person installs the JSON file with **Install theme**.
|
||||
**Remove custom theme** removes the theme and selects the RuneStone colors.
|
||||
Reference in New Issue
Block a user