Linux windows like editor

Alternative to basic text editors in ubuntu wsl

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?

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.

4 Answers 4

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

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

I had this problem and MS Visual Studio Code was excellent at solving this issue. Install it, and run «code .» and it will open with it. More detailed instructions below.

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

Otherwise, this may be helpful

  1. Download visual studio code for windows
  2. In the ubuntu terminal type «code «.
    Example:
code ./codes_folder code ./codes_folder/1.c 

You must log in to answer this question.

Linked

Hot Network Questions

Subscribe to RSS

To subscribe to this RSS feed, copy and paste this URL into your RSS reader.

Site design / logo © 2023 Stack Exchange Inc; user contributions licensed under CC BY-SA . rev 2023.7.14.43533

Читайте также:  Sql командная строка linux

Ubuntu and the circle of friends logo are trade marks of Canonical Limited and are used under licence.

By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.

Источник

Оцените статью
Adblock
detector