From 70ad911641141e3bb120f8219dfa59739844880b Mon Sep 17 00:00:00 2001 From: Asher Date: Tue, 5 Feb 2019 15:26:57 -0600 Subject: [PATCH] vscode-online -> vscode-remote --- README.md | 8 ++++---- package.json | 6 +++--- packages/protocol/src/node/command.ts | 2 +- packages/server/src/cli.ts | 4 ++-- packages/server/src/vscode/sharedProcess.ts | 2 +- packages/vscode/src/fill/paths.ts | 2 +- packages/vscode/src/fill/product.ts | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 88ad451e..ad1d42e1 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,19 @@ -# vscode-cloud +# vscode-remote -Run VS Code in the cloud. +Run VS Code remotely. ## Contributing ### Getting the source ``` -git clone https://github.com/codercom/vscode-cloud +git clone https://github.com/codercom/vscode-remote ``` ### Installing dependencies ``` -cd vscode-cloud +cd vscode-remote yarn ``` diff --git a/package.json b/package.json index 437d8daa..f446f014 100644 --- a/package.json +++ b/package.json @@ -1,9 +1,9 @@ { - "name": "@coder/vscode-cloud", - "repository": "https://github.com/codercom/vscode-cloud", + "name": "@coder/vscode-remote", + "repository": "https://github.com/codercom/vscode-remote", "author": "Coder", "license": "MIT", - "description": "VS Code in the cloud.", + "description": "Run VS Code remotely.", "scripts": { "build:rules": "cd ./rules && tsc -p .", "vscode:clone": "mkdir -p ./lib && test -d ./lib/vscode || git clone https://github.com/Microsoft/vscode/ ./lib/vscode", diff --git a/packages/protocol/src/node/command.ts b/packages/protocol/src/node/command.ts index 3235f1f9..0738f102 100644 --- a/packages/protocol/src/node/command.ts +++ b/packages/protocol/src/node/command.ts @@ -331,7 +331,7 @@ const getChildLogger = (command: string, prefix: string = ""): Logger => { let name: string; if (command.includes("vscode-ipc") || command.includes("extensionHost")) { name = "exthost"; - } else if (command.includes("vscode-online")) { + } else if (command.includes("vscode-remote")) { name = "shared"; } else { const basename = command.split("/").pop()!; diff --git a/packages/server/src/cli.ts b/packages/server/src/cli.ts index 6cae8d32..4881be50 100644 --- a/packages/server/src/cli.ts +++ b/packages/server/src/cli.ts @@ -72,7 +72,7 @@ export class Entry extends Command { return requireModule(modulePath, builtInExtensionsDir); } - const dataDir = flags["data-dir"] || path.join(os.homedir(), ".vscode-online"); + const dataDir = flags["data-dir"] || path.join(os.homedir(), ".vscode-remote"); const workingDir = args["workdir"]; if (process.env.BUILD_DIR && process.env.BUILD_DIR.startsWith(workingDir)) { @@ -122,7 +122,7 @@ export class Entry extends Command { next(); }); if ((process.env.CLI === "false" || !process.env.CLI) && !process.env.SERVE_STATIC) { - const webpackConfig = require(path.join(__dirname, "..", "..", "web", "webpack.dev.config.js")); + const webpackConfig = require(path.join(__dirname, "..", "..", "web", "webpack.config.js")); const compiler = require("webpack")(webpackConfig); app.use(require("webpack-dev-middleware")(compiler, { logger, diff --git a/packages/server/src/vscode/sharedProcess.ts b/packages/server/src/vscode/sharedProcess.ts index c4a10b5c..5a78ed93 100644 --- a/packages/server/src/vscode/sharedProcess.ts +++ b/packages/server/src/vscode/sharedProcess.ts @@ -23,7 +23,7 @@ export type SharedProcessEvent = { export class SharedProcess { - public readonly socketPath: string = path.join(os.tmpdir(), `.vscode-online${Math.random().toString()}`); + public readonly socketPath: string = path.join(os.tmpdir(), `.vscode-remote${Math.random().toString()}`); private _state: SharedProcessState = SharedProcessState.Stopped; private activeProcess: ChildProcess | undefined; private ipcHandler: StdioIpcHandler | undefined; diff --git a/packages/vscode/src/fill/paths.ts b/packages/vscode/src/fill/paths.ts index ceba02de..01bcb353 100644 --- a/packages/vscode/src/fill/paths.ts +++ b/packages/vscode/src/fill/paths.ts @@ -1,7 +1,7 @@ export const _paths = { appData: "/tmp", defaultUserData: "/tmp", - socketPath: "/tmp/vscode-online.sock", + socketPath: "/tmp/vscode-remote.sock", }; export const getAppDataPath = (): string => _paths.appData; diff --git a/packages/vscode/src/fill/product.ts b/packages/vscode/src/fill/product.ts index 678f4cfe..305b728a 100644 --- a/packages/vscode/src/fill/product.ts +++ b/packages/vscode/src/fill/product.ts @@ -2,8 +2,8 @@ import { IProductConfiguration } from "vs/platform/node/product"; const product = { nameShort: "VSCode", - nameLong: "vscode online", - dataFolderName: ".vscode-online", + nameLong: "VSCode Remote", + dataFolderName: ".vscode-remote", extensionsGallery: { serviceUrl: "https://marketplace.visualstudio.com/_apis/public/gallery", cacheUrl: "https://vscode.blob.core.windows.net/gallery/index",