107 lines
5.1 KiB
Markdown
107 lines
5.1 KiB
Markdown
# Product scope
|
|
|
|
[Back to RuneStone](../README.md)
|
|
|
|
This reference preserves intended capabilities and design constraints. Some features already exist.
|
|
See the [roadmap](roadmap.md) for goals and milestones, and the [user guide](user-guide.md) for current behavior and limitations.
|
|
|
|
The planned design keeps the core active and adds optional features through separately packaged plugins. Plugin support is not implemented yet.
|
|
|
|
## Workspace and files
|
|
|
|
- Open one folder as the workspace.
|
|
- Keep notes, scripts, and images in the same tree.
|
|
- Honor `.gitignore` in the navigator.
|
|
- Watch the folder for changes. Poll when the path is a network drive.
|
|
- Prefer a local Git clone. Do not treat a live network share as the sync path.
|
|
- Store display order, pins, bookmarks, and plugin settings in `.runestone/`.
|
|
- Open an existing Obsidian folder as files plus wiki links. Ignore `.obsidian`.
|
|
|
|
## Writer and IDE
|
|
|
|
- Use one editor engine for notes and code.
|
|
- Switch chrome between Writer and IDE. Autodetect from the file type. Allow a per-file override.
|
|
- Writer chrome uses wrapped text, a document preview, and image hover previews.
|
|
- IDE chrome uses line numbers, a minimap, and a terminal dock.
|
|
- Left-click a file in the navigation pane to open it in the current tab; middle-click to open it in a new tab. Tabs with unsaved edits stay open. Already-open files select their existing tab. Close a tab with the close control or the middle mouse button.
|
|
- Support Markdown, Python, JavaScript, TypeScript, JSON, YAML, TOML, and shell at first.
|
|
- Parse CommonMark, GFM tasks and tables, YAML frontmatter, wiki links, and tags.
|
|
|
|
## Navigator
|
|
|
|
- Show a left activity bar with Files, Search, and Bookmarks.
|
|
- Click the active item again to hide the sidebar.
|
|
- Right-click empty space to create a folder or a note.
|
|
- Right-click a file for copy, bookmark, path copy, reveal, pin, rename, and delete.
|
|
- Drag files and folders to move them or to set display order.
|
|
- Save display order. Do not reorder inodes for sort.
|
|
- Show a ribbon with new file, new folder, sort, and collapse all or expand all.
|
|
|
|
## Panes
|
|
|
|
- Show an outline of headings and symbols on the right. Allow collapse.
|
|
- Show a minimap of the open buffer.
|
|
- Open a terminal whose working directory is the workspace root.
|
|
- Allow more than one terminal. Add a session and kill that session from a rail on the right of the dock.
|
|
- Show a document preview that renders Markdown images.
|
|
|
|
## Plugins
|
|
|
|
Plugin support is pending. In-house plugins ship with RuneStone as separate packages and use the same interfaces as external plugins.
|
|
Users can enable or disable each plugin. A marketplace is outside the planned scope.
|
|
|
|
### Plugin to-do list
|
|
|
|
- [ ] Build the plugin system: package loading, version checks, permissions, settings, and enable or disable controls.
|
|
- [ ] Define shared interfaces for plugins to add commands, views, and workspace features.
|
|
- [ ] Move the terminal into a separate in-house plugin that ships with RuneStone.
|
|
- [ ] Move Excel-like table features, including formulas and spreadsheet operations, into a separate in-house plugin that ships with RuneStone.
|
|
- [ ] Add a Kanban plugin for boards, columns, and task cards.
|
|
- [ ] Add a Gantt plugin for task timelines and dependencies.
|
|
- [ ] Add a Calendar plugin for dated tasks and events.
|
|
- [ ] Add a virtual tabletop system plugin.
|
|
|
|
Keep basic Markdown table editing and rendering in the core. Users must retain access to workspace files when plugins are disabled.
|
|
Kanban, Gantt, and Calendar are separate plugins that share a task index.
|
|
Kanban boards are Markdown files. Headings are columns. Task list items are cards.
|
|
|
|
### Planned defaults
|
|
|
|
Planned plugins enabled by default:
|
|
|
|
- Terminal. Workspace shells, sessions, and script execution.
|
|
- Tables. Excel-like formulas and spreadsheet operations.
|
|
- Git. Status, stage, commit, pull, push, log, and diff. Use the system `git` binary.
|
|
- Sort. Per-folder order, pin, and hide. Flexplorer is a reference for behavior, not a source of code.
|
|
|
|
Planned plugins disabled by default:
|
|
|
|
- Kanban, Gantt, and Calendar. Separate views for task organization and schedules.
|
|
- Virtual tabletop. Tools for tabletop play within the workspace.
|
|
- Graph. Draw wiki-link edges from the file index.
|
|
- Canvas. Store `.canvas` files in JSON Canvas 1.0.
|
|
- Browser. Open a page in an in-app webview. Block ads with EasyList and EasyPrivacy.
|
|
|
|
## Later work
|
|
|
|
- Background Git for people who do not want to run Git by hand. Timed commit, pull, and push. A history limit is not designed yet.
|
|
- Extend the existing live Markdown preview. See the [user guide](user-guide.md) for current behavior.
|
|
- Language servers for diagnostics and go-to-definition.
|
|
- Wiki-link jump and backlinks from a rebuildable index.
|
|
- A command palette for every command.
|
|
|
|
## Out of scope
|
|
|
|
- A plugin marketplace
|
|
- Obsidian or VS Code plugin compatibility
|
|
- Cloud sync, live collaboration, or mobile
|
|
- A debugger or a full IDE
|
|
- Auto-commit on save
|
|
|
|
## Architecture goals
|
|
|
|
Dark is the primary theme.
|
|
|
|
Privileged operations belong in Rust: disk access, file watching, search, Git, terminal sessions, and adblock matching.
|
|
Git, terminal sessions, spreadsheet operations, and adblock matching belong to planned plugins.
|