PBEclipse - PureBasic Plugin for Eclipse

Developed or developing a new product in PureBasic? Tell the world about it.
wayne-c
Enthusiast
Enthusiast
Posts: 337
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

PBEclipse - PureBasic Plugin for Eclipse

Post 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
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post 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.
Image Image
wayne-c
Enthusiast
Enthusiast
Posts: 337
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Post 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
As you walk on by, Will you call my name? Or will you walk away?
Straker
Enthusiast
Enthusiast
Posts: 701
Joined: Wed Apr 13, 2005 10:45 pm
Location: Idaho, USA

Post by Straker »

On that note, I can't wait.
Image Image
User avatar
Flype
Addict
Addict
Posts: 1542
Joined: Tue Jul 22, 2003 5:02 pm
Location: In a long distant galaxy

Post 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
No programming language is perfect. There is not even a single best language.
There are only languages well suited or perhaps poorly suited for particular purposes. Herbert Mayer
swan
Enthusiast
Enthusiast
Posts: 225
Joined: Sat Jul 03, 2004 9:04 am
Location: Sydney Australia
Contact:

Post 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).
dracflamloc
Addict
Addict
Posts: 1648
Joined: Mon Sep 20, 2004 3:52 pm
Contact:

Post by dracflamloc »

Sounds good
SCRJ
User
User
Posts: 93
Joined: Sun Jan 15, 2006 1:36 pm

Post by SCRJ »

>>it's the BEST editor EVER!

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

A plugin for eclipse sounds good :D
Last edited by SCRJ on Thu Apr 27, 2006 6:07 pm, edited 1 time in total.
wayne-c
Enthusiast
Enthusiast
Posts: 337
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Post 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
As you walk on by, Will you call my name? Or will you walk away?
Froggerprogger
Enthusiast
Enthusiast
Posts: 423
Joined: Fri Apr 25, 2003 5:22 pm
Contact:

Post by Froggerprogger »

That sounds very promising! I'm looking forward to the fist beta!

Will eclipse's CVS-integration work, too ?
%1>>1+1*1/1-1!1|1&1<<$1=1
wayne-c
Enthusiast
Enthusiast
Posts: 337
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Post 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
As you walk on by, Will you call my name? Or will you walk away?
traumatic
PureBasic Expert
PureBasic Expert
Posts: 1661
Joined: Sun Apr 27, 2003 4:41 pm
Location: Germany
Contact:

Post 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! ;)
Good programmers don't comment their code. It was hard to write, should be hard to read.
stubbsi
User
User
Posts: 50
Joined: Tue Jul 04, 2006 8:59 pm
Location: Mt Martha, Australia

Did you ever get this plugin going?

Post by stubbsi »

:)

Iain
wayne-c
Enthusiast
Enthusiast
Posts: 337
Joined: Tue Jun 08, 2004 10:29 am
Location: Zurich, Switzerland

Post 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
As you walk on by, Will you call my name? Or will you walk away?
stubbsi
User
User
Posts: 50
Joined: Tue Jul 04, 2006 8:59 pm
Location: Mt Martha, Australia

Is it usable?

Post 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
Post Reply