@fresh-editor/fresh-editor 0.1.90 → 0.1.93

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 CHANGED
@@ -1,5 +1,36 @@
1
1
  # Release Notes
2
2
 
3
+ ## 0.1.93
4
+
5
+ ### Experimental
6
+
7
+ * **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.
8
+
9
+ ### Features
10
+
11
+ * **Bracket Matching**: Highlight matching brackets with rainbow colors based on nesting depth. Configurable via `highlight_matching_brackets` and `rainbow_brackets`.
12
+ * **Whitespace Cleanup**: New `trim_trailing_whitespace_on_save` and `ensure_final_newline_on_save` options, plus manual commands.
13
+ * **Shift+Click Selection**: Extend selection to clicked position with Shift+click or Ctrl+click.
14
+ * **Terminal Mouse Forwarding**: Mouse events forwarded to terminal in alternate screen mode (vim, htop, etc.) (#853).
15
+ * **Tab Bar Scroll Buttons**: Click `<`/`>` buttons to scroll through tabs.
16
+ * **Library Files Protection**: Files outside project root are read-only and have LSP disabled.
17
+ * **Buffer Focus History**: Closing a buffer returns to previously focused buffer instead of adjacent tab.
18
+
19
+ ### Bug Fixes
20
+
21
+ * **Multi-Cursor Cut**: Fixed cut not deleting all selections with multiple cursors.
22
+ * **Tab Scroll**: Fixed tab scroll buttons and active tab visibility.
23
+
24
+ ### Packaging
25
+
26
+ * **AUR aarch64**: Added aarch64 support for Arch Linux ARM (#856).
27
+
28
+ ### Internal
29
+
30
+ * Nix: Switched to `flake.parts`, added `shell.nix`/`default.nix` compatibility (@drupol).
31
+
32
+ ---
33
+
3
34
  ## 0.1.90
4
35
 
5
36
  ### Features
package/README.md CHANGED
@@ -40,6 +40,7 @@ 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
+ ![Fresh Demo](docs/fresh-demo2.gif)
43
44
  ![Fresh Screenshot](docs/screenshot1.png)
44
45
  ![Fresh Screenshot](docs/screenshot2.png)
45
46
  ![Fresh Screenshot](docs/screenshot3.png)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fresh-editor/fresh-editor",
3
- "version": "0.1.90",
3
+ "version": "0.1.93",
4
4
  "description": "A modern terminal-based text editor with plugin support",
5
5
  "repository": {
6
6
  "type": "git",
@@ -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",