Skip to content

Add navigation, folding, bookmarks and editor text tools - #245

Merged
JE-Chen merged 2 commits into
mainfrom
dev
Jul 24, 2026
Merged

Add navigation, folding, bookmarks and editor text tools#245
JE-Chen merged 2 commits into
mainfrom
dev

Conversation

@JE-Chen

@JE-Chen JE-Chen commented Jul 24, 2026

Copy link
Copy Markdown
Member

Adds editor features, each with a Qt-free logic core that is unit-tested:

  • Navigation: command palette, quick open (go to file), go to symbol, document outline panel, TODO/FIXME task panel, cursor navigation history (back/forward)
  • Editing: code folding and bookmarks in the gutter, occurrence highlighting, multi-file session restore, in-file rename, smart selection, increment/decrement number
  • Text menu operations: line operations (sort/dedup/reverse/join/delete/align), case and naming-style conversion, encode/decode (Base64/URL/HTML/JSON), number-base conversion, trailing-whitespace trim, indentation conversion, statistics

Also fixes a pre-existing console QProcess teardown that fired timers on a deleted process and left orphaned shells.

ruff is clean and the full test suite passes.

Add a command palette, quick open (go to file), go to symbol, a document outline panel and a TODO/FIXME task panel; code folding and bookmarks in the gutter; cursor navigation history; occurrence highlighting; and multi-file session restore.

Add editor text operations via the Text menu and shortcuts: line operations (sort/dedup/reverse/join/delete/align), case and naming-style conversion, encode/decode (Base64/URL/HTML/JSON), number base and increment/decrement, in-file rename, smart selection, trailing-whitespace trim, and indentation conversion. Each pure-logic core is unit-tested.

Fix a pre-existing console QProcess teardown that fired timers on a deleted process and left orphaned shells.
@codacy-production

codacy-production Bot commented Jul 24, 2026

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 1444 complexity · 76 duplication

Metric Results
Complexity 1444
Duplication 76

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

- add .sonarcloud.properties classifying test/ as tests so test-code
  duplication no longer counts toward the new-code duplication gate
  (mirrors the sibling project's Sonar config)
- encode_decode: catch only ValueError, dropping subclasses already covered
  (S5713); remove now-unused binascii import
- todo_scanner: use the group-free never-matching pattern \b\B instead of the
  empty group (?!) (S6331)
- outline/session tests: silence the false-positive Pylint no-value-for-parameter
  on the deliberate Cls.__new__(Cls) bare-instance idiom
@sonarqubecloud

Copy link
Copy Markdown

@JE-Chen
JE-Chen merged commit a52bafe into main Jul 24, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant