【问题标题】:nothing happened if input code . in visual studio code terminal to open azure cloud shell如果输入代码没有任何反应。在 Visual Studio 代码终端中打开 azure cloud shell
【发布时间】:2020-04-17 05:39:36
【问题描述】:
【问题讨论】:
标签:
azure
visual-studio-code
azure-cloud-shell
【解决方案1】:
这是一种预期行为,因为 linked 声明 Visual Studio 代码已集成到 Azure 云外壳中。
通过与 Visual Studio Code 团队及其
开源 Monaco 项目,基于 Web 标准的编辑器
powers Visual Studio Code 现在直接集成到 Cloud Shell 中。
Azure Cloud Shell 包含一个基于开源 Monaco 编辑器构建的集成文件编辑器。通过在 Cloud Shell 终端中运行 code .。此操作会在终端中打开带有活动工作目录集的编辑器。见Using the Azure Cloud Shell editor。
其实输入code .是用来让你打开VS代码编辑器的。现在您有了used Cloud Shell in Visual Studio Code,当您在Visual Studio 代码终端中输入code. 时,什么都不会发生。您还可以将 Azure 云 shell 中的文件目录与在 Visual Studio Code 中打开 云 shell 中的 BASH 时的文件目录进行比较。