Repository navigation
Honor explicit inline edit gutter menu visibility - #339575
Dmitriy Vasyura (dmitrivMS) merged 6 commits into
Conversation
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The behavior is correct and covered, with only a non-blocking model encapsulation concern.
Review effort: Balanced
Findings: 1
What changed in this PR
Honors explicit suppression of the inline-edit gutter menu while retaining default visibility.
Changes:
- Hides the gutter indicator when
showInlineEditMenuisfalse. - Adds coverage for
false,true, and omitted values.
| File | Description |
|---|---|
inlineSuggestionsView.ts |
Applies menu visibility preference. |
inlineEdits.test.ts |
Tests gutter rendering behavior. |
💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
The fork workflow approval expired before any jobs ran (CI run). Could a maintainer help start fresh CI? |
|
Unit-tests are failing: |
Dmitriy Vasyura (dmitrivMS)
left a comment
There was a problem hiding this comment.
Unit-test failures
232aef8
|
Fixed the teardown race by waiting for the provider's shown callback before disposing the model. Also covered the disabled-menu hover and offscreen preview cases. After merging current main, 164 Electron tests and 30 targeted browser cases pass, along with typecheck, lint and hygiene. The fresh CI run is awaiting approval. |



Fixes microsoft/monaco-editor#5227.
Honor an explicit
showInlineEditMenu: falsefor inline edits while preserving the existing default. The view reads the tri-state preference through a model getter. The preference also applies to gutter hover and the offscreen preview without hiding the preview itself.Regression tests cover false, true and omitted values, disabled-menu hover, and the long-distance preview. The false cases fail before the fix. Tests wait for the provider's shown callback before disposing the model.
After merging main
e03227f6on November 6, all 164 inline-completion Electron tests pass (one existing skipped test), as do 10 targeted tests in each of Chromium, Firefox and WebKit. Client typecheck, ESLint and hygiene pass. To verify manually, run the issue's provider example and hover the gutter withshowInlineEditMenuset to false, true and omitted.