Repository navigation
Find: whole word and regex; Ctrl+D; Format Selection; workspace symbols - #15
Merged
Merged
Conversation
The script editor's remaining gaps from Pulsar-Native#1012, on the view API
of Mockaco#11 (pinned to its branch until it merges):
- Find bar: Match Whole Word (Alt+W) and Use Regular Expression (Alt+R)
beside Match Case (Alt+C); an invalid expression says so instead of a
count, and Replace expands $1 / ${name}.
- Add Next Occurrence (Ctrl+D, Selection menu): the word under the caret,
then each next occurrence of the selection.
- Format Selection (Ctrl+K Ctrl+F, Edit and context menus). rust-analyzer
only range-formats with a nightly rustfmt, so this formats the document
and applies only the edits within the selected lines.
- Go to Symbol in Workspace (Ctrl+T, Go menu): workspace/symbol, asked
again as the name is typed (the server matches fuzzily, so the list is
not filtered again here); location requests now carry an id so an older
answer never replaces a newer one.
Tests: workspace symbol answers in both shapes, which formatting edits a
selection keeps, and the panel test now drives Alt+W/Alt+R (with an
invalid expression), Ctrl+D and Ctrl+T through the keys.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5
This was referenced Oct 14, 2026
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.
This closes the script editor gaps that #14 left open (Far-Beyond-Pulsar/Pulsar-Native#1012). It builds on the view API from Far-Beyond-Pulsar/Mockaco#11, which is merged. Mockaco is pinned to its merge commit,
e36ce16.Changes
$1and${name}.rangeFormattingwith a nightly rustfmt, so this asks for the whole document to be formatted.workspace/symbolrequest again as you type. The server does the fuzzy matching, so the list isn't filtered again here.Tests
workspace_symbols_take_both_answer_shapes: covers bothSymbolInformation[]andWorkspaceSymbol[]answers, including a symbol that names only its file.format_selection_keeps_the_edits_within_its_lines.\w\(\)(4 matches), then an invalid expression;a;cargo test -p script_editor_plugin --lib: 18 passed, run inside a Pulsar-Native checkout.🤖 Generated with Claude Code
https://claude.ai/code/session_01RXesb588JFPYCDBnK94vn5