Set up your daily desktop preferences / Settings pages
Normal Editor String Snippets
Manage local trigger-to-text snippets with immediate Add, Update and Delete actions.
Where to open it
Settings → Dictionary → Normal Editor String Snippets; clicking Dictionary also opens this page.
Save controls
Use the named controls; focus and entry scope determine the effect.
| Action | Windows / Linux | macOS | Effect |
|---|---|---|---|
| Apply / OK | Apply / OK | Apply / OK | Save ordinary page edits; see immediate actions below. |
| Cancel / Esc | Cancel / Esc | Cancel / Esc | Close; does not undo earlier Apply or independently saved operations. |
Before you start
Inspect your current values first. These are current-source defaults, not a reset of your saved configuration or values inferred from a screenshot.
Follow these steps
- Select an existing trigger to load Trigger, Code Snippets and optional Description. No universal user-snippet default list is established here; inspect the actual saved local records.
- To add a future practice item, choose an unused trigger such as docnote and harmless text such as -- documentation note, then Add. Trigger and content are required; Add writes immediately.
- To update, select an existing entry and keep its trigger stable before Update. The implementation deletes/re-adds the typed trigger; changing the trigger is not an atomic rename and can leave the original entry.
- Delete confirms then immediately removes the typed trigger. Refresh reloads the list/cache/runtime patterns; it does not save unfinished editor text. Formatting the snippet edits its text only; review before Update.
Read the Normal Editor String Snippets screenshot
This independent complete Settings image shows the snippet list, editor and management controls. The Dictionary parent opens the same page as its Normal Editor String Snippets child. Captured data and source-reviewed behavior are identified separately.

- Locate the page: Dictionary, the parent item, is blue-selected and outlined in red. Its Normal Editor Str... child is visible but not selected. Source review confirms that Dictionary and Normal Editor String Snippets both open this same snippet page; the screenshot is not relabeled as a selected child.
- The Settings-wide search contains snippets and displays 1/3, alongside clear, search-option icons and up/down arrows. The Dictionary outline and brown-highlighted Code Snippets: label are captured search markings; the blue snippet row is a separate list selection. The 1/3 counter is not a snippet count, JSON record count or page-local list filter.
- The Code Snippets list has 20 visible trigger rows in this viewport: json_many_records, json_more, json_test_batch_add_record_to_mongo_db, lik, lim, mango, not, nul, or, ord, sel, selc, sql_city, sql_wait_format, test, type, upd, whe, xml_more and xml_test. Descriptions mix English and Chinese user text. Some long row text is visibly truncated; hidden text and the full saved catalog are not reconstructed.
- The blue-selected row is json_test_batch_add_record_to_mongo_db. Its row description is shortened with an ellipsis, while the Trigger: field at the top right shows the complete trigger. This is one captured local snippet selection; its name does not identify an active MongoDB connection or prove a batch insert.
- Trigger: and the Description: field below the editor both display json_test_batch_add_record_to_mongo_db. Source review identifies Description as optional explanatory text and Trigger as the lookup word; identical captured text does not make the two fields interchangeable. Neither field shows a placeholder in this image.
- Below Code Snippets: and its information icon, the text editor shows an indented, syntax-colored JSON array beginning with [. Visible objects include id values 1 through 5, with new_column and remark keys, followed by the beginning of the sixth object near the bottom. Line numbers and a shaded current line around 13 are visible. Lower text continues outside the viewport; no closing text, complete JSON validity or inserted/executed result is inferred. The information popup and formatting menu are not open.
- Add is visible below Description. Source review: it trims the entered fields, requires a nonempty trigger and content, and writes the snippet immediately to local storage; the database operation uses INSERT OR REPLACE for the typed trigger. This image shows the button, without an Add result or a completed write.
- Update is adjacent to Add. Source review: it deletes and then re-adds the typed trigger in separate operations. Keep the trigger unchanged when updating an existing item; editing it is not an atomic rename and can leave the original record. No update or rename is demonstrated by the selected row.
- Delete is the next management button. Source review: after confirmation, it immediately removes the typed trigger from local storage. The screenshot shows neither a confirmation dialog nor a deletion result. Add, Update and Delete are independent of the outer Apply action, and Cancel cannot roll back their completed writes.
- Refresh is the fourth management button. Source review: it reloads the saved completion cache, refreshes snippet patterns and reloads the list; it does not save unfinished editor text. There is no refresh success message in this frame, so the displayed list is not evidence that Refresh was clicked.
- The list and code editor have their own vertical scrollbars, and a divider separates them. The complete frame already includes Trigger, the text editor, Description and all four management controls. No extra scrolled image is needed to explain these controls; offscreen snippets and the remainder of the JSON are left untranscribed.
- Export Settings... and Import Settings... are at bottom left; Apply, Cancel and OK are at bottom right. These are outer Settings controls, separate from the four snippet actions. Source review: Apply saves allowed instantiated settings pages and refreshes snippet patterns when its entry scope permits; it does not commit unfinished snippet fields. OK closes after successful Apply, while Cancel closes without outer saving and cannot undo prior immediate snippet writes. No completed export/import, Apply, saved text, expansion or execution is shown.
- This image already shows every control needed for this tour; offscreen rows and JSON text are not reconstructed. Source review confirms immediate local CRUD and that outer Cancel is not rollback; no snippet was changed for this integration. Capture time, exact OS/display scale, application build and active engine/server are unrecorded. A selected snippet does not prove saved edits, expansion, execution or release acceptance.
What to expect
You can distinguish the saved local preference from the view or later operation that consumes it.
Scope and limits
- Apply is not required for these record actions; Cancel cannot undo them. Refresh/runtime propagation supplies snippets to completion paths, but inserting text does not execute SQL.
- Snippets are local shared records, separate from Workspace Library and Team Library. Use the SQL Editor guide for invoking suggestions, reviewing inserted SQL and execution.
- Ordinary preferences are shared on this device; they are not per-workspace isolation or automatic team/device synchronization. Apply saves allowed instantiated pages sequentially and can leave partial saves on error.