@fresh-editor/fresh-editor 0.1.90 → 0.1.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +65 -0
- package/README.md +8 -7
- package/package.json +1 -1
- package/plugins/README.md +2 -2
- package/plugins/config-schema.json +28 -0
- package/plugins/examples/README.md +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,70 @@
|
|
|
1
1
|
# Release Notes
|
|
2
2
|
|
|
3
|
+
## 0.1.94
|
|
4
|
+
|
|
5
|
+
### Documentation
|
|
6
|
+
|
|
7
|
+
* **New documentation site**: @radiorambo contributed a complete restructure and build for a documentation section in the website. Kudos, awesome work!
|
|
8
|
+
|
|
9
|
+
See [getfresh.dev/docs](https://getfresh.dev/docs)
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* **Event Debug Dialog**: New diagnostic tool for troubleshooting keyboard and terminal issues. Shows raw key codes and modifiers as they are received, helping diagnose keybinding problems. Access via Command Palette → "Event Debug".
|
|
14
|
+
|
|
15
|
+
* **File Explorer Keybindings**: Reorganized the keys and updated the docs. Ctrl+E now toggles focus between file explorer and editor. Ctrl+B toggles sidebar visibility. Single-click opens files without leaving explorer; double-click or Enter opens and focuses editor (#748).
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **Case Conversion Enhancement**: To Upper (Alt+U) and To Lower (Alt+L) now automatically select the current word when no text is selected, matching common editor behavior.
|
|
20
|
+
|
|
21
|
+
* **Block Selection Copy**: Fixed Ctrl+C copying entire lines instead of the rectangular region. Block selection (Alt+Shift+Arrow) now correctly copies only the characters within the column bounds for each line.
|
|
22
|
+
|
|
23
|
+
* **Block Selection Editing**: Block selection now converts to multiple cursors for editing actions (typing, delete, backspace), enabling proper rectangular editing.
|
|
24
|
+
|
|
25
|
+
* **Dropdown Menu Position**: Fixed Help menu dropdown appearing at wrong position when Explorer menu was hidden. Menu position calculation now correctly skips hidden menus.
|
|
26
|
+
|
|
27
|
+
* **Settings Access**: Moved Settings to Edit menu and removed broken Ctrl+, keybinding which doesn't work reliably in terminals. Settings remain accessible via Edit → Settings... and Command Palette.
|
|
28
|
+
|
|
29
|
+
* **Block Selection Rendering**: Fixed double rendering of block selections that could cause visual artifacts.
|
|
30
|
+
|
|
31
|
+
### Internal
|
|
32
|
+
|
|
33
|
+
* **Remote Save Optimization**: SSH remote editing now uses recipe-based patched saves. For large files with small edits, only the changed portions are transferred instead of the entire file. A 10MB file with a 100-byte edit now transfers ~200 bytes instead of 10MB.
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
## 0.1.93
|
|
38
|
+
|
|
39
|
+
### Experimental
|
|
40
|
+
|
|
41
|
+
* **SSH Remote Editing**: Edit files on remote machines via SSH using `fresh user@host:path`. Supports password/key auth, sudo save, and file explorer integration.
|
|
42
|
+
|
|
43
|
+
### Features
|
|
44
|
+
|
|
45
|
+
* **Bracket Matching**: Highlight matching brackets with rainbow colors based on nesting depth. Configurable via `highlight_matching_brackets` and `rainbow_brackets`.
|
|
46
|
+
* **Whitespace Cleanup**: New `trim_trailing_whitespace_on_save` and `ensure_final_newline_on_save` options, plus manual commands.
|
|
47
|
+
* **Shift+Click Selection**: Extend selection to clicked position with Shift+click or Ctrl+click.
|
|
48
|
+
* **Terminal Mouse Forwarding**: Mouse events forwarded to terminal in alternate screen mode (vim, htop, etc.) (#853).
|
|
49
|
+
* **Tab Bar Scroll Buttons**: Click `<`/`>` buttons to scroll through tabs.
|
|
50
|
+
* **Library Files Protection**: Files outside project root are read-only and have LSP disabled.
|
|
51
|
+
* **Buffer Focus History**: Closing a buffer returns to previously focused buffer instead of adjacent tab.
|
|
52
|
+
|
|
53
|
+
### Bug Fixes
|
|
54
|
+
|
|
55
|
+
* **Multi-Cursor Cut**: Fixed cut not deleting all selections with multiple cursors.
|
|
56
|
+
* **Tab Scroll**: Fixed tab scroll buttons and active tab visibility.
|
|
57
|
+
|
|
58
|
+
### Packaging
|
|
59
|
+
|
|
60
|
+
* **AUR aarch64**: Added aarch64 support for Arch Linux ARM (#856).
|
|
61
|
+
|
|
62
|
+
### Internal
|
|
63
|
+
|
|
64
|
+
* Nix: Switched to `flake.parts`, added `shell.nix`/`default.nix` compatibility (@drupol).
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
3
68
|
## 0.1.90
|
|
4
69
|
|
|
5
70
|
### Features
|
package/README.md
CHANGED
|
@@ -40,9 +40,10 @@ Fresh is engineered for speed. It delivers a low-latency experience, with text a
|
|
|
40
40
|
- **Plugins & Extensibility**: TypeScript plugins, color highlighter, TODO highlighter, merge conflicts, path complete, keymaps
|
|
41
41
|
- **Internationalization**: Multiple language support (see [`locales/`](locales/) for available languages), plugin translation system
|
|
42
42
|
|
|
43
|
-

|
|
44
|
+

|
|
45
|
+

|
|
46
|
+

|
|
46
47
|
|
|
47
48
|
## Installation
|
|
48
49
|
|
|
@@ -218,10 +219,10 @@ cargo build --release
|
|
|
218
219
|
|
|
219
220
|
## Documentation
|
|
220
221
|
|
|
221
|
-
- [User Guide](docs/
|
|
222
|
-
- [macOS Tips](docs/
|
|
223
|
-
- [Plugin Development](docs/
|
|
224
|
-
- [Architecture](docs/
|
|
222
|
+
- [User Guide](https://sinelaw.github.io/fresh/docs/guide/)
|
|
223
|
+
- [macOS Tips](https://sinelaw.github.io/fresh/docs/guide/keyboard#macos-terminal-configuration) - Terminal configuration, keyboard shortcuts, and troubleshooting for Mac users
|
|
224
|
+
- [Plugin Development](https://sinelaw.github.io/fresh/docs/development/plugin-development)
|
|
225
|
+
- [Architecture](https://sinelaw.github.io/fresh/docs/development/architecture)
|
|
225
226
|
|
|
226
227
|
## Contributing
|
|
227
228
|
|
package/package.json
CHANGED
package/plugins/README.md
CHANGED
|
@@ -65,8 +65,8 @@ The `examples/` directory contains educational examples demonstrating specific A
|
|
|
65
65
|
## Plugin Development
|
|
66
66
|
|
|
67
67
|
For plugin development guides, see:
|
|
68
|
-
- **Getting Started:** [`docs/
|
|
69
|
-
- **API Reference:** [`docs/plugin-api.md`](../docs/plugin-api.md)
|
|
68
|
+
- **Getting Started:** [`docs/development/plugin-development.md`](../docs/development/plugin-development.md)
|
|
69
|
+
- **API Reference:** [`docs/development/plugin-api.md`](../docs/development/plugin-api.md)
|
|
70
70
|
- **Examples:** [`examples/README.md`](examples/README.md)
|
|
71
71
|
- **Clangd Plugin:** [`clangd_support.md`](clangd_support.md)
|
|
72
72
|
|
|
@@ -42,6 +42,10 @@
|
|
|
42
42
|
"auto_indent": true,
|
|
43
43
|
"scroll_offset": 3,
|
|
44
44
|
"default_line_ending": "lf",
|
|
45
|
+
"trim_trailing_whitespace_on_save": false,
|
|
46
|
+
"ensure_final_newline_on_save": false,
|
|
47
|
+
"highlight_matching_brackets": true,
|
|
48
|
+
"rainbow_brackets": true,
|
|
45
49
|
"quick_suggestions": true,
|
|
46
50
|
"quick_suggestions_delay_ms": 10,
|
|
47
51
|
"suggest_on_trigger_characters": true,
|
|
@@ -265,6 +269,30 @@
|
|
|
265
269
|
"x-section": "Editing",
|
|
266
270
|
"default": "lf"
|
|
267
271
|
},
|
|
272
|
+
"trim_trailing_whitespace_on_save": {
|
|
273
|
+
"description": "Remove trailing whitespace from lines when saving.\nDefault: false",
|
|
274
|
+
"type": "boolean",
|
|
275
|
+
"x-section": "Editing",
|
|
276
|
+
"default": false
|
|
277
|
+
},
|
|
278
|
+
"ensure_final_newline_on_save": {
|
|
279
|
+
"description": "Ensure files end with a newline when saving.\nDefault: false",
|
|
280
|
+
"type": "boolean",
|
|
281
|
+
"x-section": "Editing",
|
|
282
|
+
"default": false
|
|
283
|
+
},
|
|
284
|
+
"highlight_matching_brackets": {
|
|
285
|
+
"description": "Highlight matching bracket pairs when cursor is on a bracket.\nDefault: true",
|
|
286
|
+
"type": "boolean",
|
|
287
|
+
"x-section": "Bracket Matching",
|
|
288
|
+
"default": true
|
|
289
|
+
},
|
|
290
|
+
"rainbow_brackets": {
|
|
291
|
+
"description": "Use rainbow colors for nested brackets based on nesting depth.\nRequires highlight_matching_brackets to be enabled.\nDefault: true",
|
|
292
|
+
"type": "boolean",
|
|
293
|
+
"x-section": "Bracket Matching",
|
|
294
|
+
"default": true
|
|
295
|
+
},
|
|
268
296
|
"quick_suggestions": {
|
|
269
297
|
"description": "Enable quick suggestions (VS Code-like behavior).\nWhen enabled, completion suggestions appear automatically while typing,\nnot just on trigger characters (like `.` or `::`).\nDefault: true",
|
|
270
298
|
"type": "boolean",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
This directory contains example plugins demonstrating the editor's plugin system. These are educational examples showing specific API features.
|
|
4
4
|
|
|
5
|
-
For the complete API reference, see **[docs/plugin-api.md](../../docs/plugin-api.md)**.
|
|
5
|
+
For the complete API reference, see **[docs/development/plugin-api.md](../../docs/development/plugin-api.md)**.
|
|
6
6
|
|
|
7
7
|
## Available Examples
|
|
8
8
|
|
|
@@ -81,5 +81,5 @@ editor.debug("My custom plugin loaded");
|
|
|
81
81
|
|
|
82
82
|
## Further Reading
|
|
83
83
|
|
|
84
|
-
- **Getting Started:** [docs/
|
|
85
|
-
- **API Reference:** [docs/plugin-api.md](../../docs/plugin-api.md)
|
|
84
|
+
- **Getting Started:** [docs/development/plugin-development.md](../../docs/development/plugin-development.md)
|
|
85
|
+
- **API Reference:** [docs/development/plugin-api.md](../../docs/development/plugin-api.md)
|