Repository navigation
fix: #1592 support real Tab input and list indentation - #5891
Merged
Merged
Conversation
Jocs
force-pushed
the
fix/1592-real-tabs
branch
from
October 27, 2026 02:20
6233223 to
4de7cec
Compare
Jocs
force-pushed
the
fix/1592-real-tabs
branch
from
October 27, 2026 03:56
4de7cec to
58b6881
Compare
7 of 10 tasks
Tkaixiang
added a commit
that referenced
this pull request
Nov 23, 2026
…te keys on build (#6120) * fix(i18n): translate strings left in English Several feature PRs added English placeholder values to most locales and they were never translated: - sideBar.move.* (13 keys, #5945): de, es, fr, ja, ko, nl, pt, ru, tr, zh-TW - multi-folder sidebar strings (12 keys, #5835): de, es, fr, ja, ko, nl, pt, ru, tr - preferences.editor.fileRepresentation.tabInputNotes (#5891): same 9 locales Also fills one-off gaps: GitHub Alerts labels in pl (desktop and Muya) and it (Muya), the Academic export theme in it, and the super/subscript extension label in es and pt. Co-Authored-By: Claude Opus 5.5 <[email protected]> * chore(i18n): remove unused locale keys None of these keys is referenced anywhere in packages/desktop/src, either as a literal or through a template/prefix key: - menu.counter.document, documentSelection, charactersNoSpaces, allCharacters - sideBar.tree.noFolders, overlappingFolder - sideBar.search.searchInFolder (the UI uses searchInFolders) - preferences.theme.modeThemes - dialog.file, files, keepOpen, saveFailure - error.report, unexpectedErrorWithMessage - store.editor.anchorLinkCopied - editor.sourceCode.cursorNullComment, imageStructureDeletedComment - readingMode.skipped Co-Authored-By: Claude Opus 5.5 <[email protected]> * build(i18n): validate locale keys before minifying minify-locales now fails, before writing any .min.json, when: - a locale is missing a key from en.json or has a key en.json lacks - an en.json key is not referenced by any .ts or .vue file under packages/desktop/src The usage check is a single ripgrep pass that collects quoted dotted strings. Template literals (`menu.theme.${name}`) and concatenation prefixes ('sideBar.move.') match as patterns, so keys built from a variable still count as used. ripgrep comes from @vscode/ripgrep, resolved through packages/desktop, which already declares it. Co-Authored-By: Claude Opus 5.5 <[email protected]> --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1592
Closes #2114
Summary
The visual editor always inserted spaces for Tab, and the existing list indentation “Tab” option still emitted spaces. This PR adds real U+0009 input through the existing preference and makes list serialization emit valid Tab indentation.
Validation
Scope and follow-ups
This is PR1 of the split. Selection replacement, multiline indent/outdent, and grouped list moves are implemented separately by #5905 for #2052.
This PR does not add list/code
syntaxfields, source-prefix arrays, indentation transactions, or new state projection logic. Saving may rebuild structural indentation according to the existing list preference. Exact preservation of untouched source prefixes and inherited branch formatting is deferred; the broader request is tracked by #2189.Marked 18.1.2 still has native parsing differences for some imported multi-level quotes containing tabs. This PR keeps generated quoted list indentation compatible with CommonMark and Marked; it does not replace the quote parser.
Source mode is outside this change. No new preference key or preference row is introduced.