aria-label="Problems"
+ className={styles.tree}
handleRef={tree}
roots={roots}
getKey={(n) => n.key}
@@ -428,7 +441,11 @@ export function ProblemsView() {
run: () => copy(n),
},
...inspectionMenu(n.kind === "diag" ? diagInspection(map, n.path, n.d) : null),
- ...menuGroupItems("problems", { paths: [t.path], line: t.d.range.start.line, column: t.d.range.start.col }),
+ ...menuGroupItems("problems", {
+ paths: [t.path],
+ line: t.d.range.start.line,
+ column: t.d.range.start.col,
+ }),
]);
}}
activateExpandable={false}
@@ -436,6 +453,12 @@ export function ProblemsView() {
empty={empty}
/>
);
+ const list = (
+
+ );
return (
diff --git a/src/features/code-insight/index.ts b/src/features/code-insight/index.ts
index a7a4062d08..085f17e3c8 100644
--- a/src/features/code-insight/index.ts
+++ b/src/features/code-insight/index.ts
@@ -15,7 +15,7 @@ import {
import { getContext } from "@/platform/context";
import { clearProblems, installProblemsEvents, problemsReport, useProblems } from "./problemsStore";
import { installProblemDecorations } from "./decorations";
-import { ProblemsHeaderActions, ProblemsTabs, ProblemsView, useProblemsHeaderMenu } from "./ProblemsView";
+import { ProblemsTabs, ProblemsView, useProblemsHeaderMenu } from "./ProblemsView";
import { UsagesTabs, UsagesView, useUsagesHeaderMenu } from "./UsagesView";
import { UsagesPopup } from "./UsagesPopup";
import { findUsages, rerunActiveUsages, resetUsages, showUsageResults, showUsagesPopup } from "./usages";
@@ -79,7 +79,6 @@ export function activate(): () => void {
order: 30,
component: ProblemsView,
headerContent: ProblemsTabs,
- headerActions: ProblemsHeaderActions,
headerMenu: useProblemsHeaderMenu,
useBadge: useErrorBadge,
}),
diff --git a/src/platform/locales/text/en.json b/src/platform/locales/text/en.json
index 7f94d295b6..5ad5f8f505 100644
--- a/src/platform/locales/text/en.json
+++ b/src/platform/locales/text/en.json
@@ -1,4 +1,5 @@
{
+ "Problems actions": "Problems actions",
"Same as the existing configuration '{existing}'": "Same as the existing configuration '{existing}'",
"Windows file and folder names cannot end with a period or space": "Windows file and folder names cannot end with a period or space",
"Use URL template": "Use URL template",
diff --git a/src/platform/locales/text/zh.json b/src/platform/locales/text/zh.json
index 68fa7c3357..cae3011df9 100644
--- a/src/platform/locales/text/zh.json
+++ b/src/platform/locales/text/zh.json
@@ -1,4 +1,5 @@
{
+ "Problems actions": "问题操作",
"Windows file and folder names cannot end with a period or space": "Windows 文件和文件夹名称不能以句点或空格结尾",
"Use URL template": "使用 URL 模板",
"Use Driver": "使用驱动程序",