LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   ide or editor for shell scripting (https://www.linuxquestions.org/questions/linux-software-2/ide-or-editor-for-shell-scripting-4175638631/)

mikudo 09-18-2018 03:16 AM

ide or editor for shell scripting
 
I am running debian 8 and i would like to improve my script writing environment with a local ide or text editor that marks up bash properly and maybe other things.

I have tex studio right now and its ok but annoying in a lot of ways, does anyone know where i could find markup profiles for bash, python, c, java, html etc?

Or is there a better way? I realize this is somewhat of a hot topic and matter of taste but I'd like to hear what other people do. thanks!

wpeckham 09-18-2018 04:48 AM

You can use your VIM profile to highlight keywords and pair grouping characters ( like " pairs, [ and ], etc.).

Most of the time I just use VIM. I find it far more important to focus on what is in your head and on the screen. I just want an editor that gets out of my way, saving the IDE for coding for compilers.

hydrurga 09-18-2018 04:57 AM

I thought that most of the desktop environment-supported text editors did basic script colour coding (which is all anyone needs, imo). For example, in Mint's xed, loading a bash file will colour code the script accordingly, as will loading a Python script, etc.

xed is based on pluma/gedit so I assume that these editors provide similar functionality.

Turbocapitalist 09-18-2018 05:30 AM

I, too, prefer vim for shell scripts. It does syntax highlighting and you can adjust the colors or make them grayscale. It or plain vi will be present on any machine you log into, especially when dealing with servers. I find it rather well suited to writing shell scripts and editing configuration files. Though I tend to use Emacs for other scripting.

Geany will also have syntax highlighting if you prefer a graphical interface.

rtmistler 09-18-2018 05:58 AM

Emacs is my editor of choice.

Not sure if by markup, you mean colorization and indenting, emacs does that.

mikudo 09-18-2018 06:02 AM

geany is what i'm looking for, thanks guys/gals!

scasey 09-18-2018 10:07 AM

I use SciTE for all editing. Has built-in highlighting for ~30 languages, is fully customizable, has both Linux and Windows versions.
It is the main reason I can barely spell vi :)

kilgoretrout 09-18-2018 12:05 PM

Tex studio is specifically designed for latex so any of the suggested general purpose text editors would probably be an improvement. I haven't used every one suggested, but they probably all support syntax highlighting to a greater or lesser extent. It's just a matter of personal preference. I use kde a lot so I tend to use kate which works fine syntax highlighting wise for C, C++, python, bash and probably others that I haven't tried.


All times are GMT -5. The time now is 03:45 PM.