Docs HomeMongoDB for VS Code

Install MongoDB for VS Code安装MongoDB for VS Code

On this page本页内容

Prerequisites先决条件

Before you can install MongoDB for VS Code, you must install Visual Studio Code. You can download Visual Studio Code from https://code.visualstudio.com/.在安装MongoDB for VS Code之前,必须先安装Visual Studio Code。您可以从下载Visual Studio Code

Procedure过程

1

Open the Extensions View.打开“扩展”视图。

In Visual Studio Code, click the Extensions icon in the left navigation.在Visual Studio Code中,单击左侧导航中的“扩展”图标。

Alternatively, you can open the Extensions view by pressing:或者,您可以按以下键打开“扩展”视图:

  • Control + Shift + X or
  • Command + Shift + X.
2

Search "MongoDB for VS Code" in the extension marketplace.在扩展市场中搜索“MongoDB for VS Code”。

3

Click Install on the "MongoDB for VS Code" extension.在“MongoDB for VS Code”扩展上单击“安装”。

Once the installation is complete, the Install button changes to the Manage gear button.安装完成后,“安装”按钮将变为“管理装备”按钮。

Once you install MongoDB for VS Code, you can view data in your deployment and create Playgrounds to interact with your data.一旦安装了MongoDB for VS Code,就可以查看部署中的数据,并创建与数据交互的演练场

To configure MongoDB for VS Code settings, see MongoDB for VS Code Settings.要配置MongoDB的VS Code设置,请参阅MongoDB的VSCode设置