дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-09 19:25:54 +02:00
feat(plugins): brand document-indexer gutter markers with marker icons (#2196)
Indexed markers (Edges.markers) were always drawn with the navigation glyph, so a plugin couldn't tell its marker kinds apart. A [[contributes.markerIcons]] entry can now claim them by key prefix (`markers`), with an optional `tooltip` shown above the targets. The host matches the longest prefix and sends the declaration id with each marker; the editor resolves the icon and the translated tooltip from the projected declaration. Manifest only, under the existing API 1.3 gate of markerIcons. Closes #2194
Цей коміт міститься в:
1 джерело
e1be533bd2
коміт
e0982cc51d
15 files changed
+341
-31
No files matched your search
@@ -43,7 +43,7 @@ it("invalidates both changed files and markers targeting them", () => {
|
||||
{
|
||||
path: "/p/A.xml",
|
||||
version: 1,
|
||||
markers: [{ range, targets: [{ path: "/p/A.java", range }] }],
|
||||
markers: [{ range, targets: [{ path: "/p/A.java", range }], pluginId: "p", icon: null }],
|
||||
},
|
||||
],
|
||||
]),
|
||||
|
||||
Reference in new issue
Заблокувати користувача