Repository navigation
Conversation
Bundled assemblies in packages are now identified by their package-relative path. Resolve them by full entry path, falling back to the bare entry name for identifiers created by older versions.
- Honor search prefixes (c:, t:, m:, md:, f:, p:, e:, tm:, @) instead of always searching types and members - Add namespace (n:) and assembly (a:, an:, af:) search - Add all: prefix searching types, members, literals, namespaces and assemblies at once, without duplicate results - Document search prefixes in the README Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Show "Unload Assembly" in the Command Palette, asking which assembly or package to unload - Add "Clear Assembly List" to unload all assemblies and packages - Allow removing single searches from the search results view, or clearing all of them at once; keep result node IDs unique after removal Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Resolve nested types below their declaring type, and give top-level type nodes for nested types the same parent token as member nodes, so tree node IDs match - Reveal the tree's own node matching a search or analyzer result, instead of the result node, which differs e.g. in its display name - Select the closest visible ancestor for results in hidden compiler-generated code, such as async state machines Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Show assemblies and packages below folder nodes for the folders containing them, compacting chains of folders (like VS Code's compact folders) and shortening the home directory to ~ - Sort folders and assemblies by name, folders first - Expand only folders containing assemblies loaded by the user; folders with auto-loaded dependencies only start collapsed - Keep revealing nodes working through the folder level - Add setting ilspy.groupAssembliesByFolder (default: true) to switch back to the flat list Folder nodes exist only in the extension's tree view, the backend protocol is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Show the line of the match in search results: for literals the line using the literal, for type and member names usually the declaration. Opening a result selects the match. The search request takes an optional output language, results carry the match location in code of that language (new SearchResultNode with optional match). Lines are located for the first 100 results, using directives are skipped. - Find numbers in string literals, too: c:401 finds 401 and "401". ILSpy searches a single number term as numeric constant only. - Search the dependencies of loaded assemblies, recursively, except .NET framework assemblies. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Decompiled C# and IL code now supports F12, Ctrl/Cmd+Click, Peek Definition and Ctrl/Cmd+F12 on types, members, local variables and parameters. The backend records the positions of symbol references while writing the decompiled code (the code itself is unchanged) and caches recent documents. New LSP requests ilspy/findDefinitions and ilspy/findImplementations resolve the symbol at a position to its definition, either in the same document or in the decompiled code of its tree node. Implementations come from the "Implemented By"/"Overridden By" analyzers and derived types. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Summary
Search prefixes were parsed but then ignored: every search ran as a type/member search, so something like
c:X-Api-Key(string literal) found nothing. This PR makes all prefixes work, adds anall:search, and adds a few commands for managing the assembly list and search results.Each commit can be reviewed on its own:
lib/net10.0/Foo.dll).SingleThreadAssemblyListresolves by full entry path and falls back to the bare entry name for identifiers created by older versions.c:,t:,m:,md:,f:,p:,e:,tm:and@.n:) and assembly (a:,an:,af:) search.all:, which runs the member, literal, namespace and assembly searches at once and de-duplicates the results (a method can match both by name and by a literal it contains).r:) is still unsupported because embedded resources have no node representation yet.Testing
t:,n:,a:(plain assembly and inside a NuGet package),innamespace:filtering andall:(literals, mixed result kinds, no duplicates, case-insensitive prefix). The ILSpyX upgrade commit was also tested on its own: 73/73 pass.SearchResultTreeProvider.test.tscover removing a single search, clearing all searches, and result IDs staying unique after a removal.🤖 Generated with Claude Code