AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Syntax highlighter for Eclipse IDE
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List
View previous topic :: View next topic  
Author Message
RobOtter



Joined: 30 Jan 2005
Posts: 125
Location: Darmstadt, Germany

PostPosted: Mon Dec 19, 2005 1:49 pm    Post subject: Syntax highlighter for Eclipse IDE Reply with quote

Hi,

I would like to see a syntax highlighter for Eclipse (in Eclipse called an "editor").
I've already googled around but found nothing so I'd like to ask someone to do this (I can't).

As an alternative, is there a plugin for jEdit to show a structured overview of a scriptīs function, for example in the SideKick plugin? Or is there a jEdit plugin where one can define the rules to find the functions?

Thanks for any hints,
Rob
Back to top
View user's profile Send private message
toralf



Joined: 31 Jan 2005
Posts: 3842
Location: Bremen, Germany

PostPosted: Mon Dec 19, 2005 3:48 pm    Post subject: Re: Syntax highlighter for Eclipse IDE Reply with quote

RobOtter wrote:
I would like to see a syntax highlighter for Eclipse (in Eclipse called an "editor").
I've already googled around but found nothing so I'd like to ask someone to do this (I can't).
Do you know how such a file has to look like?
_________________
Ciao
toralf
Back to top
View user's profile Send private message Send e-mail Visit poster's website
RobOtter



Joined: 30 Jan 2005
Posts: 125
Location: Darmstadt, Germany

PostPosted: Mon Dec 19, 2005 4:08 pm    Post subject: Re: Syntax highlighter for Eclipse IDE Reply with quote

toralf wrote:
Do you know how such a file has to look like?

No, not exactly. But AFAIK this must be a specialized editor plugin for Eclipse, not just a single word file with some fancy regexp - that is why I canīt do it myself (never made a plugin for Eclipse).
The reason Iīm asking for such is that Eclipse is my favorite editor and I would like to use for AHK scripts.
But as an alternative, I would use jEdit as my second choice if it would have not only a syntax highlighter but also a function list (like in UltraEdit) and a working folding functionality.
Back to top
View user's profile Send private message
rlandersen



Joined: 22 Mar 2006
Posts: 7

PostPosted: Tue Mar 28, 2006 6:44 pm    Post subject: Reply with quote

I agree. An Eclipse syntax highlighter would be great.
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Wed Mar 29, 2006 4:26 pm    Post subject: Reply with quote

Well, I wouldn't fire Eclipse to edit a simple script, but if you have it opened all day on your desktop, it could be nice.
Writing such plugin isn't obvious, you have to know Java and the Eclipse API for that. I know the first, not the second, and have no time to spend on this project, alas.
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
ajfisher



Joined: 05 May 2006
Posts: 3
Location: Minneapols, MN, USA

PostPosted: Fri May 05, 2006 4:04 am    Post subject: Reply with quote

Has anyone started on something like this? I've been looking for an excuse to write an eclipse PI. What features would you like to see if someone were to undertake this?

Feel free to private message me/discuss here.
_________________
Allen J. Fisher
Back to top
View user's profile Send private message
RobOtter



Joined: 30 Jan 2005
Posts: 125
Location: Darmstadt, Germany

PostPosted: Fri May 05, 2006 8:37 am    Post subject: Reply with quote

I am not aware of anyone working on this. I would highly appreciate your efforts on this!
My feature requests would be (in no special order and maybe incomplete yet):

- Syntax highlighting
- word completion (automatic / selection window)
- function / label overview window ("outline")
- overview of assigned hotkeys in a script
- Automatic indention / de-indention (after opening / closing curly brackets, after if, else, loop, ...)
- Folding
- Rectangular text selection (my reference for this is UltraEdit; rts is superior imho)
- Buttons for start, stop, reload of scripts, creating executables, ...

Thatīs it for now, I will post more if something comes into my mind.

Rob
Back to top
View user's profile Send private message
ajfisher



Joined: 05 May 2006
Posts: 3
Location: Minneapols, MN, USA

PostPosted: Fri May 05, 2006 2:32 pm    Post subject: Reply with quote

I'll start looking into it. They've standardized their editor recently (you used to write your own), so some of this might be really straight forward. I'll let you know what I find out.

Allen
_________________
Allen J. Fisher
Back to top
View user's profile Send private message
RobOtter



Joined: 30 Jan 2005
Posts: 125
Location: Darmstadt, Germany

PostPosted: Thu May 18, 2006 1:33 pm    Post subject: Reply with quote

Hi Allen,

I donīt want to urge you or want to seem impatient, but have you had any success yet in doing the editor? Anything I can help you with?

Best regards,
Rob
Back to top
View user's profile Send private message
jonib



Joined: 09 May 2006
Posts: 66

PostPosted: Thu May 18, 2006 10:22 pm    Post subject: Reply with quote

Hi RobOtter

If Eclipse IDE is this http://www.eclipse.org/? I might be able to help.

I have started to make a syntax highlighter for my favorite Editor Far Manager it uses a plugin Colorer to do the highlighting.

And lucky you Colorer has a plugin for Eclipse.

I have not used Autohotkey very long and I have not done any syntax highlighting before, so I can't guarantee the quality.
But the basics seem to work like keywords and comments.

If you are interested in my unfinished work I can post it?
Back to top
View user's profile Send private message
ajfisher



Joined: 05 May 2006
Posts: 3
Location: Minneapols, MN, USA

PostPosted: Fri May 19, 2006 5:09 am    Post subject: Reply with quote

RobOtter wrote:
Hi Allen,

I donīt want to urge you or want to seem impatient, but have you had any success yet in doing the editor? Anything I can help you with?

Best regards,
Rob


Hi Rob--

I've been poking around and it looks do-able. I'm a little slow since I'm learning the Eclipse PDE and Autohotkey at the same time. Embarassed
_________________
Allen J. Fisher
Back to top
View user's profile Send private message
RobOtter



Joined: 30 Jan 2005
Posts: 125
Location: Darmstadt, Germany

PostPosted: Fri May 19, 2006 7:44 am    Post subject: Reply with quote

Hi jonib, ajfisher,

thanks for working on this anyway!
Unfortunately, I donīt have any expertise in programming plugins for the Eclipse IDE, Iīm only using it for my Java developing. I think the best way to accomplish a good solution would be if you both could join your knowledge and efforts. I would be glad to be of any help (for example as a tester) for you!
As a word definition for the syntax highlighter one can maybe use one of the various word files which already exist for other text editors and which are delivered along with the AHK distribution (in the directory ./Extras/Editors/*)
Back to top
View user's profile Send private message
PhiLho



Joined: 27 Dec 2005
Posts: 6721
Location: France (near Paris)

PostPosted: Fri May 19, 2006 9:54 am    Post subject: Reply with quote

I know nothing about Eclipse plugins (beside how to install them...) so I don't know if the following can be useful to you.
I am writing an AutoHotkey lexer for SciTE, which its own peculiarities, so it may not be usable. But perhaps the logic I put in it could be of some use for you. Warning: it is a work in progress, changing almost daily...
_________________
vPhiLho := RegExReplace("Philippe Lhoste", "^(\w{3})\w*\s+\b(\w{3})\w*$", "$1$2")
Back to top
View user's profile Send private message Visit poster's website
jonib



Joined: 09 May 2006
Posts: 66

PostPosted: Fri May 19, 2006 1:22 pm    Post subject: Reply with quote

RobOtter wrote:

Unfortunately, I donīt have any expertise in programming plugins for the Eclipse IDE

Did you look at Colorer? it is a working syntax highlighter with a Eclipse plugin no programming needed, all it needs is AHK support and I'm working on it, I even downloaded Eclipse to test it works.
Back to top
View user's profile Send private message
jonib



Joined: 09 May 2006
Posts: 66

PostPosted: Fri May 19, 2006 1:35 pm    Post subject: Reply with quote

PhiLho wrote:

I am writing an AutoHotkey lexer for SciTE, which its own peculiarities, so it may not be usable. But perhaps the logic I put in it could be of some use for you. Warning: it is a work in progress, changing almost daily...

I think it can be useful, thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Wish List All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group