ubuntu wsl 中基本文本编辑器的替代品

cap*_*cap 5 text-editor windows-subsystem-for-linux

目前我有一个从 MS 商店下载的 ubuntu 终端。我希望能够在不使用 nano/vim/emacs 的情况下编辑代码。这可能吗?我可以使用 Visual Studio 之类的外部编辑器吗?

小智 5

WSL-为胜利而开放!!

https://github.com/4U6U57/wsl-open

在 WSL 中,将默认编辑器设置为 WSL-OPEN:

导出编辑器=wsl-open

这将自动将文件转换为关联 EXT 的默认 Windows 应用程序。


san*_*lio 1

您询问的是 Ubuntu/WSL 下的代码编辑器。

您可能需要文本应用程序或图形应用程序。并且您需要指定代码使用的语言。

如果 Eclipse 适合您,这可能会有用

/sf/ask/2776962401/

https://www.cs.odu.edu/~zeil/FAQs/Public/win10Bash/#installing-eclipse

对于 Netbeans

http://web.cse.msstate.edu/~crumpton/reference/Installing_NetBeans_IDE_for_use_with_WSL.pdf

否则,这可能会有所帮助

https://cepa.io/2018/02/20/linuxizing-your-windows-pc-part2/