Repository navigation
Ask where to send code instead of guessing - #338
Merged
Merged
Conversation
Contributor
|
Warning Review limit reachedEnable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. Next included review available in 51 minutes. View limit details
|
sight.sendToStata.target gets a new default, ask, replacing auto (still accepted, meaning the same). On local macOS and Windows the first send in a window shows a menu: the Stata pane or the Stata app, for this session or saved for every session, plus Read more. Remote sessions and Linux, where only the pane works, use it without asking. Sight: Choose Where to Send Code reopens the menu, and once the setting chose, offers switching or asking again.
jbearak
force-pushed
the
t3/send-target-ask
branch
from
October 31, 2026 17:18
8928f4a to
f3955b1
Compare
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.
By default (
auto), Sight picked where code goes and never asked. Local macOS and Windows sent code to the Stata app, so most people never learned the Stata pane exists. The choice is a personal one; Sight should ask once and remember.sight.sendToStata.targetis nowask(default),integratedorexternal. Underask, the first send in a VS Code window shows a menu:Escape cancels that send. Remote sessions and Linux, where only the pane works, use it without asking.
autois still accepted and meansask.Two other changes:
Stacked on #337 (Windows console); review that first.
Proof:
ask;externalto user settings;auto/askasking once and the workspace-override case, which fails without its fix.bun run typecheck,bun run lintandbun run check:line-endingspass.bun test ./testspasses except thehelp-topic-coveragetests, which need a local Stata install.Reviewed with sol-loop: 2 rounds with gpt-6.1-sol. Sol verdict: approved
Created with Claude Opus 5.5 in Claude Code (T3 Code).