1

Currently I have a ubuntu terminal that I downloaded from the MS store. I would like to be able to edit code without using nano/vim/emacs. Is this possible? Can I use an external editor like visual studio or something of the like?

  • 1
    I added a WSL tag to your question. If indeed you are using Ubuntu via WSL, please edit your question's title to make that clear. – DK Bose Feb 28 at 2:42
  • What editor did you finally use? – sancho.s Mar 1 at 8:51
0

You are asking about code editors under Ubuntu/WSL.

You may want text apps or graphical apps. And you need to specify the language your code uses.

If Eclipse works for you, this may be useful

https://stackoverflow.com/questions/39670891/eclipse-c-c-project-on-bash-on-ubuntu-on-windows

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

For Netbeans

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

Otherwise, this may be helpful

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

1

WSL-OPEN FOR THE WIN!!

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

in WSL, set your default editor to WSL-OPEN:

export EDITOR=wsl-open

This will automatically translate the file to your default windows app for the associated EXT.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.