Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
16
rated 0 times [  16] [ 0]  / answers: 1 / hits: 10536  / 2 Years ago, wed, april 13, 2022, 6:31:15

I will often change a small script in gedit and then run it from a terminal. Isn't there a simple text editor with a "Run" button or something to streamline this? Even in Eclipse it's not trivial. I'm looking for specific suggestions on which text editors support this or how they can be extended to support this.


More From » scripts

 Answers
5

From:



Gedit Plug-ins


Use gedit external terminal plug-in


You can use gedit with terminal plugin. The steps are fairly straight-forward:



  1. Enable "Universe" repository

  2. Install gedit-plugins

  3. Activate "Embedded Terminal"

  4. Use Ctrl+F9 to open terminal

  5. Other gedit plug-ins


Step 1. Enable "Universe" repository


The first step is to ensure Universe repository is activated from Settings->Software & Updates->Ubuntu Software and ensure the third option is checked:


gedit plugins repository.png


Step 2. Install gedit-plugins


Install gedit-plugs with the command:


sudo apt install gedit-plugins

Step 3. Activate "Embedded Terminal"


Open gedit (don't use sudo) and select Edit->Preferences->Plugins and check off Embedded Terminal:


gedit embedded terminal.png


Step 4. Use Ctrl+F9 to open terminal


In the GIF below we use Ctrl+F9 to get a tiny window with the command prompt. Use the mouse to drag the dividing line up.


gedit terminal plugin.gif


Step 5. Other gedit plug-ins


As mentioned in Step 4., you can grab the separator bar to make the terminal window bigger. Here's what it looks like in a normal picture ((not a GIF).


There are three other plug-ins I currently use in the gedit coding window:



  • plug-in to display 80 character cut-off with different background color

  • plug-in to display entire document in thumbnail you can drag to quickly go to code section

  • Highlight matching brackets


gedit teriminal line wrap.png


For further reading please see:



[#4596] Wednesday, April 13, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
tersle

Total Points: 342
Total Questions: 109
Total Answers: 99

Location: Kazakhstan
Member since Mon, Sep 26, 2022
2 Years ago
;