Skip to content

Commit bec87cb

Browse files
committed
Use shorter default names for new ISFS folders in workspace
1 parent 40248f2 commit bec87cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/addServerNamespaceToWorkspace.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ export async function addServerNamespaceToWorkspace(resource?: vscode.Uri): Prom
146146
const params = new URLSearchParams(uri.query);
147147
const project = params.get("project");
148148
const csp = params.has("csp");
149-
const name = `${project ? `${project} - ` : ""}${serverName}:${namespace}${!csp ? "" : ["", "/"].includes(uri.path) ? " web files" : ` web files (${uri.path})`}${
149+
const name = `${serverName}:${namespace}${project ? ` (${project})` : !csp ? "" : ["", "/"].includes(uri.path) ? " (Web)" : ` (${uri.path})`}${
150150
scheme == FILESYSTEM_READONLY_SCHEMA && !project ? " (read-only)" : ""
151151
}`;
152152
// Append it to the workspace

0 commit comments

Comments
 (0)