Bennu Game Development

English Forums => Tools => Topic started by: Grew on February 01, 2016, 09:16:36 PM

Title: Another Notepadd++ based IDE (DivLike-IDE)
Post by: Grew on February 01, 2016, 09:16:36 PM
Hi,


I've made many modifications on my standalone Notepad++ installation.
I've added some nice features like compilation selection (BennuGD or PixTudio), error highlighting and "tracking", etc...


I've made a public git repository here : https://gitlab.com/Benjamin-Hoffmann/DivLike-IDE (https://gitlab.com/Benjamin-Hoffmann/DivLike-IDE)
I will improve it little by little, and your suggestions or pull request are welcome.


I know this is not as powerfull as VisualStudio 2015  ;D but I think Notepad++ can be a good base to configure a good IDE like for Bennu and PixTudio.

Here are some screenshots :
(https://gitlab.com/Benjamin-Hoffmann/DivLike-IDE/uploads/6331f67bc62a849d8c8499cde89f89c4/ide_global.png)


(https://gitlab.com/Benjamin-Hoffmann/DivLike-IDE/uploads/aa59159e2e026d4d100b3449675d0521/choose_mode.png)


(https://gitlab.com/Benjamin-Hoffmann/DivLike-IDE/uploads/ae6c0d252ae097d2d7bfe74928e1feff/ide_global.png)
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: JaViS on February 01, 2016, 09:39:27 PM
Wow it looks very nice! thanks for sharing!


two things:


You should make the path to the compilers configurable


and how do I change the language of the IDE?


thanks
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: Grew on February 01, 2016, 10:12:58 PM
Thank you !


To change the language :
Paramétrage \ Préférences... \ Général \ Langue  \ English
I wil set it to english by default.


I will take a look to how to make the path configurable. Thank for the suggestion !
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: panreyes on February 01, 2016, 11:10:00 PM
Pretty AWESOME! :D

Looking forward to include it, with your permission, into "PixTudio Project Manager"! :)
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: Grew on February 02, 2016, 07:30:48 AM
Quote from: PiXeL on February 01, 2016, 11:10:00 PM
Pretty AWESOME! :D

Looking forward to include it, with your permission, into "PixTudio Project Manager"! :)


Yes ! It's a good idea !
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: josebita on February 02, 2016, 09:59:36 AM
Thank you so much, this looks great!
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: josebita on February 02, 2016, 10:04:40 AM
PixTudio return codes are different from BennuGD ones, BTW. PXTB returns 0 on successful compilation and != 0 on error, in a more traditional Posix way.
The idea is that, from a posix shell, you can now do:
pxtb main.prg && pxtp main.dcb
But it should also help you in detecting failed compilations from your IDE.
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: Drumpi on February 02, 2016, 09:03:05 PM
Thanks a lot.
Notepad++ is my default IDE for BennuGD since I can't use FEdit, and I'm a little upset because it don't have command line by default since a year or so. But the "session load" and my custom text highlight are the things I miss on other IDEs
I will try it, so I can tell you my thoughs.

... but in the main time, I'm going to give you KARMA++
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: Grew on February 02, 2016, 09:25:45 PM
Quote from: josebita on February 02, 2016, 10:04:40 AM
PixTudio return codes are different from BennuGD ones, BTW. PXTB returns 0 on successful compilation and != 0 on error, in a more traditional Posix way.
The idea is that, from a posix shell, you can now do:
pxtb main.prg && pxtp main.dcb
But it should also help you in detecting failed compilations from your IDE.
Thank you for the informations ! I will take a look ASAP.


Quote from: Drumpi on February 02, 2016, 09:03:05 PM
Thanks a lot.
Notepad++ is my default IDE for BennuGD since I can't use FEdit, and I'm a little upset because it don't have command line by default since a year or so. But the "session load" and my custom text highlight are the things I miss on other IDEs
I will try it, so I can tell you my thoughs.

... but in the main time, I'm going to give you KARMA++
Thank you !
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: warrior_rockk on February 03, 2016, 07:40:34 AM
Quote from: Drumpi on February 02, 2016, 09:03:05 PM
Thanks a lot.
Notepad++ is my default IDE for BennuGD since I can't use FEdit, and I'm a little upset because it don't have command line by default since a year or so. But the "session load" and my custom text highlight are the things I miss on other IDEs
I will try it, so I can tell you my thoughs.

... but in the main time, I'm going to give you KARMA++


It's possible with Notepad++ to have the "session load" feature with the Workspace Manager that is native included:
(http://docs.notepad-plus-plus.org/images/3/38/ProjectMgr.png)


This is my actual Notepad++ Bennu IDE:

(http://forum.bennugd.org/index.php?action=dlattach;topic=4171.0;attach=3414)
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: Grew on February 03, 2016, 08:06:19 AM

Quote from: warrior_rockk on February 03, 2016, 07:40:34 AM
This is my actual Notepad++ Bennu IDE
Can you share your autocompletion configuration ? I will try to add it in my project if you are ok with that.
Title: Re:Another Notepadd++ based IDE (DivLike-IDE)
Post by: warrior_rockk on February 03, 2016, 08:16:57 AM
Quote from: Grew on February 03, 2016, 08:06:19 AM

Quote from: warrior_rockk on February 03, 2016, 07:40:34 AM
This is my actual Notepad++ Bennu IDE
Can you share your autocompletion configuration ? I will try to add it in my project if you are ok with that.


Of Course. Simply decompress the xml file into the path: C:\Program Files (x86)\Notepad++\plugins\APIs . Make sure that you have the autocompletion enabled in Notepad++ preferences