Repository navigation
Conversation
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 19, 2026 21:42
240106d to
bbec1a5
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 19, 2026 21:42
b77bd91 to
a654606
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 21, 2026 06:34
bbec1a5 to
65098ae
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 21, 2026 06:35
a654606 to
ee52e94
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 21, 2026 12:23
65098ae to
4d4c87c
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 21, 2026 12:23
ee52e94 to
b383d4e
Compare
nwparker
marked this pull request as ready for review
October 21, 2026 12:24
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 21, 2026 20:10
4d4c87c to
7aa0734
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 21, 2026 20:11
b383d4e to
8cb344c
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 24, 2026 11:43
7aa0734 to
0ca1685
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 24, 2026 11:44
8cb344c to
5a045cc
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 24, 2026 12:55
0ca1685 to
e2c7d24
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
2 times, most recently
from
October 24, 2026 13:31
936b3f9 to
8b91c90
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 25, 2026 05:23
1815b6e to
bf08223
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
2 times, most recently
from
October 26, 2026 12:04
ab92ebe to
6a6f51a
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 26, 2026 12:04
bf08223 to
20e19c6
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 26, 2026 12:32
6a6f51a to
d740d07
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
2 times, most recently
from
October 28, 2026 04:57
ad09422 to
48cb49b
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 28, 2026 04:58
d740d07 to
3691df7
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-7-syntax-packs
branch
from
October 28, 2026 05:30
48cb49b to
65e407c
Compare
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 28, 2026 05:30
3691df7 to
7193340
Compare
When a file shows as plain text or as a binary Orca can't display, and a cached catalog lists a release whose fileTypes include its extension, the editor offers it: View plugin opens the marketplace preview (never an install), Not now hides it for the session, and Don't suggest remembers the extension. Suggestions come only from cached, verified catalogs, skip kill-listed releases and anything an installed (even disabled) plugin already handles, and can be turned off in Plugins settings. A release's fileTypes must match its manifest's syntax extensions.
The editor stays mounted when its file changes, so a single hidden flag suppressed the suggestion for the next file type too. Track which file type was hidden instead.
nwparker
force-pushed
the
nwparker/plugins-v2-8-file-type-suggestions
branch
from
October 28, 2026 10:53
7193340 to
bf3494d
Compare
Contributor
Author
|
Folded into #35470 (Plugin Alpha), which lands the rest of the plugin stack in one PR. |
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.
ELI5
When you open a file Orca can't highlight or display, and a plugin in your catalog says it handles that file type, Orca shows a one-line banner offering it. You can look at the plugin, hide the banner for now, or tell Orca never to suggest it for that extension. Nothing is ever installed from the banner.
What Changed
Before: unknown file types opened as plain text or showed "Binary file — cannot display", with no hint that a plugin could help.
After:
How it works:
plugin-catalog-release.ts,plugin-file-type.ts):fileTypes(lowercase extensions without the dot) and the plugin'sname. Invalid or extrafileTypesentries are dropped (up to 32 kept) rather than rejecting the release, andnamemust match the manifest.src/main/plugins/plugin-file-type-suggestion.ts,plugins:suggestForFileType):listCachedPlugins).pluginFileTypeSuggestions,pluginDismissedFileTypes): normalized on write and load in main, through onenormalizePluginOwnedSettings. Dismissals keep the newest 256.PluginFileTypeSuggestion.tsxis used inEditorEditFileSurface. It is arole="status"banner that shows the release's name.PluginMarketplaceBrowserconsumes it once its listings load, and clears a request it can't serve so it never pops open later.Why
Linked Issue
None. This is part of the plugin platform rework (maintainer change).
Visual Proof
Captured in the end-to-end run (hidden window, isolated profile) against a local Git v2 catalog:
.gleamfile (the Gleam example pack is listed in the catalog):Testing
Unit tests:
plugin-file-type-suggestion.test.ts).plugin-catalog-release.test.ts).plugin-file-type.test.ts).PluginFileTypeSuggestion.test.tsx).End-to-end:
plugin-file-type-suggestion.spec.ts(in the smoke PR) runs the whole flow against a real local Git v2 catalog.Checks: suites,
tc:node,tc:web, oxlint,check:code-quality:changedand localization checks pass locally.I manually tested these changes locally
Automated tests added/updated, or explained why not below
AI Disclosure
Review
Agent skill upstream boundary
Notes
fileTypesis optional and stripped by older clients. The new settings are optional, and older clients ignore them.Checklist
N/Awith reasonpnpm lint,pnpm typecheck,pnpm test, andpnpm buildpass (or CI will cover; local preferred). Targeted suites, typechecks, oxlint, the change-quality gate and plugin e2e pass locally; fullpnpm lintnot run.