[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-09-04。"],[],[],null,["# Cloud Shell Editor interface overview\n\nThis page describes the features of the Cloud Shell Editor.\n\nView and edit files\n-------------------\n\nCloud Shell comes with a built-in code editor that allows you to\nbrowse file directories, and view and edit files, with continued access to the\nCloud Shell. The Cloud Shell Editor is available by\ndefault with every Cloud Shell instance, and is based on\n[Code OSS](https://github.com/microsoft/vscode).\n\nTo work with the Cloud Shell Editor, follow these steps:\n\n1. Launch the Cloud Shell Editor by clicking\n\n **Open Editor** on the toolbar of the Cloud Shell window. The\n editor opens above the Cloud Shell terminal window.\n\n **Tip:** You can also launch the Cloud Shell Editor by\n navigating to [ide.cloud.google.com](https://ide.cloud.google.com).\n2. Use the side bar on the left to browse the file directories. Use the\n editor groups on the right to view and edit your files.\n\n3. Use the activity bar on the left to toggle the editor and the\n Cloud Shell window, upload and download files, preview web\n applications on a Cloud Shell virtual machine instance, and\n view usage statistics.\n\n For more information about the user interface, see\n [User interface](https://code.visualstudio.com/docs/getstarted/userinterface).\n\nOpen a file in Cloud Shell Editor\n---------------------------------\n\nTo open an existing file in Cloud Shell Editor from Cloud Shell,\nrun the [`cloudshell`](/shell/docs/using-cloudshell-command) command: \n\n cloudshell edit README-cloudshell.txt\n\nUpload and download files\n-------------------------\n\nYou can manage your files with the Cloud Shell Editor Explorer.\n\nTo download a file from your Cloud Shell Editor project to your local\nmachine, in the Cloud Shell Editor Explorer, right-click the file and\nselect **Download**.\n\nTo upload a file from your local machine to your\nCloud Shell Editor project, in the Cloud Shell Editor\nExplorer, right-click the empty space in the Explorer pane and select\n**Upload**.\n\nActivity bar\n------------\n\nTo open the Cloud Shell Editor views, in the activity bar, click\n\n**Cloud Code**.\n\nFrom the Cloud Code view, you can expand the following views:\n\n- Development Sessions: Monitor your Kubernetes applications with a structured logging view.\n- Kubernetes: Monitor and manage your GKE and minikube resources. For more information, see [Manage Kubernetes clusters](/code/docs/shell/adding-a-cluster).\n- Cloud Run: Monitor and manage your Cloud Run resources. For more information, see [Manage Cloud Run services in Cloud Run](/code/docs/shell/manage-cloud-run-services)\n- Cloud APIs: Browse and enable Cloud APIs and add Cloud Client Libraries to your project. For more information, see [Manage Cloud APIs and Cloud Client Libraries](/code/docs/shell/client-libraries)\n- Secret Manager: Manage secrets in Secret Manager. For more information, see [Manage secrets with Secret Manager](/code/docs/shell/secret-manager).\n\n\n\\* Help and feedback: Links to open walkthroughs, view documentation, change\nsettings, report issues or request features, view release notes, or sign\nout of Google Cloud.\n\nThe activity bar also includes the following views:\n\n- **Explorer**: View the folders and files in your current workspace.\n- **Search**: Search your files for a string or regular expression.\n- **Source Control**: Manage application files with the Cloud Shell Editor's Git support.\n- **Debug**: Debug your application by setting breakpoints and inspecting variables.\n\nLanguage support\n----------------\n\nThe Cloud Shell Editor supports Go, Python, Java, .NET Core, and\nNode.js, providing language features such as:\n\n- Smart highlighting, code suggestions, and context-based completions\n- Linting and providing descriptive errors\n- Code navigation (Go to definitions, declarations, references, and implementations)\n- Intuitive debugging support\n\nCloud Code integration\n----------------------\n\nThe Cloud Shell Editor comes with Cloud Code support.\n\nCloud Code provides IDE support for the full development cycle of\nKubernetes and Cloud Run applications, from creating and\ncustomizing a new application from a sample application to running your finished\napplication. Cloud Code also provides run-ready samples,\nout-of-the-box configuration snippets, and a tailored debugging experience.\n\nCloud Code supports the development of applications in Node.js,\nPython, Java, Go, and .NET Core.\n\nIn addition to the Cloud Code menu available in the status bar of\nCloud Shell, you can also access Cloud Code commands\nusing the command palette; press `Cmd`/`Ctrl`+`Shift`+`P`\nor click **View** \\\u003e **Command Palette** to display\navailable commands.\n\nFor a comprehensive look at what you can do with Cloud Code using\nCloud Shell, see\n[Getting started with Cloud Code](/shell/docs/getting-started-with-cloud-code).\n\nVersion control support\n-----------------------\n\nCloud Shell Editor comes with pre-configured version control. With\nCloud Shell, you can initialize repositories, diff between file\nstates, stage, unstage, and commit changes.\n\nFor more information, see\n[Using version control](/shell/docs/version-control).\n\nWorkspace management\n--------------------\n\nWith Cloud Shell, you can manage and configure your projects as\nworkspaces. Workspaces usually represent your root project folder and with the\nCloud Shell Editor, you can create, open, and save workspaces as\nwell as customize them with project-specific settings.\n\nFor more information about working with workspaces, see\n[Workspace management](/shell/docs/workspaces).\n\nDebugging support\n-----------------\n\nCloud Shell lets you debug your application, with full debugging\nsupport for Go, Node.js, Python, and Java applications. You can create launch\nconfigurations, set breakpoints, and inspect variables, all inside\nCloud Shell Editor.\n\nAdditionally, you can debug Kubernetes applications on a local cluster (like\nminikube or Docker Desktop) or a remote cluster on GKE or any\nother Cloud provider.\n\nFor more information, see\n[Debugging with Cloud Shell](/shell/docs/debugging).\n\nBuilt-in terminal\n-----------------\n\nAccess your underlying Cloud Shell instance without having to leave\nthe editor by navigating to **Terminal** \\\u003e **New Terminal** . You can also\nrun multiple terminal windows by using the **Split Terminal** option."]]