使用远程开发 (WSL) 功能进行 XHTML 电子书开发有什么好处吗?

Is there any benefit to using the Remote Development (WSL) feature for XHTML ebook development?

我在我的 Windows 10 机器上使用 WSL (Ubuntu) 只是因为有一些 Linux 命令行工具用于开发 [=10 专门设计和需要的电子书=].我只处理 XHTMLCSS 文件。在 VS Code 中使用 远程开发 (WSL) 扩展对我有什么好处吗?我已经可以使用 Windows Explorer 访问我的文件了。我不确定这个功能有什么好处。

extensions marketplace page 状态:

Why Remote – WSL in VS Code?

While you can edit files in Linux using Windows-based tools, you can’t easily run or debug on Windows: you'd have to install all the same tools on Windows as you did on Linux, defeating the purpose of having an isolated Linux environment. You could view files from your \wsl$\ share, but you wouldn't have access to features such as autocomplete, debugging, or linting.

With VS Code and the Remote - WSL extension combined, VS Code’s UI runs on Windows, and all your commands, extensions, and even the terminal, run on Linux. You get the full VS Code experience, including autocomplete and debugging, powered by the tools and compilers installed on Linux.

您可以总结一下,您获得的一些好处是:

  • 能够使用任何可用的 Linux 编译器和工具功能
  • 能够使用 Visual Studio 代码功能进行开发,例如自动完成和调试,但具有前面提到的 Linux 功能