PB-plugin for eclipse ?

Working on new editor enhancements?
Froggerprogger
Enthusiast
Enthusiast
Posts: 423
Joined: Fri Apr 25, 2003 5:22 pm
Contact:

PB-plugin for eclipse ?

Post by Froggerprogger »

Hi there!
Does anybody has the know-how to write a plugin for eclipse for usage as a PureBasic-Editor ?

( For those who don't know eclipse: http://www.eclipse.org/org/index.html
Short-info:
It is an open-source-IDE that comes along with an extreme powerful functionality for source-writing (even much more than jaPBe) and can be used and extended via 'plugins' for many things, e.g. Java-Programming (de facto it is a quasi-standard for Java-programmers worldwide), C++, LaTeX, HTML, UML, VisualEditor, etc. it comes along with support for CVS, ... It is written in Java (using SWT for the GUI) and runs on Windows/Linux/Mac/Solaris, etc. look here)

I think that would be grandious, especially for the linux-users, who don't have any IDE atm. But even for windozer and mac in future it would be a fantastic new way to code PB.

I think all that need to be done is the syntax-highlighting and a new 'perspective' for the compiler-parameters/PB-PlugIns/PB-help/etc.
All the other stuff is already done by eclipse! For all platforms! That could become an official cross-platform PB-editor.
What do you think about ?
%1>>1+1*1/1-1!1|1&1<<$1=1
Pupil
Enthusiast
Enthusiast
Posts: 715
Joined: Fri Apr 25, 2003 3:56 pm

Post by Pupil »

Have you read this?
viewtopic.php?t=14327
Froggerprogger
Enthusiast
Enthusiast
Posts: 423
Joined: Fri Apr 25, 2003 5:22 pm
Contact:

Post by Froggerprogger »

arghh, no ... :wink:
OK, so there's already an Editor for Linux!

But anyway, eclipse is grandious and it would make sense to use it's power for PB-coding.
The problem: I have never written an eclipse-plugin, but perhaps someone else already has ? (And can make it for PB :wink: , or give me some hints, how to get started and which packages to use for syntax-highlighting, etc. ?)
%1>>1+1*1/1-1!1|1&1<<$1=1
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

Froggerprogger wrote:But anyway, eclipse is grandious
That's an understatement! It's sublime!
Froggerprogger wrote:The problem: I have never written an eclipse-plugin, but perhaps someone else already has ? (And can make it for PB :wink: , or give me some hints, how to get started and which packages to use for syntax-highlighting, etc. ?)
There's a general purpose highlighting plugin for it called EclipseColorer at http://colorer.sourceforge.net/
I haven't tried adding a language but they've got some details on their site on how to do so and it's got to be easier than writing a plugin from scratch!
Mat
User avatar
Inner
PureBasic Expert
PureBasic Expert
Posts: 714
Joined: Fri Apr 25, 2003 4:47 pm
Location: New Zealand

Post by Inner »

well; I had a look at eclipse just not to refresh my memory, as I thought it's a java based editor, and looking at it is "WAY" over the top for an editor, which would acount for it's popularotiy to be rather poor.

as for the pbide, well it's not GTK2 therefore it's not used on this pc
spot
User
User
Posts: 16
Joined: Fri Oct 10, 2003 9:20 pm
Location: switzerland
Contact:

Post by spot »

any news on this topic? i'm looking for a purebasic eclipse 3.1-plugin, too. would be so nice to have one.
-- spot | www.nothing.ch
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Re: PB-plugin for eclipse ?

Post by Kale »

Froggerprogger wrote:Hi there!
Does anybody has the know-how to write a plugin for eclipse for usage as a PureBasic-Editor ?
( For those who don't know eclipse: http://www.eclipse.org/org/index.html)
Quote from eclipse site:
Eclipse has formed an independent open eco-system around royalty-free technology and a universal platform for tools integration.
What? :shock:

I hate websites that are hard to navigate and just bullshit the user. I spent 1 minute looking at it then gave up looking for a screenshot. :?
--Kale

Image
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

So it's an editor?

lol. A while back I went there and couldn't work out what it was. I guess I'm not the sharpest tool in the shed. :)
@}--`--,-- A rose by any other name ..
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Re: PB-plugin for eclipse ?

Post by MrMat »

Kale wrote:I spent 1 minute looking at it then gave up looking for a screenshot. :?
Their site could be set out a lot better. It covers a lot of different projects so it is quite overwhelming. Anyway, here is a screenshot that may give some general ideas of what it is like, although it would take a thousand screenshots to show everything it is capable of!

Image
Mat
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

Anyway, here is a screenshot that may give some general ideas of what it is like, although it would take a thousand screenshots to show everything it is capable of!
Aha! :)
--Kale

Image
dagcrack
Addict
Addict
Posts: 1868
Joined: Sun Mar 07, 2004 8:47 am
Location: Argentina
Contact:

Post by dagcrack »

Looks like a distraction generator more than an IDE. :lol:
! Black holes are where God divided by zero !
My little blog!
(Not for the faint hearted!)
Kale
PureBasic Expert
PureBasic Expert
Posts: 3000
Joined: Fri Apr 25, 2003 6:03 pm
Location: Lincoln, UK
Contact:

Post by Kale »

dagcrack wrote:Looks like a distraction generator more than an IDE. :lol:
lol! :lol:
--Kale

Image
Dare2
Moderator
Moderator
Posts: 3321
Joined: Sat Dec 27, 2003 3:55 am
Location: Great Southern Land

Post by Dare2 »

:D
@}--`--,-- A rose by any other name ..
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

dagcrack wrote:Looks like a distraction generator more than an IDE. :lol:
hehe! Each of those views/editors (the different panels) can be docked where you like it, or not displayed in the first place if you want. There are lots more panels not shown that do all sorts of things from database access to visual designers. Any layout of panels can be saved as a perspective and the buttons in the top right change between them so one minute you can be working with your source code and have the relevant panels for that visible just where you like them, the next minute you can be working on your database and have those panels visible. A double click on any of the tabs will temporarily show just that panel so you can use it however you like. You might be able to tell i really like it :wink:
Mat
Post Reply