Page 1 of 3

PBEclipse - PureBasic Plugin for Eclipse

Posted: Tue Apr 18, 2006 8:32 pm
by wayne-c
PBEclipse: a PureBasic Plugin for Eclipse (3.1.2)

See [http://www.purebasic.fr/english/viewtop ... ht=eclipse]

Because I do all my programming / developing work in Eclipse, I finally have started to write my own Eclipse plugin for the PureBasic language. The syntax highlighting part is almost done; procedure-folding and auto-correction are on top of the TODO list.

Perhaps anybody has already done such a plugin in the meantime? :) Or are you interested in my plugin? Let me know!

P.S.: if you're a crack in Eclipse/PDE you can contribute to the auto-correction stuff as this seems to be the hardest part of it (automatically change endprocedure to EndProcedure (typos, case, ...).


Greets, Wayne

Posted: Tue Apr 18, 2006 8:44 pm
by Straker
I started to look into doing one, but didn't think it would be worth the effort, since code editors already exist for all platforms.

I would be interested in seeing what you have done.

It would be *VERY* useful, however, if an GUI designer could be integrated with the Code Editor in Eclipse, then it would be a very powerfule IDE for PureBasic.

Posted: Tue Apr 18, 2006 8:54 pm
by wayne-c
Straker wrote:I started to look into doing one, but didn't think it would be worth the effort, since code editors already exist for all platforms.
I know that PureBasic has editors for many platforms but there's just NO editor like Eclipse - it's the BEST editor EVER! :wink:
Straker wrote:It would be *VERY* useful, however, if an GUI designer could be integrated with the Code Editor in Eclipse, then it would be a very powerfule IDE for PureBasic.
There are Eclipse plugins that can do GUI related stuff for Java out there, so I plan to integrate a visual designer into my Eclipse-Plugin in the future. Just the syntax stuff needs to be done first.


Greets, Wayne

Posted: Tue Apr 18, 2006 10:01 pm
by Straker
On that note, I can't wait.

Posted: Tue Apr 18, 2006 10:25 pm
by Flype
Just downloaded eclipse (~105Mo), Sounds very good.
I'll will try it longer but first i prefer try the hot Beta11 of purebasic :D

Posted: Tue Apr 18, 2006 11:19 pm
by swan
I'm no crack at Eclipse, but I use it from time to time and quite enjoy it.
A PB plugin sounds like a great idea to me and would be very interested to see the result.
Mind you, the PB IDE will be hard to beat (but I guess thats not whats on your mind anyway).

Posted: Tue Apr 25, 2006 3:38 pm
by dracflamloc
Sounds good

Posted: Tue Apr 25, 2006 4:40 pm
by SCRJ
>>it's the BEST editor EVER!

Yes, it is.
But jaPBe is better :lol: :D

A plugin for eclipse sounds good :D

Posted: Wed Apr 26, 2006 12:43 pm
by wayne-c
swan wrote:the PB IDE will be hard to beat (but I guess thats not whats on your mind anyway).
the PB IDE is quite good, no question. but for me it misses some important integrated features like:

- Source Code Control ( Versioning, Branching, Merging, ... )
- Task-List / TODO-List
- FTP / WebDAV Site Explorers
- integrated web browser / Google-Search
- Bookmarks
- Extended searches ( within project files, classes, ... )
- possibility to add other features ( like a built-in MP3-Player :-) )

With Eclipse, all these features are available and constantly improved (open source). Of course there are seperate programs for all these tasks, but it is NICE to have them all bundled together in one development-environment, isn't it?



PBEclipse-Plugin Development Status

- Syntax Coloring done for all PB Keywords, Functions and Types
- Outline View done 75% (for Procedures so far)
- also done the Run PureBasic Compiler from within Eclipse (with and without Debugger) feature with output to the Eclipse Console


not yet done:

- Auto-Correction
- Procedure folding
- Wizards (new project, new file)
- integrated help


I am working on that ...

Wayne

Posted: Wed Apr 26, 2006 1:08 pm
by Froggerprogger
That sounds very promising! I'm looking forward to the fist beta!

Will eclipse's CVS-integration work, too ?

Posted: Wed Apr 26, 2006 1:48 pm
by wayne-c
Froggerprogger wrote:Will eclipse's CVS-integration work, too ?
YES - if not, it would be an almost useless plugin (at least for me - so i will make sure it runs :-)) !

Even though, I will test it only with the subversion plugin (subversion is a cvs replacement) which I am using here.


Wayne

Posted: Wed Apr 26, 2006 3:29 pm
by traumatic
wayne-c wrote:__________
Real Programmers don't comment their code. It was hard to write, it should be hard to understand.
You don't say! ;)

Did you ever get this plugin going?

Posted: Mon Jul 17, 2006 11:56 pm
by stubbsi
:)

Iain

Posted: Tue Jul 18, 2006 5:50 am
by wayne-c
Hi,

Well I've completed Syntax Highlighting, Code Assistant (Auto-Complete) and Outline Page (Project Explorer). CVS (and other Plugin) integration works fine. Run and Run-with-Debugger (External) is done by a ToolBar-Button, but there is no integrated Debugger yet. Also I would need help to complete the GUI Designer (Visual Designer Replacement) - I have some good points where to start there but it's FAR from being working...

As you can see in this thread a few people were interested in such a plugin, but not a big majority, so my efforts to finish were (at least then) quit little.

However my original idea was that with a good Eclipse plugin that includes a Visual Designer, the PB-team could focus on their main task (to make PB better) and would not have to spend additional time on the PB-IDE :)

And of course because I love to work with Eclipse!

Wayne

Is it usable?

Posted: Tue Jul 18, 2006 5:56 am
by stubbsi
because i am interested in using it

- i am also using subversion
- i want to have a consistent environment.

I'm not sure if I can help with getting it right, but you can run things past me if you want to.



Iain