@fresh-editor/fresh-editor 0.2.1 → 0.2.2
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 +20 -0
- package/README.md +1 -1
- package/package.json +1 -1
- package/plugins/config-schema.json +78 -78
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Release Notes
|
|
2
2
|
|
|
3
|
+
## 0.2.2
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* **Regex Find-and-Replace**: Fixed regex mode not working. Added capture group support (`$1`, `$2`, `${name}`) and a toolbar hint when regex mode is active.
|
|
8
|
+
|
|
9
|
+
* **Keybinding Editor**: Fixed actions with no default keybinding missing from the editor; all actions are now listed. Fixed inability to delete built-in keymap bindings. Fixed deleted bindings reappearing after save.
|
|
10
|
+
|
|
11
|
+
* **LSP Completion Popup**: Fixed completion popup blocking typing when not working in non-English locales.
|
|
12
|
+
|
|
13
|
+
* **Revised in-editor help**: Rewrote the in-memory help manual, should be a bit more useful.
|
|
14
|
+
|
|
15
|
+
### Internal
|
|
16
|
+
|
|
17
|
+
* Refactored keybinding editor into multi-file module.
|
|
18
|
+
* Locked Cargo.toml dependency versions to minor; docs recommend `--locked`. Dependency updates.
|
|
19
|
+
* ~53 documentation clarity fixes.
|
|
20
|
+
|
|
21
|
+
---
|
|
22
|
+
|
|
3
23
|
## 0.2.0
|
|
4
24
|
|
|
5
25
|
### Features
|
package/README.md
CHANGED
package/package.json
CHANGED
|
@@ -145,9 +145,9 @@
|
|
|
145
145
|
"additionalProperties": {
|
|
146
146
|
"$ref": "#/$defs/PluginConfig"
|
|
147
147
|
},
|
|
148
|
+
"default": {},
|
|
148
149
|
"x-standalone-category": true,
|
|
149
|
-
"x-no-add": true
|
|
150
|
-
"default": {}
|
|
150
|
+
"x-no-add": true
|
|
151
151
|
},
|
|
152
152
|
"packages": {
|
|
153
153
|
"description": "Package manager settings for plugin/theme installation",
|
|
@@ -197,256 +197,256 @@
|
|
|
197
197
|
"line_numbers": {
|
|
198
198
|
"description": "Show line numbers in the gutter (default for new buffers)",
|
|
199
199
|
"type": "boolean",
|
|
200
|
-
"
|
|
201
|
-
"
|
|
200
|
+
"default": true,
|
|
201
|
+
"x-section": "Display"
|
|
202
202
|
},
|
|
203
203
|
"relative_line_numbers": {
|
|
204
204
|
"description": "Show line numbers relative to cursor position",
|
|
205
205
|
"type": "boolean",
|
|
206
|
-
"
|
|
207
|
-
"
|
|
206
|
+
"default": false,
|
|
207
|
+
"x-section": "Display"
|
|
208
208
|
},
|
|
209
209
|
"line_wrap": {
|
|
210
210
|
"description": "Wrap long lines to fit the window width (default for new views)",
|
|
211
211
|
"type": "boolean",
|
|
212
|
-
"
|
|
213
|
-
"
|
|
212
|
+
"default": true,
|
|
213
|
+
"x-section": "Display"
|
|
214
214
|
},
|
|
215
215
|
"syntax_highlighting": {
|
|
216
216
|
"description": "Enable syntax highlighting for code files",
|
|
217
217
|
"type": "boolean",
|
|
218
|
-
"
|
|
219
|
-
"
|
|
218
|
+
"default": true,
|
|
219
|
+
"x-section": "Display"
|
|
220
220
|
},
|
|
221
221
|
"show_menu_bar": {
|
|
222
222
|
"description": "Whether the menu bar is visible by default.\nThe menu bar provides access to menus (File, Edit, View, etc.) at the top of the screen.\nCan be toggled at runtime via command palette or keybinding.\nDefault: true",
|
|
223
223
|
"type": "boolean",
|
|
224
|
-
"
|
|
225
|
-
"
|
|
224
|
+
"default": true,
|
|
225
|
+
"x-section": "Display"
|
|
226
226
|
},
|
|
227
227
|
"show_tab_bar": {
|
|
228
228
|
"description": "Whether the tab bar is visible by default.\nThe tab bar shows open files in each split pane.\nCan be toggled at runtime via command palette or keybinding.\nDefault: true",
|
|
229
229
|
"type": "boolean",
|
|
230
|
-
"
|
|
231
|
-
"
|
|
230
|
+
"default": true,
|
|
231
|
+
"x-section": "Display"
|
|
232
232
|
},
|
|
233
233
|
"use_terminal_bg": {
|
|
234
234
|
"description": "Use the terminal's default background color instead of the theme's editor background.\nWhen enabled, the editor background inherits from the terminal emulator,\nallowing transparency or custom terminal backgrounds to show through.\nDefault: false",
|
|
235
235
|
"type": "boolean",
|
|
236
|
-
"
|
|
237
|
-
"
|
|
236
|
+
"default": false,
|
|
237
|
+
"x-section": "Display"
|
|
238
238
|
},
|
|
239
239
|
"cursor_style": {
|
|
240
240
|
"description": "Cursor style for the terminal cursor.\nOptions: blinking_block, steady_block, blinking_bar, steady_bar, blinking_underline, steady_underline\nDefault: blinking_block",
|
|
241
241
|
"$ref": "#/$defs/CursorStyle",
|
|
242
|
-
"
|
|
243
|
-
"
|
|
242
|
+
"default": "default",
|
|
243
|
+
"x-section": "Display"
|
|
244
244
|
},
|
|
245
245
|
"tab_size": {
|
|
246
246
|
"description": "Number of spaces per tab character",
|
|
247
247
|
"type": "integer",
|
|
248
248
|
"format": "uint",
|
|
249
249
|
"minimum": 0,
|
|
250
|
-
"
|
|
251
|
-
"
|
|
250
|
+
"default": 4,
|
|
251
|
+
"x-section": "Editing"
|
|
252
252
|
},
|
|
253
253
|
"auto_indent": {
|
|
254
254
|
"description": "Automatically indent new lines based on the previous line",
|
|
255
255
|
"type": "boolean",
|
|
256
|
-
"
|
|
257
|
-
"
|
|
256
|
+
"default": true,
|
|
257
|
+
"x-section": "Editing"
|
|
258
258
|
},
|
|
259
259
|
"scroll_offset": {
|
|
260
260
|
"description": "Minimum lines to keep visible above/below cursor when scrolling",
|
|
261
261
|
"type": "integer",
|
|
262
262
|
"format": "uint",
|
|
263
263
|
"minimum": 0,
|
|
264
|
-
"
|
|
265
|
-
"
|
|
264
|
+
"default": 3,
|
|
265
|
+
"x-section": "Editing"
|
|
266
266
|
},
|
|
267
267
|
"default_line_ending": {
|
|
268
268
|
"description": "Default line ending format for new files.\nFiles loaded from disk will use their detected line ending format.\nOptions: \"lf\" (Unix/Linux/macOS), \"crlf\" (Windows), \"cr\" (Classic Mac)\nDefault: \"lf\"",
|
|
269
269
|
"$ref": "#/$defs/LineEndingOption",
|
|
270
|
-
"
|
|
271
|
-
"
|
|
270
|
+
"default": "lf",
|
|
271
|
+
"x-section": "Editing"
|
|
272
272
|
},
|
|
273
273
|
"trim_trailing_whitespace_on_save": {
|
|
274
274
|
"description": "Remove trailing whitespace from lines when saving.\nDefault: false",
|
|
275
275
|
"type": "boolean",
|
|
276
|
-
"
|
|
277
|
-
"
|
|
276
|
+
"default": false,
|
|
277
|
+
"x-section": "Editing"
|
|
278
278
|
},
|
|
279
279
|
"ensure_final_newline_on_save": {
|
|
280
280
|
"description": "Ensure files end with a newline when saving.\nDefault: false",
|
|
281
281
|
"type": "boolean",
|
|
282
|
-
"
|
|
283
|
-
"
|
|
282
|
+
"default": false,
|
|
283
|
+
"x-section": "Editing"
|
|
284
284
|
},
|
|
285
285
|
"highlight_matching_brackets": {
|
|
286
286
|
"description": "Highlight matching bracket pairs when cursor is on a bracket.\nDefault: true",
|
|
287
287
|
"type": "boolean",
|
|
288
|
-
"
|
|
289
|
-
"
|
|
288
|
+
"default": true,
|
|
289
|
+
"x-section": "Bracket Matching"
|
|
290
290
|
},
|
|
291
291
|
"rainbow_brackets": {
|
|
292
292
|
"description": "Use rainbow colors for nested brackets based on nesting depth.\nRequires highlight_matching_brackets to be enabled.\nDefault: true",
|
|
293
293
|
"type": "boolean",
|
|
294
|
-
"
|
|
295
|
-
"
|
|
294
|
+
"default": true,
|
|
295
|
+
"x-section": "Bracket Matching"
|
|
296
296
|
},
|
|
297
297
|
"quick_suggestions": {
|
|
298
298
|
"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",
|
|
299
299
|
"type": "boolean",
|
|
300
|
-
"
|
|
301
|
-
"
|
|
300
|
+
"default": true,
|
|
301
|
+
"x-section": "Completion"
|
|
302
302
|
},
|
|
303
303
|
"quick_suggestions_delay_ms": {
|
|
304
304
|
"description": "Delay in milliseconds before showing completion suggestions.\nLower values (10-50ms) feel more responsive but may be distracting.\nHigher values (100-500ms) reduce noise while typing.\nTrigger characters (like `.`) bypass this delay.\nDefault: 10 (matches VS Code)",
|
|
305
305
|
"type": "integer",
|
|
306
306
|
"format": "uint64",
|
|
307
307
|
"minimum": 0,
|
|
308
|
-
"
|
|
309
|
-
"
|
|
308
|
+
"default": 10,
|
|
309
|
+
"x-section": "Completion"
|
|
310
310
|
},
|
|
311
311
|
"suggest_on_trigger_characters": {
|
|
312
312
|
"description": "Whether trigger characters (like `.`, `::`, `->`) immediately show completions.\nWhen true, typing a trigger character bypasses quick_suggestions_delay_ms.\nDefault: true",
|
|
313
313
|
"type": "boolean",
|
|
314
|
-
"
|
|
315
|
-
"
|
|
314
|
+
"default": true,
|
|
315
|
+
"x-section": "Completion"
|
|
316
316
|
},
|
|
317
317
|
"accept_suggestion_on_enter": {
|
|
318
318
|
"description": "Controls whether pressing Enter accepts the selected completion.\n- \"on\": Enter always accepts the completion\n- \"off\": Enter inserts a newline (use Tab to accept)\n- \"smart\": Enter accepts only if the completion text differs from typed text\nDefault: \"on\"",
|
|
319
319
|
"$ref": "#/$defs/AcceptSuggestionOnEnter",
|
|
320
|
-
"
|
|
321
|
-
"
|
|
320
|
+
"default": "on",
|
|
321
|
+
"x-section": "Completion"
|
|
322
322
|
},
|
|
323
323
|
"enable_inlay_hints": {
|
|
324
324
|
"description": "Whether to enable LSP inlay hints (type hints, parameter hints, etc.)",
|
|
325
325
|
"type": "boolean",
|
|
326
|
-
"
|
|
327
|
-
"
|
|
326
|
+
"default": true,
|
|
327
|
+
"x-section": "LSP"
|
|
328
328
|
},
|
|
329
329
|
"enable_semantic_tokens_full": {
|
|
330
330
|
"description": "Whether to request full-document LSP semantic tokens.\nRange requests are still used when supported.\nDefault: false (range-only to avoid heavy full refreshes).",
|
|
331
331
|
"type": "boolean",
|
|
332
|
-
"
|
|
333
|
-
"
|
|
332
|
+
"default": false,
|
|
333
|
+
"x-section": "LSP"
|
|
334
334
|
},
|
|
335
335
|
"mouse_hover_enabled": {
|
|
336
336
|
"description": "Whether mouse hover triggers LSP hover requests.\nWhen enabled, hovering over code with the mouse will show documentation.\nDefault: true",
|
|
337
337
|
"type": "boolean",
|
|
338
|
-
"
|
|
339
|
-
"
|
|
338
|
+
"default": true,
|
|
339
|
+
"x-section": "Mouse"
|
|
340
340
|
},
|
|
341
341
|
"mouse_hover_delay_ms": {
|
|
342
342
|
"description": "Delay in milliseconds before a mouse hover triggers an LSP hover request.\nLower values show hover info faster but may cause more LSP server load.\nDefault: 500ms",
|
|
343
343
|
"type": "integer",
|
|
344
344
|
"format": "uint64",
|
|
345
345
|
"minimum": 0,
|
|
346
|
-
"
|
|
347
|
-
"
|
|
346
|
+
"default": 500,
|
|
347
|
+
"x-section": "Mouse"
|
|
348
348
|
},
|
|
349
349
|
"double_click_time_ms": {
|
|
350
350
|
"description": "Time window in milliseconds for detecting double-clicks.\nTwo clicks within this time are treated as a double-click (word selection).\nDefault: 500ms",
|
|
351
351
|
"type": "integer",
|
|
352
352
|
"format": "uint64",
|
|
353
353
|
"minimum": 0,
|
|
354
|
-
"
|
|
355
|
-
"
|
|
354
|
+
"default": 500,
|
|
355
|
+
"x-section": "Mouse"
|
|
356
356
|
},
|
|
357
357
|
"recovery_enabled": {
|
|
358
358
|
"description": "Whether to enable file recovery (Emacs-style auto-save)\nWhen enabled, buffers are periodically saved to recovery files\nso they can be recovered if the editor crashes.",
|
|
359
359
|
"type": "boolean",
|
|
360
|
-
"
|
|
361
|
-
"
|
|
360
|
+
"default": true,
|
|
361
|
+
"x-section": "Recovery"
|
|
362
362
|
},
|
|
363
363
|
"auto_save_interval_secs": {
|
|
364
364
|
"description": "Auto-save interval in seconds for file recovery\nModified buffers are saved to recovery files at this interval.\nDefault: 2 seconds for fast recovery with minimal data loss.\nSet to 0 to disable periodic auto-save (manual recovery only).",
|
|
365
365
|
"type": "integer",
|
|
366
366
|
"format": "uint32",
|
|
367
367
|
"minimum": 0,
|
|
368
|
-
"
|
|
369
|
-
"
|
|
368
|
+
"default": 2,
|
|
369
|
+
"x-section": "Recovery"
|
|
370
370
|
},
|
|
371
371
|
"auto_revert_poll_interval_ms": {
|
|
372
372
|
"description": "Poll interval in milliseconds for auto-reverting open buffers.\nWhen auto-revert is enabled, file modification times are checked at this interval.\nLower values detect external changes faster but use more CPU.\nDefault: 2000ms (2 seconds)",
|
|
373
373
|
"type": "integer",
|
|
374
374
|
"format": "uint64",
|
|
375
375
|
"minimum": 0,
|
|
376
|
-
"
|
|
377
|
-
"
|
|
376
|
+
"default": 2000,
|
|
377
|
+
"x-section": "Recovery"
|
|
378
378
|
},
|
|
379
379
|
"keyboard_disambiguate_escape_codes": {
|
|
380
380
|
"description": "Enable keyboard enhancement: disambiguate escape codes using CSI-u sequences.\nThis allows unambiguous reading of Escape and modified keys.\nRequires terminal support (kitty keyboard protocol).\nDefault: true",
|
|
381
381
|
"type": "boolean",
|
|
382
|
-
"
|
|
383
|
-
"
|
|
382
|
+
"default": true,
|
|
383
|
+
"x-section": "Keyboard"
|
|
384
384
|
},
|
|
385
385
|
"keyboard_report_event_types": {
|
|
386
386
|
"description": "Enable keyboard enhancement: report key event types (repeat/release).\nAdds extra events when keys are autorepeated or released.\nRequires terminal support (kitty keyboard protocol).\nDefault: false",
|
|
387
387
|
"type": "boolean",
|
|
388
|
-
"
|
|
389
|
-
"
|
|
388
|
+
"default": false,
|
|
389
|
+
"x-section": "Keyboard"
|
|
390
390
|
},
|
|
391
391
|
"keyboard_report_alternate_keys": {
|
|
392
392
|
"description": "Enable keyboard enhancement: report alternate keycodes.\nSends alternate keycodes in addition to the base keycode.\nRequires terminal support (kitty keyboard protocol).\nDefault: true",
|
|
393
393
|
"type": "boolean",
|
|
394
|
-
"
|
|
395
|
-
"
|
|
394
|
+
"default": true,
|
|
395
|
+
"x-section": "Keyboard"
|
|
396
396
|
},
|
|
397
397
|
"keyboard_report_all_keys_as_escape_codes": {
|
|
398
398
|
"description": "Enable keyboard enhancement: report all keys as escape codes.\nRepresents all keyboard events as CSI-u sequences.\nRequired for repeat/release events on plain-text keys.\nRequires terminal support (kitty keyboard protocol).\nDefault: false",
|
|
399
399
|
"type": "boolean",
|
|
400
|
-
"
|
|
401
|
-
"
|
|
400
|
+
"default": false,
|
|
401
|
+
"x-section": "Keyboard"
|
|
402
402
|
},
|
|
403
403
|
"highlight_timeout_ms": {
|
|
404
404
|
"description": "Maximum time in milliseconds for syntax highlighting per frame",
|
|
405
405
|
"type": "integer",
|
|
406
406
|
"format": "uint64",
|
|
407
407
|
"minimum": 0,
|
|
408
|
-
"
|
|
409
|
-
"
|
|
408
|
+
"default": 5,
|
|
409
|
+
"x-section": "Performance"
|
|
410
410
|
},
|
|
411
411
|
"snapshot_interval": {
|
|
412
412
|
"description": "Undo history snapshot interval (number of edits between snapshots)",
|
|
413
413
|
"type": "integer",
|
|
414
414
|
"format": "uint",
|
|
415
415
|
"minimum": 0,
|
|
416
|
-
"
|
|
417
|
-
"
|
|
416
|
+
"default": 100,
|
|
417
|
+
"x-section": "Performance"
|
|
418
418
|
},
|
|
419
419
|
"highlight_context_bytes": {
|
|
420
420
|
"description": "Number of bytes to look back/forward from the viewport for syntax highlighting context.\nLarger values improve accuracy for multi-line constructs (strings, comments, nested blocks)\nbut may slow down highlighting for very large files.\nDefault: 10KB (10000 bytes)",
|
|
421
421
|
"type": "integer",
|
|
422
422
|
"format": "uint",
|
|
423
423
|
"minimum": 0,
|
|
424
|
-
"
|
|
425
|
-
"
|
|
424
|
+
"default": 10000,
|
|
425
|
+
"x-section": "Performance"
|
|
426
426
|
},
|
|
427
427
|
"large_file_threshold_bytes": {
|
|
428
428
|
"description": "File size threshold in bytes for \"large file\" behavior\nFiles larger than this will:\n- Skip LSP features\n- Use constant-size scrollbar thumb (1 char)\n\nFiles smaller will count actual lines for accurate scrollbar rendering",
|
|
429
429
|
"type": "integer",
|
|
430
430
|
"format": "uint64",
|
|
431
431
|
"minimum": 0,
|
|
432
|
-
"
|
|
433
|
-
"
|
|
432
|
+
"default": 1048576,
|
|
433
|
+
"x-section": "Performance"
|
|
434
434
|
},
|
|
435
435
|
"estimated_line_length": {
|
|
436
436
|
"description": "Estimated average line length in bytes (used for large file line estimation)\nThis is used by LineIterator to estimate line positions in large files\nwithout line metadata. Typical values: 80-120 bytes.",
|
|
437
437
|
"type": "integer",
|
|
438
438
|
"format": "uint",
|
|
439
439
|
"minimum": 0,
|
|
440
|
-
"
|
|
441
|
-
"
|
|
440
|
+
"default": 80,
|
|
441
|
+
"x-section": "Performance"
|
|
442
442
|
},
|
|
443
443
|
"file_tree_poll_interval_ms": {
|
|
444
444
|
"description": "Poll interval in milliseconds for refreshing expanded directories in the file explorer.\nDirectory modification times are checked at this interval to detect new/deleted files.\nLower values detect changes faster but use more CPU.\nDefault: 3000ms (3 seconds)",
|
|
445
445
|
"type": "integer",
|
|
446
446
|
"format": "uint64",
|
|
447
447
|
"minimum": 0,
|
|
448
|
-
"
|
|
449
|
-
"
|
|
448
|
+
"default": 3000,
|
|
449
|
+
"x-section": "Performance"
|
|
450
450
|
}
|
|
451
451
|
}
|
|
452
452
|
},
|