LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   IDE to develop (https://www.linuxquestions.org/questions/slackware-14/ide-to-develop-4175677513/)

Linpassion 06-23-2020 09:14 AM

IDE to develop
 
Hello I'm looking for a IDE to develop on BASH, HTML, C/C++, XML, PHP+MYSQL, PROLOG. Now I using Emacs, but PHP is not set by color and indent like HTML, BASH ecc... Can you suggest me alternative not heavy? If Emacs it's a good choose there are othe plug-in? About C++ how compile it to test programs on Win?

Thanks

pan64 06-23-2020 09:28 AM

did you try pycharm (for example?)

chemfire 06-23-2020 11:17 AM

You might consider good old "joe" as an editor. It has good syntax highlighting, if that is what you are after for most of those languages. Its still what I do most work in for things like Bash scripts and if I have to touch PHP. for C++ Code::Blocks is pretty nice. I have not tried it but there are slackbuilds for VSCode...

Didier Spaier 06-23-2020 11:31 AM

geany

montagdude 06-23-2020 11:38 AM

I tried a few, settled on screen or tmux + vim + gdb. Not an actual IDE, but better if you ask me.

average_user 06-23-2020 01:01 PM

1 Attachment(s)
Quote:

Originally Posted by Linpassion (Post 6137259)
Now I using Emacs, but PHP is not set by color and indent like HTML, BASH ecc... Can you suggest me alternative not heavy? If Emacs it's a good choose there are othe plug-in?

Emacs is great for programming. Install php-mode. I attach a screenshot of open /usr/lib64/php/System.php file. I use zenburn color theme.

drgibbon 06-23-2020 01:47 PM

Quote:

Originally Posted by Linpassion (Post 6137259)
Hello I'm looking for a IDE to develop on BASH, HTML, C/C++, XML, PHP+MYSQL, PROLOG. Now I using Emacs, but PHP is not set by color and indent like HTML, BASH ecc... Can you suggest me alternative not heavy? If Emacs it's a good choose there are othe plug-in? About C++ how compile it to test programs on Win?

Emacs is very good with major modes for various programming languages, I use it for LaTeX (AUCTeX), R (ESS / polymode), Python (elpy), and shell scripting. It can take a while to get it set up nicely though, and you'll want to use MELPA. Some useful info and resources here, and there's also no need to use the terminal, X11 Emacs is usually better.

EdGr 06-23-2020 02:18 PM

Quote:

Originally Posted by Linpassion (Post 6137259)
About C++ how compile it to test programs on Win?

The easiest way to compile programs for Windows is to use Microsoft's tools. Microsoft offers a free-as-in-beer edition of Visual Studio.
Ed

average_user 06-23-2020 02:23 PM

Quote:

Originally Posted by EdGr (Post 6137338)
The easiest way to compile programs for Windows is to use Microsoft's tools. Microsoft offers a free-as-in-beer edition of Visual Studio.
Ed

But does it run on Linux and generates Windows binaries? If so, how are external libraries handled? Luckily I don't have to use Windows, just asking.

EdGr 06-23-2020 02:33 PM

Quote:

Originally Posted by average_user (Post 6137342)
But does it run on Linux and generates Windows binaries? If so, how are external libraries handled? Luckily I don't have to use Windows, just asking.

Visual Studio runs on Windows and generates Windows binaries. A lot of libraries are written to compile and run on both Linux and Windows using each OS'es native tools.

I have not tried the free-as-in-beer edition of Visual Studio, but I believe it is usable (i.e. not badly crippled).
Ed

animeresistance 06-23-2020 03:07 PM

Hi.

I'm semi old school, I use vim, nano, sometimes jedit, kwrite and spyder, but I think that maybe eclipse, pycharm can help you, if you don't mind using M$ tools, you can use vscode, an acquaintance uses it, he says it is easy to use.

Hope it helps you.

Cheers.

giomat 06-23-2020 03:32 PM

Quote:

Originally Posted by average_user (Post 6137342)
But does it run on Linux and generates Windows binaries? If so, how are external libraries handled? Luckily I don't have to use Windows, just asking.

At work and at home i cross compile binaries for windows using mingw in a fedora lxc container. fedora comes with a nice mingw package and lots of libraries ready to link with, only archlinux has more packages compiled for mingw, but i find it a bit too bleeding edge for my tastes.

Speaking about it, would be nice to have something for slackware too, like a collection of mingw packages and libs in form of slackbuilds to turn slackware into a cross-compiling distro, maybe like the multilib repo, that you add to slackpkg, install and it's ready to go. I know there's stuff like mxe around that kinda do this, but i didn't like it much last time i tried it

Mill J 06-23-2020 06:01 PM

I second Geany. It's light, fast and has very good highlighting for a lot of languages.

wainamoinen 06-23-2020 06:12 PM

For a C/C++ IDE, Codelite is quite lightweight. It works on Linux and Windows (using MinGW/CLang).

https://codelite.org/

https://slackbuilds.org/repository/1...ment/codelite/

dugan 06-23-2020 10:58 PM

For cross compiling to Windows, I've heard of people using this:

https://mxe.cc/


All times are GMT -5. The time now is 09:16 PM.