дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-03 08:43:07 +02:00
Порівняти коміти
| Автор | SHA1 | Дата | |
|---|---|---|---|
|
|
45b757e5d0 | ||
|
|
76d67145f5 | ||
|
|
cf4273eeea | ||
|
|
81dd5f0dd2 | ||
|
|
36061abc91 |
No files matched your search
Створено
+4
-4
@@ -2361,9 +2361,9 @@ checksum = "aa9a19cbb55df58761df49b23516a86d432839add4af60fc256da840f66ed35b"
|
||||
|
||||
[[package]]
|
||||
name = "form_urlencoded"
|
||||
version = "1.2.2"
|
||||
version = "1.2.3"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "cb4cb245038516f5f85277875cdaa4f7d2c9a0fa0468de06ed190163b1581fcf"
|
||||
checksum = "afa489199eaffb1211795df1c6236ce1ad0d41a6fa45250add73e3b02420f06e"
|
||||
dependencies = [
|
||||
"percent-encoding",
|
||||
]
|
||||
@@ -10827,9 +10827,9 @@ checksum = "8ecb6da28b8a351d773b68d5825ac39017e680750f980f3a1a85cd8dd28a47c1"
|
||||
|
||||
[[package]]
|
||||
name = "url"
|
||||
version = "2.5.8"
|
||||
version = "2.5.9"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
checksum = "ff67a8a4397373c3ef660812acab3268222035010ab8680ec4215f38ba3d0eed"
|
||||
checksum = "f00cd2407bb42c0ef17be88d4cf020f5cceffd121665bac9b8b9493a369b3b1a"
|
||||
dependencies = [
|
||||
"form_urlencoded",
|
||||
"idna",
|
||||
|
||||
@@ -720,6 +720,81 @@ test("Commit Options applies a named TODO filter independently of the TODO windo
|
||||
expect(await ipcCalls(page, "vcs_commit")).toEqual([]);
|
||||
});
|
||||
|
||||
test("commit check text scrolls independently of its status icon and retry action", async ({ workbench: page }) => {
|
||||
await stubRepository(page);
|
||||
await page.setViewportSize({ width: 850, height: 650 });
|
||||
await page.evaluate(async () => {
|
||||
const registryPath = "/src/features/vcs/commitCheckRegistry.ts";
|
||||
const layoutPath = "/src/workbench/toolwindows/store.ts";
|
||||
const { registerCommitCheck } = await import(/* @vite-ignore */ registryPath);
|
||||
const layout = await import(/* @vite-ignore */ layoutPath);
|
||||
layout.moveToolWindow("commit", "left");
|
||||
layout.setToolWindowSize("left", 238);
|
||||
for (let index = 0; index < 6; index++) {
|
||||
registerCommitCheck({
|
||||
id: `test.commitLayout.${index}`,
|
||||
order: index - 1000,
|
||||
title: `Ledger check ${index + 1}`,
|
||||
run: () => {
|
||||
if (index === 0) document.body.dataset.checkRuns = String(Number(document.body.dataset.checkRuns ?? 0) + 1);
|
||||
return {
|
||||
severity: "error",
|
||||
text: "The regional settlement totals differ from the monthly inventory audit and need a second review.",
|
||||
fix:
|
||||
index === 5
|
||||
? {
|
||||
label: "Review final check",
|
||||
run: () => {
|
||||
document.body.dataset.commitCheckReviewed = "yes";
|
||||
},
|
||||
}
|
||||
: undefined,
|
||||
};
|
||||
},
|
||||
});
|
||||
}
|
||||
});
|
||||
await page.keyboard.press("Meta+k");
|
||||
const commit = page.getByRole("region", { name: "Commit", exact: true });
|
||||
await commit.getByRole("textbox", { name: "Commit message" }).fill("Review the settlement totals");
|
||||
await commit.getByRole("button", { name: "Commit Options", exact: true }).click();
|
||||
const options = page.getByRole("dialog", { name: "Commit Options", exact: true });
|
||||
await options.getByRole("button", { name: "Run Commit Checks", exact: true }).click();
|
||||
|
||||
const feedback = commit.getByRole("alert").filter({ hasText: "Ledger check 1" });
|
||||
const first = feedback.getByText("Ledger check 1", { exact: true });
|
||||
const second = feedback.getByText("Ledger check 2", { exact: true });
|
||||
const results = first.locator("../..");
|
||||
const icon = feedback.locator("svg").first();
|
||||
const retry = commit.getByRole("button", { name: "Rerun Commit Checks", exact: true });
|
||||
const commitAnyway = commit.getByRole("button", { name: "Commit Anyway", exact: true });
|
||||
await expect(commitAnyway).toBeInViewport({ ratio: 1 });
|
||||
await expect(first).toHaveCSS("font-size", "13px");
|
||||
const firstRow = (await first.locator("..").boundingBox())!;
|
||||
const secondRow = (await second.locator("..").boundingBox())!;
|
||||
expect(secondRow.y - (firstRow.y + firstRow.height)).toBeCloseTo(4, 0);
|
||||
expect(await results.evaluate((node) => node.scrollHeight > node.clientHeight)).toBe(true);
|
||||
const statusTop = (await icon.boundingBox())!.y;
|
||||
const retryTop = (await retry.boundingBox())!.y;
|
||||
await results.evaluate((node) => {
|
||||
node.scrollTop = node.scrollHeight;
|
||||
});
|
||||
expect(await results.evaluate((node) => node.scrollTop)).toBeGreaterThan(0);
|
||||
expect((await icon.boundingBox())!.y).toBeCloseTo(statusTop, 0);
|
||||
expect((await retry.boundingBox())!.y).toBeCloseTo(retryTop, 0);
|
||||
const details = feedback.getByRole("button", { name: "Review final check", exact: true });
|
||||
await expect(details).toBeInViewport({ ratio: 1 });
|
||||
await expect(icon).toBeInViewport({ ratio: 1 });
|
||||
await expect(retry).toBeInViewport({ ratio: 1 });
|
||||
await expect(commitAnyway).toBeInViewport({ ratio: 1 });
|
||||
await details.click();
|
||||
await expect(page.locator("body")).toHaveAttribute("data-commit-check-reviewed", "yes");
|
||||
await retry.click();
|
||||
await expect(page.locator("body")).toHaveAttribute("data-check-runs", "2");
|
||||
await expect(first).toBeVisible();
|
||||
expect(await ipcCalls(page, "vcs_commit")).toEqual([]);
|
||||
});
|
||||
|
||||
test("the TODO check reports unreadable files and can retry after they become available", async ({
|
||||
workbench: page,
|
||||
}) => {
|
||||
|
||||
@@ -200,3 +200,86 @@ test("Evaluate keeps a multiline expression and its result visible in a short di
|
||||
await expect(field).toHaveValue(expression);
|
||||
await expect(field).toBeFocused();
|
||||
});
|
||||
|
||||
test("Variables keeps evaluation, watches and expression history together in a narrow dock", async ({
|
||||
workbench: page,
|
||||
}) => {
|
||||
await page.setViewportSize({ width: 720, height: 620 });
|
||||
await stubDesktop(page);
|
||||
await page.evaluate(async (session) => {
|
||||
const handlers = window.__ipc.handlers;
|
||||
handlers.debug_capabilities = () => ({});
|
||||
handlers.debug_completions = () => [];
|
||||
handlers.debug_scopes = () => [];
|
||||
handlers.debug_evaluate_in = () => ({
|
||||
name: "result",
|
||||
value: "42",
|
||||
typeName: "int",
|
||||
variablesReference: 0,
|
||||
evaluateName: null,
|
||||
});
|
||||
const statePath = "/src/features/debugger/state.ts";
|
||||
const historyPath = "/src/features/debugger/ui/expressionHistory.ts";
|
||||
const projectPath = "/src/platform/project.ts";
|
||||
const servicesPath = "/src/workbench/contributions.ts";
|
||||
const layoutPath = "/src/workbench/toolwindows/store.ts";
|
||||
const { adoptSession } = await import(/* @vite-ignore */ statePath);
|
||||
const { pushHistory } = await import(/* @vite-ignore */ historyPath);
|
||||
const { useProject } = await import(/* @vite-ignore */ projectPath);
|
||||
const { toolWindowService } = await import(/* @vite-ignore */ servicesPath);
|
||||
const { moveToolWindow, setToolWindowSize } = await import(/* @vite-ignore */ layoutPath);
|
||||
const settings = useProject.getState().settings;
|
||||
useProject.setState({
|
||||
settings: { ...settings, editor: { ...settings?.editor, fontFamily: "Consolas", fontSize: 18 } },
|
||||
});
|
||||
pushHistory("evaluate", "order.total + tax");
|
||||
pushHistory("evaluate", "if ready:\n settle()");
|
||||
adoptSession(session, { name: "Checkout", adapter: "debugpy", status: "paused", selectedFrame: 11 });
|
||||
moveToolWindow("debug", "right");
|
||||
setToolWindowSize("right", 285);
|
||||
toolWindowService().show("debug", true);
|
||||
}, SESSION);
|
||||
|
||||
const debug = page.getByRole("region", { name: "Debug", exact: true });
|
||||
const variables = debug.getByRole("tab", { name: "Variables", exact: true });
|
||||
if (await variables.isVisible()) await variables.click();
|
||||
const field = debug.getByRole("textbox", { name: "Evaluate expression", exact: true });
|
||||
const historyButton = debug.getByRole("button", { name: "History", exact: true });
|
||||
const watch = debug.getByRole("button", { name: "Add to Watches", exact: true });
|
||||
await expect(field).toBeVisible();
|
||||
await expect(historyButton).toBeVisible();
|
||||
await expect(field).toHaveAttribute("placeholder", "Evaluate expression");
|
||||
await expect(field).toHaveCSS("font-family", /^"?Consolas"?,/);
|
||||
await expect(field).toHaveCSS("font-size", "13px");
|
||||
expect((await field.boundingBox())!.width).toBeGreaterThan(100);
|
||||
expect((await watch.boundingBox())!.x).toBeLessThan((await historyButton.boundingBox())!.x);
|
||||
|
||||
await historyButton.click();
|
||||
const menu = page.getByRole("menu", { name: "Expression history", exact: true });
|
||||
await expect(menu.getByRole("menuitem")).toHaveText(["order.total + tax"]);
|
||||
const row = (await field.locator("..").boundingBox())!;
|
||||
const popup = (await menu.locator("..").boundingBox())!;
|
||||
expect(popup.x).toBeCloseTo(row.x, 0);
|
||||
expect(popup.width).toBeCloseTo(row.width, 0);
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(menu).toBeHidden();
|
||||
await expect(historyButton).toBeFocused();
|
||||
|
||||
await historyButton.press("Enter");
|
||||
await menu.getByRole("menuitem", { name: "order.total + tax" }).press("Enter");
|
||||
await expect(field).toBeFocused();
|
||||
await expect(field).toHaveValue("order.total + tax");
|
||||
await field.press("Enter");
|
||||
await expect
|
||||
.poll(() => ipcCalls(page, "debug_evaluate_in"))
|
||||
.toContainEqual(expect.objectContaining({ expression: "order.total + tax", context: "repl" }));
|
||||
|
||||
await field.fill("order.total");
|
||||
await watch.click();
|
||||
await expect(field).toHaveValue("");
|
||||
await expect
|
||||
.poll(() => ipcCalls(page, "debug_evaluate_in"))
|
||||
.toContainEqual(expect.objectContaining({ expression: "order.total", context: "watch" }));
|
||||
await historyButton.click();
|
||||
await expect(menu.getByRole("menuitem")).toHaveText(["order.total", "order.total + tax"]);
|
||||
});
|
||||
@@ -444,3 +444,88 @@ test("the Paths filter replaces the repository filter and can be cleared from ov
|
||||
await picker.getByRole("button", { name: "OK" }).click();
|
||||
await expect(firstCommit.getByText("Commit 1", { exact: true })).toBeVisible();
|
||||
});
|
||||
|
||||
test("the Git Log path tree resizes and keeps selected paths reachable in a short window", async ({
|
||||
workbench: page,
|
||||
}) => {
|
||||
await page.setViewportSize({ width: 1000, height: 720 });
|
||||
const longName = "reconcile-invoices-and-export-the-complete-quarterly-settlement-audit.ts";
|
||||
await page.evaluate(async (longName) => {
|
||||
const logPath = "/src/features/vcs/logStore.ts";
|
||||
const optionsPath = "/src/features/vcs/logOptions.ts";
|
||||
const { setLogFilters } = await import(/* @vite-ignore */ logPath);
|
||||
const { setLogOptions } = await import(/* @vite-ignore */ optionsPath);
|
||||
const root = "/dev/acme-api";
|
||||
const selected = Array.from({ length: 9 }, (_, i) => `entry-${i + 1}.ts`);
|
||||
const entry = (name: string, kind: "dir" | "file") => ({
|
||||
name,
|
||||
path: `${root}/${name}`,
|
||||
kind,
|
||||
size: 0,
|
||||
mtimeMs: 0,
|
||||
});
|
||||
window.__ipc.handlers.fs_read_dir = ({ path }) =>
|
||||
path === root
|
||||
? [entry("src", "dir"), entry(longName, "file"), ...selected.map((name) => entry(name, "file"))]
|
||||
: [];
|
||||
setLogOptions({ showBranches: false, showDetails: false });
|
||||
setLogFilters({ paths: selected.map((name) => `${root}/${name}`) });
|
||||
}, longName);
|
||||
|
||||
const toolbar = page.getByRole("toolbar", { name: "Log filters" });
|
||||
const openTree = async () => {
|
||||
await toolbar.getByRole("button", { name: "More Filters" }).click();
|
||||
await page.getByRole("menuitem", { name: /^Paths:/ }).click();
|
||||
await page.getByRole("menuitem", { name: "Select in Tree…" }).click();
|
||||
};
|
||||
await openTree();
|
||||
const dialog = page.getByRole("dialog", { name: "Filter by Paths" });
|
||||
const tree = dialog.getByRole("tree", { name: "Files and folders" });
|
||||
const resize = dialog.locator('[class*="_resizeGrip_"]');
|
||||
await expect(tree).toBeVisible();
|
||||
await expect(resize).toBeVisible();
|
||||
await tree.getByRole("treeitem", { name: "acme-api", exact: true }).locator("[data-tree-toggle]").click();
|
||||
const folder = tree.getByRole("checkbox", { name: "src", exact: true });
|
||||
const file = tree.getByRole("checkbox", { name: longName, exact: true });
|
||||
await expect(folder.locator("xpath=ancestor::label").locator("svg")).toHaveCount(1);
|
||||
const title = file.locator("xpath=ancestor::label").getByTitle(longName);
|
||||
await expect(title).toHaveCSS("font-size", "13px");
|
||||
await expect(title).toHaveCSS("text-overflow", "ellipsis");
|
||||
|
||||
const originalTreeHeight = (await tree.boundingBox())!.height;
|
||||
const grip = (await resize.boundingBox())!;
|
||||
const x = grip.x + grip.width / 2;
|
||||
const y = grip.y + grip.height / 2;
|
||||
await page.mouse.move(x, y);
|
||||
await page.mouse.down();
|
||||
await page.mouse.move(x + 30, y + 65, { steps: 5 });
|
||||
await page.mouse.up();
|
||||
await expect.poll(async () => (await tree.boundingBox())!.height).toBeGreaterThan(originalTreeHeight + 40);
|
||||
|
||||
await dialog.getByRole("button", { name: "Cancel" }).click();
|
||||
await page.setViewportSize({ width: 420, height: 325 });
|
||||
await openTree();
|
||||
await tree.getByRole("treeitem", { name: "acme-api", exact: true }).locator("[data-tree-toggle]").click();
|
||||
const selected = dialog.getByRole("group", { name: "Selected paths" });
|
||||
await expect(selected).toBeVisible();
|
||||
await expect.poll(() => selected.evaluate((node) => node.scrollHeight - node.clientHeight)).toBeGreaterThan(1);
|
||||
await expect
|
||||
.poll(() => dialog.locator("[data-dialog-body]").evaluate((node) => node.scrollHeight - node.clientHeight))
|
||||
.toBeLessThanOrEqual(1);
|
||||
await expect.poll(() => title.evaluate((node) => node.scrollWidth - node.clientWidth)).toBeGreaterThan(1);
|
||||
const removed = selected.getByRole("checkbox", { name: "acme-api/entry-9.ts", exact: true });
|
||||
await removed.click();
|
||||
await expect(removed).toHaveCount(0);
|
||||
await file.check();
|
||||
await expect(selected.getByRole("checkbox", { name: `acme-api/${longName}`, exact: true })).toBeChecked();
|
||||
await expect(dialog.getByRole("button", { name: "OK" })).toBeInViewport({ ratio: 1 });
|
||||
await dialog.getByRole("button", { name: "OK" }).click();
|
||||
await expect(dialog).toBeHidden();
|
||||
const applied = await page.evaluate(async () => {
|
||||
const path = "/src/features/vcs/logStore.ts";
|
||||
const { useGitLog } = await import(/* @vite-ignore */ path);
|
||||
return useGitLog.getState().filters.paths;
|
||||
});
|
||||
expect(applied).toContain(`/dev/acme-api/${longName}`);
|
||||
expect(applied).not.toContain("/dev/acme-api/entry-9.ts");
|
||||
});
|
||||
@@ -11,7 +11,7 @@ async function openNewBranchDialog(
|
||||
page: Page,
|
||||
from?: string,
|
||||
mergeBase = "1111111",
|
||||
blocked: boolean | string = false,
|
||||
blocked = false,
|
||||
withPrefix = false,
|
||||
) {
|
||||
await stubDesktop(page);
|
||||
@@ -43,10 +43,7 @@ async function openNewBranchDialog(
|
||||
];
|
||||
h.vcs_create_branch = ({ options }) =>
|
||||
blocked && (options as { mode?: string } | null)?.mode === "normal"
|
||||
? {
|
||||
checkout: { kind: "localChanges", files: [typeof blocked === "string" ? blocked : "dirty.txt"] },
|
||||
created: null,
|
||||
}
|
||||
? { checkout: { kind: "localChanges", files: ["dirty.txt"] }, created: null }
|
||||
: { checkout: { kind: "done" }, created: { tip: "2222222", previousTip: null } };
|
||||
h.vcs_merge_base = () => mergeBase;
|
||||
const vcsModule = "/src/features/vcs/store.ts";
|
||||
@@ -154,36 +151,6 @@ for (const [button, mode] of [
|
||||
});
|
||||
}
|
||||
|
||||
test("local changes review keeps file names and checkout choices visible", async ({ workbench: page }) => {
|
||||
await page.setViewportSize({ width: 1040, height: 740 });
|
||||
const folder = "services/international-payments/regional-settlement/weekly-close/adjustments";
|
||||
const path = `${folder}/ReceiptPolicy.ts`;
|
||||
const { dialog, input } = await openNewBranchDialog(page, "2".repeat(40), "1111111", path);
|
||||
await input.fill("topic");
|
||||
await dialog.getByRole("button", { name: "Create", exact: true }).click();
|
||||
const review = page.getByRole("dialog", { name: "Git Checkout Problem" });
|
||||
const force = review.getByRole("button", { name: "Force Checkout", exact: true });
|
||||
const smart = review.getByRole("button", { name: "Smart Checkout", exact: true });
|
||||
const cancel = review.getByRole("button", { name: "Don't Checkout", exact: true });
|
||||
await expect(force).toBeVisible();
|
||||
expect((await force.boundingBox())!.x - (await review.boundingBox())!.x).toBeLessThan(24);
|
||||
|
||||
await page.setViewportSize({ width: 420, height: 480 });
|
||||
const tree = review.getByRole("tree", { name: "Changed files" });
|
||||
const row = tree.getByRole("treeitem", { name: `ReceiptPolicy.ts ${folder}`, exact: true });
|
||||
await expect(row.getByTitle(path, { exact: true })).toBeVisible();
|
||||
const file = row.getByText("ReceiptPolicy.ts", { exact: true });
|
||||
await expect(file).toBeInViewport({ ratio: 1 });
|
||||
expect(await file.evaluate((el) => el.scrollWidth - el.clientWidth)).toBeLessThanOrEqual(1);
|
||||
await expect(row.getByText(folder, { exact: true })).toHaveCSS("font-size", "12px");
|
||||
const restoreHint = review.getByText(/Smart Checkout .* your changes and restores them/);
|
||||
expect((await restoreHint.boundingBox())!.y).toBeLessThan((await tree.boundingBox())!.y);
|
||||
for (const button of [force, smart, cancel]) await expect(button).toBeInViewport({ ratio: 1 });
|
||||
await cancel.click();
|
||||
await expect(review).toBeHidden();
|
||||
expect(await ipcCalls(page, "vcs_create_branch")).toHaveLength(1);
|
||||
});
|
||||
|
||||
test("pasted text has its spaces replaced", async ({ workbench: page }) => {
|
||||
const { dialog, input } = await openNewBranchDialog(page);
|
||||
await input.fill("");
|
||||
|
||||
@@ -26,12 +26,12 @@ describe("the Language smoke workflow", () => {
|
||||
const { files, problems } = await smokeInputs(repo, workflow);
|
||||
expect(problems).toEqual([]);
|
||||
expect(describeUnselected(await unselected(workflow, [...files.keys()]), files)).toBe("");
|
||||
});
|
||||
}, 20000);
|
||||
|
||||
it("runs every language when a crate the smoke runs changes", async () => {
|
||||
const crates = rustSmokeInputs(repo);
|
||||
expect(describeUnselected(await unselected(workflow, [...crates.keys()]), crates)).toBe("");
|
||||
});
|
||||
}, 20000);
|
||||
});
|
||||
|
||||
const dirs: string[] = [];
|
||||
|
||||
@@ -293,7 +293,7 @@ describe("debug tool window", () => {
|
||||
expect(screen.getByRole("tab", { name: "Threads & Variables" })).toBeTruthy();
|
||||
expect(screen.getByRole("tab", { name: "Console" })).toBeTruthy();
|
||||
expect(screen.getByRole("option", { selected: true })).toHaveTextContent("main:12, main.py");
|
||||
expect(screen.getByPlaceholderText("Evaluate expression (↩) or add a watch (⇧⌘↩)")).toBeTruthy();
|
||||
expect(screen.getByRole("textbox", { name: "Evaluate expression" })).toBeTruthy();
|
||||
expect(await screen.findByText("{int}")).toBeTruthy();
|
||||
expect(screen.getByText("'hi'")).toBeTruthy();
|
||||
// A multi-line rendering stays on its row.
|
||||
|
||||
@@ -210,14 +210,28 @@
|
||||
}
|
||||
|
||||
.evalField {
|
||||
height: 30px;
|
||||
min-height: var(--h-field);
|
||||
flex: none;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
padding: 0 4px 0 12px;
|
||||
padding: var(--space-0-5) var(--space-1) var(--space-0-5) var(--space-2);
|
||||
background: var(--bg-input);
|
||||
border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.evalField:focus-within {
|
||||
box-shadow: inset 0 -1px var(--focus-ring);
|
||||
}
|
||||
.evalField > button {
|
||||
flex: none;
|
||||
}
|
||||
.evalField .evalInput {
|
||||
padding: 0;
|
||||
}
|
||||
.evalHistory {
|
||||
padding-block: var(--space-1);
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.repl {
|
||||
height: 28px;
|
||||
|
||||
@@ -3,6 +3,10 @@ import { writeClipboardText } from "@/platform/clipboard";
|
||||
import { useEffect, useLayoutEffect, useMemo, useRef, useState, type KeyboardEvent, type ReactNode } from "react";
|
||||
import clsx from "clsx";
|
||||
import { executeAction } from "@/platform/actions";
|
||||
import { editorPrefs } from "@/platform/editorSettings";
|
||||
import { monoFontFamily } from "@/platform/fonts";
|
||||
import { isImeKey } from "@/platform/ime";
|
||||
import { formatBinding, hostBinding } from "@/platform/keymap";
|
||||
import { basename, useProject } from "@/platform/project";
|
||||
import { call, commands, isTauri, type Scope, type Variable } from "@/platform/ipc";
|
||||
import {
|
||||
@@ -11,6 +15,8 @@ import {
|
||||
IconButton,
|
||||
Kbd,
|
||||
Menu,
|
||||
MenuList,
|
||||
Popup,
|
||||
Select,
|
||||
SplitGroup,
|
||||
SplitHandle,
|
||||
@@ -54,6 +60,7 @@ import { MemoryView } from "../memory/MemoryView";
|
||||
import { DebugConsole } from "./DebugConsole";
|
||||
import { VariablesView, type VarRoot } from "./VariablesView";
|
||||
import { useExpressionCompletion } from "./ExpressionCompletion";
|
||||
import { pushHistory, readHistory } from "./expressionHistory";
|
||||
import { sortVariables } from "../values";
|
||||
import { workflowSettings } from "@/platform/workflowSettings";
|
||||
import { useToolWindowShown } from "@/workbench/contributions";
|
||||
@@ -555,9 +562,12 @@ function VariablesPane({ session }: { session: DebugSession }) {
|
||||
const watches = useDebug((s) => s.watches);
|
||||
const stopSeq = useDebug((s) => s.stopSeq);
|
||||
const variablesEpoch = useDebug((s) => s.variablesEpoch);
|
||||
const settings = useProject((s) => s.settings);
|
||||
const [expression, setExpression] = useState("");
|
||||
const evalField = useRef<HTMLInputElement>(null);
|
||||
const evalRow = useRef<HTMLDivElement>(null);
|
||||
const completion = useExpressionCompletion(evalField, expression, setExpression, session);
|
||||
const [history, setHistory] = useState<{ sessionId: number; stopSeq: number; entries: string[] } | null>(null);
|
||||
const [lastEval, setLastEval] = useState<EvalRow | null>(null);
|
||||
const [scopeData, setScopeData] = useState<{ frame: number | null; scopes: Scope[]; locals: Variable[] }>({
|
||||
frame: null,
|
||||
@@ -570,6 +580,8 @@ function VariablesPane({ session }: { session: DebugSession }) {
|
||||
rows: [],
|
||||
});
|
||||
const frame = session.status === "paused" ? session.selectedFrame : null;
|
||||
const historyOpen = frame != null && history?.sessionId === session.id && history.stopSeq === stopSeq;
|
||||
const editor = settings?.editor;
|
||||
const live = liveWatchesApply(session);
|
||||
// A hidden tool window stays mounted: its watches must not go on running in the page.
|
||||
const liveWatches = useLiveWatches(session, watches, useToolWindowShown());
|
||||
@@ -676,6 +688,7 @@ function VariablesPane({ session }: { session: DebugSession }) {
|
||||
const run = async () => {
|
||||
const e = expression.trim();
|
||||
if (!e) return;
|
||||
pushHistory("evaluate", e);
|
||||
try {
|
||||
setLastEval({
|
||||
expression: e,
|
||||
@@ -687,12 +700,32 @@ function VariablesPane({ session }: { session: DebugSession }) {
|
||||
}
|
||||
};
|
||||
|
||||
const addExpressionWatch = () => {
|
||||
const e = expression.trim();
|
||||
if (!e) return;
|
||||
pushHistory("evaluate", e);
|
||||
addWatch(e);
|
||||
setExpression("");
|
||||
};
|
||||
|
||||
const recall = (text: string) => {
|
||||
setExpression(text);
|
||||
requestAnimationFrame(() => {
|
||||
evalField.current?.focus();
|
||||
evalField.current?.setSelectionRange(text.length, text.length);
|
||||
});
|
||||
};
|
||||
|
||||
return (
|
||||
<div className={styles.variables}>
|
||||
<div className={styles.evalField}>
|
||||
<div ref={evalRow} className={styles.evalField}>
|
||||
<input
|
||||
ref={evalField}
|
||||
className={styles.evalInput}
|
||||
style={{
|
||||
fontFamily: monoFontFamily(editor?.fontFamily, editorPrefs(settings).fallbackFont, "var(--font-mono)"),
|
||||
fontSize: editor?.fontSize ? `min(var(--fs-ui), ${editor.fontSize}px)` : undefined,
|
||||
}}
|
||||
value={expression}
|
||||
onChange={(e) => {
|
||||
setExpression(e.target.value);
|
||||
@@ -700,17 +733,16 @@ function VariablesPane({ session }: { session: DebugSession }) {
|
||||
}}
|
||||
onBlur={completion.close}
|
||||
onKeyDown={(e) => {
|
||||
if (completion.onKeyDown(e)) return;
|
||||
if (isImeKey(e.nativeEvent) || completion.onKeyDown(e)) return;
|
||||
if (e.key === "Enter" && (e.metaKey || e.ctrlKey) && e.shiftKey) {
|
||||
e.preventDefault();
|
||||
addWatch(expression);
|
||||
setExpression("");
|
||||
addExpressionWatch();
|
||||
} else if (e.key === "Enter") {
|
||||
e.preventDefault();
|
||||
void run();
|
||||
}
|
||||
}}
|
||||
placeholder={frame != null ? "Evaluate expression (↩) or add a watch (⇧⌘↩)" : "Evaluate expression"}
|
||||
placeholder={tx("Evaluate expression")}
|
||||
aria-label={tx("Evaluate expression")}
|
||||
spellCheck={false}
|
||||
autoComplete="off"
|
||||
@@ -720,16 +752,55 @@ function VariablesPane({ session }: { session: DebugSession }) {
|
||||
<IconButton
|
||||
icon="plus"
|
||||
title="Add to Watches"
|
||||
shortcut="⇧⌘↩"
|
||||
shortcut={formatBinding(hostBinding("Meta+Shift+Enter"))}
|
||||
size="small"
|
||||
iconSize={16}
|
||||
disabled={!expression.trim()}
|
||||
onClick={() => {
|
||||
addWatch(expression);
|
||||
setExpression("");
|
||||
}}
|
||||
onClick={addExpressionWatch}
|
||||
/>
|
||||
<IconButton
|
||||
icon="chevron-down"
|
||||
title="History"
|
||||
size="small"
|
||||
aria-haspopup="menu"
|
||||
aria-expanded={historyOpen}
|
||||
disabled={frame == null}
|
||||
onClick={() =>
|
||||
setHistory(
|
||||
historyOpen
|
||||
? null
|
||||
: {
|
||||
sessionId: session.id,
|
||||
stopSeq,
|
||||
entries: readHistory("evaluate")
|
||||
.filter((entry) => !/[\r\n]/.test(entry))
|
||||
.slice(0, 20),
|
||||
},
|
||||
)
|
||||
}
|
||||
/>
|
||||
</div>
|
||||
<Popup
|
||||
open={historyOpen}
|
||||
onClose={() => setHistory(null)}
|
||||
anchor={evalRow}
|
||||
placement="bottom-start"
|
||||
matchWidth
|
||||
role="presentation"
|
||||
autoFocus={false}
|
||||
className={styles.evalHistory}
|
||||
>
|
||||
<MenuList
|
||||
aria-label={tx("Expression history")}
|
||||
iconColumn={false}
|
||||
onDone={() => setHistory(null)}
|
||||
items={
|
||||
history?.entries.length
|
||||
? history.entries.map((entry) => ({ label: entry, verbatim: true, run: () => recall(entry) }))
|
||||
: [{ label: "No history", disabled: true }]
|
||||
}
|
||||
/>
|
||||
</Popup>
|
||||
{frame == null && !watches.length && !lastEval ? (
|
||||
<div className={styles.note}>
|
||||
{session.status === "terminated"
|
||||
|
||||
@@ -403,24 +403,28 @@
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-1);
|
||||
min-height: var(--h-control-small);
|
||||
}
|
||||
.checkFeedback > .checkProblems {
|
||||
align-self: stretch;
|
||||
flex: 1;
|
||||
}
|
||||
.checkFeedback .checkProblemsList {
|
||||
align-self: stretch;
|
||||
}
|
||||
.checkFeedback > button {
|
||||
flex: none;
|
||||
}
|
||||
.checkProblems {
|
||||
flex: none;
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: var(--space-1-5);
|
||||
min-width: 0;
|
||||
max-height: 120px;
|
||||
overflow: auto;
|
||||
padding: 4px 10px 0;
|
||||
padding: var(--space-1) 10px 0;
|
||||
color: var(--fg-secondary);
|
||||
overflow-wrap: anywhere;
|
||||
font-size: var(--fs-small);
|
||||
font-size: var(--fs-ui);
|
||||
line-height: 1.4;
|
||||
}
|
||||
.checkProblemsIcon {
|
||||
@@ -434,13 +438,21 @@
|
||||
color: var(--success);
|
||||
}
|
||||
.checkProblemsList {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--space-1);
|
||||
min-width: 0;
|
||||
max-height: 150px;
|
||||
overflow: auto;
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
.checkProblemTitle {
|
||||
color: var(--fg);
|
||||
}
|
||||
.checkProblemLink {
|
||||
max-width: 100%;
|
||||
padding: 0;
|
||||
text-align: start;
|
||||
border: 0;
|
||||
background: none;
|
||||
color: var(--accent);
|
||||
|
||||
@@ -13,12 +13,7 @@
|
||||
font-size: var(--fs-ui);
|
||||
}
|
||||
|
||||
.intro {
|
||||
display: grid;
|
||||
gap: var(--space-1);
|
||||
}
|
||||
|
||||
.intro p {
|
||||
.content p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
@@ -26,7 +21,7 @@
|
||||
display: flex;
|
||||
flex: 1 1 230px;
|
||||
flex-direction: column;
|
||||
min-height: calc(2 * var(--h-row) + var(--h-control));
|
||||
min-height: 0;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-small);
|
||||
overflow: hidden;
|
||||
@@ -45,32 +40,13 @@
|
||||
min-height: var(--h-row);
|
||||
}
|
||||
|
||||
.nodeIcon {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.fileLabel {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
align-items: baseline;
|
||||
gap: var(--space-1-5);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.fileName,
|
||||
.directory {
|
||||
.path {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.directory {
|
||||
flex: 1;
|
||||
color: var(--fg-subtle);
|
||||
font-size: var(--fs-small);
|
||||
}
|
||||
|
||||
.hint {
|
||||
color: var(--fg-subtle);
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
import { useEffect, useMemo, useRef, useState } from "react";
|
||||
import type { CheckoutOptions, FileStatus } from "@/bindings";
|
||||
import { bindingsFor, normalizeBinding, registerKeyClaim, shortcutLabel } from "@/platform/keymap";
|
||||
import { Button, Dialog, Icon, IconButton, T, Tree, fileIconName, showContextMenu, type DialogButton } from "@/ui";
|
||||
import { Dialog, Icon, IconButton, T, Tree, fileIconName, showContextMenu, type DialogButton } from "@/ui";
|
||||
import { showRollbackDialog } from "./changeOps";
|
||||
import { isNestedRepoEntry } from "./submoduleRollback";
|
||||
import { groupOf, isPartiallyStaged } from "./changes";
|
||||
@@ -9,7 +9,7 @@ import { workingDiffData, withChain } from "./diffInput";
|
||||
import { openDialog } from "./dialogs";
|
||||
import { dirKeys, type FileTreeNode } from "./fileTree";
|
||||
import { filesUnder } from "./logChanges";
|
||||
import { baseName, dirName, effectiveKind, KIND_COLOR, rootOf } from "./model";
|
||||
import { baseName, effectiveKind, KIND_COLOR, rootOf } from "./model";
|
||||
import { repositoryPath } from "./repositoryPaths";
|
||||
import { refreshNow, repoName, useVcs } from "./store";
|
||||
import { useWorkflowSettings } from "@/platform/workflowSettings";
|
||||
@@ -180,6 +180,15 @@ function LocalChangesReviewDialog({
|
||||
},
|
||||
{ label: text.cancel, role: "cancel", disabled: rollingBack },
|
||||
];
|
||||
if (operation === "checkout") {
|
||||
buttons.splice(1, 0, {
|
||||
label: "Force Checkout",
|
||||
role: "extra",
|
||||
title: "Discard local changes in affected repositories",
|
||||
disabled: !blocked || rollingBack,
|
||||
onClick: () => onDone({ mode: "force", files: visible }),
|
||||
});
|
||||
}
|
||||
return (
|
||||
<Dialog
|
||||
open
|
||||
@@ -192,29 +201,11 @@ function LocalChangesReviewDialog({
|
||||
minHeight={300}
|
||||
resizable="both"
|
||||
buttons={buttons}
|
||||
footerStart={
|
||||
operation === "checkout" && (
|
||||
<Button
|
||||
title="Discard local changes in affected repositories"
|
||||
disabled={!blocked || rollingBack}
|
||||
onClick={() => onDone({ mode: "force", files: visible })}
|
||||
>
|
||||
Force Checkout
|
||||
</Button>
|
||||
)
|
||||
}
|
||||
>
|
||||
<div ref={content} className={styles.content}>
|
||||
<div className={styles.intro}>
|
||||
<p>
|
||||
<T>{blocked ? text.wouldOverwrite : text.cleared}</T>
|
||||
</p>
|
||||
{blocked && !reviewOnly && (
|
||||
<p className={styles.hint}>
|
||||
<T>{text[policy]}</T>
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
<p>
|
||||
<T>{blocked ? text.wouldOverwrite : text.cleared}</T>
|
||||
</p>
|
||||
<div className={styles.review}>
|
||||
<div className={styles.toolbar}>
|
||||
<IconButton
|
||||
@@ -278,23 +269,27 @@ function LocalChangesReviewDialog({
|
||||
className={styles.tree}
|
||||
renderNode={(node) => {
|
||||
const file = node.file;
|
||||
const name = file ? baseName(node.name) : node.name;
|
||||
const directory = file ? dirName(node.name) : "";
|
||||
const kind = file?.status && effectiveKind(file.status);
|
||||
return (
|
||||
<>
|
||||
<Icon className={styles.nodeIcon} name={file ? fileIconName(name) : "folder"} size={16} />
|
||||
<span className={styles.fileLabel} title={node.name}>
|
||||
<span className={styles.fileName} style={{ color: kind ? KIND_COLOR[kind] : undefined }}>
|
||||
{name}
|
||||
</span>
|
||||
{directory && <span className={styles.directory}>{directory}</span>}
|
||||
<Icon name={file ? fileIconName(baseName(node.name)) : "folder"} size={16} />
|
||||
<span
|
||||
className={styles.path}
|
||||
title={node.name}
|
||||
style={{ color: kind ? KIND_COLOR[kind] : undefined }}
|
||||
>
|
||||
{node.name}
|
||||
</span>
|
||||
</>
|
||||
);
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
{blocked && !reviewOnly && (
|
||||
<p className={styles.hint}>
|
||||
<T>{text[policy]}</T>
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
</Dialog>
|
||||
);
|
||||
|
||||
@@ -0,0 +1,70 @@
|
||||
.chooser > [data-dialog-body] {
|
||||
display: flex;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
min-width: 0;
|
||||
min-height: 0;
|
||||
gap: var(--space-2);
|
||||
padding: var(--space-2) var(--space-4) 0;
|
||||
font-size: var(--fs-ui);
|
||||
}
|
||||
|
||||
.tree {
|
||||
flex: 1;
|
||||
min-height: 0;
|
||||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius-small);
|
||||
background: var(--bg-input);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.choice {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.entry {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-1);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.entry svg {
|
||||
flex: none;
|
||||
}
|
||||
|
||||
.path {
|
||||
display: block;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.selected {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 0 1 auto;
|
||||
min-height: 0;
|
||||
max-height: min(96px, 33%);
|
||||
padding-inline: var(--space-2);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.selected .choice {
|
||||
flex: none;
|
||||
min-height: var(--h-list-row);
|
||||
}
|
||||
|
||||
.error {
|
||||
max-height: 25%;
|
||||
overflow: auto;
|
||||
overflow-wrap: anywhere;
|
||||
color: var(--danger);
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState } from "react";
|
||||
import { Checkbox, Dialog, SearchField, Tree } from "@/ui";
|
||||
import { Checkbox, Dialog, Icon, SearchField, Tree, fileIconName } from "@/ui";
|
||||
import { projectFs } from "@/features/project-tree/fs";
|
||||
import { openDialog } from "./dialogs";
|
||||
import { dirName, relTo, stripSlash } from "./model";
|
||||
@@ -7,6 +7,7 @@ import { repoName, repoOf } from "./store";
|
||||
import { call, commands } from "@/platform/ipc";
|
||||
import { tx } from "@/platform/i18n";
|
||||
import { ipcPath, isSameOrInside } from "@/platform/paths";
|
||||
import styles from "./PathFilterDialog.module.css";
|
||||
|
||||
interface PathNode {
|
||||
path: string;
|
||||
@@ -167,15 +168,21 @@ function PathFilterDialog({
|
||||
<Dialog
|
||||
open
|
||||
title="Filter by Paths"
|
||||
width={560}
|
||||
className={styles.chooser}
|
||||
width={432}
|
||||
initialSize={{ w: 432, h: 392 }}
|
||||
resizable="both"
|
||||
minWidth={300}
|
||||
minHeight={220}
|
||||
onClose={() => onDone(null)}
|
||||
buttons={[
|
||||
{ label: "OK", role: "default", onClick: () => onDone([...checked]) },
|
||||
{ label: "Cancel", role: "cancel" },
|
||||
]}
|
||||
>
|
||||
<div style={{ height: 320 }}>
|
||||
<div className={styles.content}>
|
||||
<Tree<PathNode>
|
||||
className={styles.tree}
|
||||
roots={nodes}
|
||||
getKey={(n) => n.path}
|
||||
getLabel={(n) => n.name}
|
||||
@@ -183,21 +190,49 @@ function PathFilterDialog({
|
||||
isExpandable={(n) => n.directory}
|
||||
loadChildren={load}
|
||||
renderNode={(n) => (
|
||||
<Checkbox label={n.name} checked={checked.has(n.path)} onChange={(on) => toggle(n.path, on)} />
|
||||
<Checkbox
|
||||
className={styles.choice}
|
||||
label={
|
||||
<span className={styles.entry}>
|
||||
<Icon name={n.directory ? "folder" : fileIconName(n.name, n.path)} size={16} />
|
||||
<span className={styles.path} title={n.name}>
|
||||
{n.name}
|
||||
</span>
|
||||
</span>
|
||||
}
|
||||
checked={checked.has(n.path)}
|
||||
onChange={(on) => toggle(n.path, on)}
|
||||
/>
|
||||
)}
|
||||
aria-label="Files and folders"
|
||||
/>
|
||||
{checked.size > 0 && (
|
||||
<div className={styles.selected} role="group" aria-label={tx("Selected paths")}>
|
||||
{[...checked].map((path) => {
|
||||
const root = roots.includes(path) ? path : repoOf(path, roots);
|
||||
const label = root ? (path === root ? repoName(root) : `${repoName(root)}/${relTo(root, path)}`) : path;
|
||||
return (
|
||||
<Checkbox
|
||||
key={path}
|
||||
className={styles.choice}
|
||||
label={
|
||||
<span className={styles.path} title={label}>
|
||||
{label}
|
||||
</span>
|
||||
}
|
||||
checked
|
||||
onChange={(on) => toggle(path, on)}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
{error && (
|
||||
<div className={styles.error} role="alert">
|
||||
{error}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
{checked.size > 0 && (
|
||||
<div style={{ maxHeight: 100, overflow: "auto" }} aria-label="Selected paths">
|
||||
{[...checked].map((path) => {
|
||||
const root = roots.includes(path) ? path : repoOf(path, roots);
|
||||
const label = root ? (path === root ? repoName(root) : `${repoName(root)}/${relTo(root, path)}`) : path;
|
||||
return <Checkbox key={path} label={label} checked onChange={(on) => toggle(path, on)} />;
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
{error && <div role="alert">{error}</div>}
|
||||
</Dialog>
|
||||
);
|
||||
}
|
||||
@@ -837,6 +837,7 @@
|
||||
"Unknown error": "Unknown error",
|
||||
"Retry Loading Conversation": "Retry Loading Conversation",
|
||||
"No conversation history": "No conversation history",
|
||||
"No history": "No history",
|
||||
"Loading the conversation timed out. Try again.": "Loading the conversation timed out. Try again.",
|
||||
"Couldn't load the conversation: {0}": "Couldn't load the conversation: {0}",
|
||||
"Astro Language Server": "Astro Language Server",
|
||||
|
||||
@@ -782,7 +782,6 @@
|
||||
"Evaluate": "Evaluar",
|
||||
"Evaluate Expression…": "Evaluar expresión…",
|
||||
"Evaluate expression": "Evaluar expresión",
|
||||
"Evaluate expression (↩) or add a watch (⇧⌘↩)": "Evaluar expresión (↩) o agregar una expresión de inspección (⇧⌘↩)",
|
||||
"Evaluate in the debug console": "Evaluar en la consola de depuración",
|
||||
"Evaluation result": "Resultado de la evaluación",
|
||||
"Everything is up to date": "Todo está actualizado",
|
||||
|
||||
@@ -719,7 +719,6 @@
|
||||
"Evaluate": "Évaluer",
|
||||
"Evaluate Expression…": "Évaluer l'expression…",
|
||||
"Evaluate expression": "Évaluer l'expression",
|
||||
"Evaluate expression (↩) or add a watch (⇧⌘↩)": "Évaluer l'expression (↩) ou ajouter une expression surveillée (⇧⌘↩)",
|
||||
"Evaluate in the debug console": "Évaluer dans la console de débogage",
|
||||
"Evaluation result": "Résultat de l'évaluation",
|
||||
"Everything is up to date": "Tout est à jour",
|
||||
|
||||
@@ -818,7 +818,6 @@
|
||||
"Evaluate": "평가",
|
||||
"Evaluate Expression…": "표현식 평가…",
|
||||
"Evaluate expression": "표현식 평가",
|
||||
"Evaluate expression (↩) or add a watch (⇧⌘↩)": "표현식 평가(↩) 또는 watch 추가(⇧⌘↩)",
|
||||
"Evaluate in the debug console": "디버그 콘솔에서 평가",
|
||||
"Evaluation result": "평가 결과",
|
||||
"Everything is up to date": "모두 최신 상태입니다",
|
||||
|
||||
@@ -774,7 +774,6 @@
|
||||
"Evaluate": "Oblicz/Ewaluuj",
|
||||
"Evaluate Expression…": "Oblicz wyrażenie…",
|
||||
"Evaluate expression": "Oblicz wyrażenie",
|
||||
"Evaluate expression (↩) or add a watch (⇧⌘↩)": "Oblicz wyrażenie (↩) lub dodaj do obserwowanych (⇧⌘↩)",
|
||||
"Evaluate in the debug console": "Oblicz w konsoli debugowania",
|
||||
"Evaluation result": "Wynik obliczenia",
|
||||
"Everything is up to date": "Wszystko jest aktualne",
|
||||
|
||||
@@ -774,7 +774,6 @@
|
||||
"Evaluate": "Avaliar",
|
||||
"Evaluate Expression…": "Avaliar expressão…",
|
||||
"Evaluate expression": "Avaliar expressão",
|
||||
"Evaluate expression (↩) or add a watch (⇧⌘↩)": "Avaliar expressão (↩) ou adicionar inspeção (⇧⌘↩)",
|
||||
"Evaluate in the debug console": "Avaliar no console de depuração",
|
||||
"Evaluation result": "Resultado da avaliação",
|
||||
"Everything is up to date": "Tudo está atualizado",
|
||||
|
||||
@@ -3570,7 +3570,6 @@
|
||||
"Evaluate": "Değerlendir",
|
||||
"Evaluate Expression…": "İfadeyi Değerlendir…",
|
||||
"Evaluate expression": "İfadeyi değerlendir",
|
||||
"Evaluate expression (↩) or add a watch (⇧⌘↩)": "İfadeyi değerlendir (↩) veya izleme ekle (⇧⌘↩)",
|
||||
"Evaluate in the debug console": "Hata ayıklama konsolunda değerlendir",
|
||||
"Evaluation result": "Değerlendirme sonucu",
|
||||
"Everything is up to date": "Her şey güncel",
|
||||
|
||||
@@ -1438,7 +1438,6 @@
|
||||
"Evaluate": "計算",
|
||||
"Evaluate Expression…": "計算表示式…",
|
||||
"Evaluate expression": "計算表示式",
|
||||
"Evaluate expression (↩) or add a watch (⇧⌘↩)": "計算表示式 (↩) 或新增監視 (⇧⌘↩)",
|
||||
"Evaluate in the debug console": "在偵錯主控台中計算",
|
||||
"Evaluation result": "計算結果",
|
||||
"Everything is up to date": "一切都是最新的",
|
||||
|
||||
@@ -1777,7 +1777,6 @@
|
||||
"Evaluate": "计算",
|
||||
"Evaluate Expression…": "计算表达式…",
|
||||
"Evaluate expression": "计算表达式",
|
||||
"Evaluate expression (↩) or add a watch (⇧⌘↩)": "计算表达式 (↩) 或添加监视 (⇧⌘↩)",
|
||||
"Evaluate in the debug console": "在调试控制台中计算",
|
||||
"Evaluation result": "计算结果",
|
||||
"Everything is up to date": "一切都是最新的",
|
||||
|
||||
Reference in new issue
Заблокувати користувача