digitalmars.D.announce - blackbird - yet another eclipse D editor
- Ilya Zaitseff (8/8) Jul 07 2005 Syntax highlight and outline, nothing more for now.
- Victor Nakoryakov (8/18) Jul 08 2005 Yes! The first editor with correct /+ +/ comments highlighting :)
- Ilya Zaitseff (4/16) Jul 08 2005 Yeah! It was a hard work for me :)
- =?UTF-8?B?SnVsaW8gQ8Opc2FyIENhcnJhc2NhbA==?= (3/22) Jul 11 2005 My TextPad syntax file has alternate comment support since I wrote it a
- Regan Heath (6/25) Jul 11 2005 Yes please. If yours is more complete than:
- Victor Nakoryakov (7/40) Jul 08 2005 Gives outline S.foo and ignores all source below it.
- Ilya Zaitseff (5/38) Jul 08 2005 Fixed.
- Andrew Fedoniouk (11/19) Jul 08 2005 Cool!
-
Ilya Zaitseff
(7/28)
Jul 08 2005
Still no.
- Shawn Liu (8/30) Jul 09 2005 You may need remove the original eclipseD first.
- John Reimer (8/18) Jul 09 2005 Yeah... I had to remove eclipseD to get blackbird working too. I didn't...
- jicman (2/10) Jul 12 2005
-
Ilya Zaitseff
(3/16)
Jul 12 2005
It is Eclipse plugin, so definitely yes
- John Reimer (14/24) Jul 12 2005 Nice. Works fine on WinXP, but doesn't work on Linux.
- John Reimer (7/27) Jul 12 2005 Figured it out...
- Ilya Zaitseff (5/33) Jul 12 2005 Strange. I don't use CDT plugins in blackbird. Where you found such
- John Reimer (11/27) Jul 12 2005 I'm not sure why, but the blackbird plugin refused to work until I
- Victor Nakoryakov (8/17) Jul 13 2005 I had reinstall eclipse from scratch with no plugins except included in
- John Reimer (3/17) Jul 13 2005 Okay. Thanks. That's good to know. The mistake must have been mine then...
- Shawn Liu (8/16) Jul 22 2005 Can blackbird show line number in the left side? I think it is very usef...
- Ilya Zaitseff (4/9) Jul 23 2005 It is fixed in Blackbird 1.1, which will be released soon.
Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>
Jul 07 2005
Ilya Zaitseff wrote:Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>Yes! The first editor with correct /+ +/ comments highlighting :) 2Sark7: Ты в аське то бываешь? А то она уже сто лет у меня в контакт листе висит, а в онлайне я тебя никогда не видел. -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Jul 08 2005
On Fri, 08 Jul 2005 22:44:56 +1100, Victor Nakoryakov <nail-mail mail.ru> wrote:Ilya Zaitseff wrote:Yeah! It was a hard work for me :)Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>Yes! The first editor with correct /+ +/ comments highlighting :)2Sark7: Ты в аське то бываешь? А то она уже сто лет у меня в контакт листе висит, а в онлайне я тебя никогда не видел.Бываю, но наверное мы по времени не пересекаемся :)
Jul 08 2005
My TextPad syntax file has alternate comment support since I wrote it a couple of years ago. I'll post it if there's anyone interested. Victor Nakoryakov wrote:Ilya Zaitseff wrote:Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>Yes! The first editor with correct /+ +/ comments highlighting :) 2Sark7: п╒я▀ п╡ п╟я│я▄п╨п╣ я┌п╬ п╠я▀п╡п╟п╣я┬я▄? п░ я┌п╬ п╬п╫п╟ я┐п╤п╣ я│я┌п╬ п╩п╣я┌ я┐ п╪п╣п╫я▐ п╡ п╨п╬п╫я┌п╟п╨я┌ п╩п╦я│я┌п╣ п╡п╦я│п╦я┌, п╟ п╡ п╬п╫п╩п╟п╧п╫п╣ я▐ я┌п╣п╠я▐ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п╡п╦п╢п╣п╩.
Jul 11 2005
Yes please. If yours is more complete than: http://www.prowiki.org/wiki4d/wiki.cgi?EditorSupport#TextPad perhaps you should put yours in it's place. Regan On Mon, 11 Jul 2005 15:43:17 -0500, Julio Cц╘sar Carrascal <adnoctum phreaker.net> wrote:My TextPad syntax file has alternate comment support since I wrote it a couple of years ago. I'll post it if there's anyone interested. Victor Nakoryakov wrote:Ilya Zaitseff wrote:Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>Yes! The first editor with correct /+ +/ comments highlighting :) 2Sark7: п╒я▀ п╡ п╟я│я▄п╨п╣ я┌п╬ п╠я▀п╡п╟п╣я┬я▄? п░ я┌п╬ п╬п╫п╟ я┐п╤п╣ я│я┌п╬ п╩п╣я┌ я┐ п╪п╣п╫я▐ п╡ п╨п╬п╫я┌п╟п╨я┌ п╩п╦я│я┌п╣ п╡п╦я│п╦я┌, п╟ п╡ п╬п╫п╩п╟п╧п╫п╣ я▐ я┌п╣п╠я▐ п╫п╦п╨п╬пЁп╢п╟ п╫п╣ п╡п╦п╢п╣п╩.
Jul 11 2005
Outliner ignores all that is followed first out{} contract in the source file. E.g.private import std.stdio; class A { int x, y; } struct S { float a, b, c; void foo(out int x) out { assert( x > 0 ); } body { } void baz() { } } int main() { /+ comment /+ nested +/ comment +/ writefln("Hello world"); return 0; }Gives outline S.foo and ignores all source below it. -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, Russia
Jul 08 2005
On Fri, 08 Jul 2005 23:44:45 +1100, Victor Nakoryakov <nail-mail mail.ru> wrote:Outliner ignores all that is followed first out{} contract in the source file. E.g.Fixed. Binary update (just copy it over): http://sark7.nm.ru/stuff/blackbird_update1.zipprivate import std.stdio; class A { int x, y; } struct S { float a, b, c; void foo(out int x) out { assert( x > 0 ); } body { } void baz() { } } int main() { /+ comment /+ nested +/ comment +/ writefln("Hello world"); return 0; }Gives outline S.foo and ignores all source below it.
Jul 08 2005
Cool! Installation instructions will be greatly appreciated. Particular question: how to create "D project" in Eclipse. Is there such entity at all? I've copied content into Eclipse plugin folder and trying to open D file but Eclipse says "Outline is not available". Some black russian magik needs to be done first, ah? :) Andrew. "Ilya Zaitseff" <sark7 mail333.com> wrote in message news:op.stkuexbsaaezs2 ilya.tec.amursk.ru...Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>
Jul 08 2005
On Sat, 09 Jul 2005 06:27:37 +1100, Andrew Fedoniouk <news terrainformatica.com> wrote:Cool! Installation instructions will be greatly appreciated. Particular question: how to create "D project" in Eclipse. Is there such entity at all?Still no. <g> You can create a Simple Project, or CDT C/C++ Project.I've copied content into Eclipse plugin folder and trying to open D file but Eclipse says "Outline is not available". Some black russian magik needs to be done first, ah? :) Andrew.Strange. What version of Eclipse do you have? I've tested it only on Eclipse 3.0.1 SDK/Platform, and it works <g>. btw, such error should be logged in workspace/.metadata/.log"Ilya Zaitseff" <sark7 mail333.com> wrote in message news:op.stkuexbsaaezs2 ilya.tec.amursk.ru...Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>
Jul 08 2005
You may need remove the original eclipseD first. I found that Eclipse can remember the asocited program to open D file. If the the eclipseD is used to open D file before. Eclipse use eclipseD to open it. So remove eclipseD first and restart Eclipse. Eclipse will find blackbird to open D files. Then you can copy the removed eclipseD back again. But eclipse open D file using blackbird this time since it remembers blackbird as the associted program to open D file. "Andrew Fedoniouk" <news terrainformatica.com> п╢хКоШо╒пбне:damk39$n6n$1 digitaldaemon.com...Cool! Installation instructions will be greatly appreciated. Particular question: how to create "D project" in Eclipse. Is there such entity at all? I've copied content into Eclipse plugin folder and trying to open D file but Eclipse says "Outline is not available". Some black russian magik needs to be done first, ah? :) Andrew. "Ilya Zaitseff" <sark7 mail333.com> wrote in message news:op.stkuexbsaaezs2 ilya.tec.amursk.ru...Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>
Jul 09 2005
Shawn Liu wrote:You may need remove the original eclipseD first. I found that Eclipse can remember the asocited program to open D file. If the the eclipseD is used to open D file before. Eclipse use eclipseD to open it. So remove eclipseD first and restart Eclipse. Eclipse will find blackbird to open D files. Then you can copy the removed eclipseD back again. But eclipse open D file using blackbird this time since it remembers blackbird as the associted program to open D file.Yeah... I had to remove eclipseD to get blackbird working too. I didn't mind doing so because the eclipseD parser was buggy for me and tended to crash eclipse on certain files (very annoying... so much so that I gave up on using eclipse for D development). I will play with blackbird for awhile and see if its parser is an improvement. So far it looks like it is. Nice work. -JJR
Jul 09 2005
Quick ?: Does it need the JRE? Ilya Zaitseff says...Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>
Jul 12 2005
On Wed, 13 Jul 2005 14:04:45 +1100, jicman <jicman_member pathlink.com> wrote:Quick ?: Does it need the JRE?It is Eclipse plugin, so definitely yes <g>Ilya Zaitseff says...Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>
Jul 12 2005
On Fri, 08 Jul 2005 15:21:59 +1100, Ilya Zaitseff wrote:Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>Nice. Works fine on WinXP, but doesn't work on Linux. Quits with error (on linux with eclipse 3.1, Sun Java 1.5): "Unable to create this part due to an internal error. Reason for the failure: The editor class could not be instantiated. This usually indicates that the editor's class name was mistyped in plugin.xml." "java.lang.ClassNotFoundException: blackbird.editor.DEditor " accompanied by a long list of related methods... This message is displayed in the area that's supposed to be the editor view and occurs when I double click on a d source file from a project located in the Package Explorer view. I don't get this error on WinXP. Also I noticed that CDT is a dependency for blackbird. Did you mention that anywhere? -JJR
Jul 12 2005
On Tue, 12 Jul 2005 22:16:27 -0700, John Reimer wrote:Nice. Works fine on WinXP, but doesn't work on Linux. Quits with error (on linux with eclipse 3.1, Sun Java 1.5): "Unable to create this part due to an internal error. Reason for the failure: The editor class could not be instantiated. This usually indicates that the editor's class name was mistyped in plugin.xml." "java.lang.ClassNotFoundException: blackbird.editor.DEditor " accompanied by a long list of related methods... This message is displayed in the area that's supposed to be the editor view and occurs when I double click on a d source file from a project located in the Package Explorer view. I don't get this error on WinXP. Also I noticed that CDT is a dependency for blackbird. Did you mention that anywhere? -JJRFigured it out... On linux, blackbird.jar has no access privileges set by default when unzipped to the plugin directory -- not even read access. So one has to chmod to activate "read" privileges on that file and then everything works just fine. -JJR
Jul 12 2005
On Wed, 13 Jul 2005 16:29:22 +1100, John Reimer <brk_6502 yahoo.com> wrote:On Tue, 12 Jul 2005 22:16:27 -0700, John Reimer wrote:Strange. I don't use CDT plugins in blackbird. Where you found such dependency?Nice. Works fine on WinXP, but doesn't work on Linux. Quits with error (on linux with eclipse 3.1, Sun Java 1.5): "Unable to create this part due to an internal error. Reason for the failure: The editor class could not be instantiated. This usually indicates that the editor's class name was mistyped in plugin.xml." "java.lang.ClassNotFoundException: blackbird.editor.DEditor " accompanied by a long list of related methods... This message is displayed in the area that's supposed to be the editor view and occurs when I double click on a d source file from a project located in the Package Explorer view. I don't get this error on WinXP. Also I noticed that CDT is a dependency for blackbird. Did you mention that anywhere? -JJRFigured it out... On linux, blackbird.jar has no access privileges set by default when unzipped to the plugin directory -- not even read access. So one has to chmod to activate "read" privileges on that file and then everything works just fine. -JJRThanks. I don't use linux, so I can test it only on WinXP. Maybe I should add this to readme.
Jul 12 2005
Strange. I don't use CDT plugins in blackbird. Where you found such dependency?I'm not sure why, but the blackbird plugin refused to work until I installed the CDT plugin (WinXP). I didn't do any careful tests to prove why... after it worked only with CDT installed, I assumed that CDT was a dependency that you hadn't mentioned. Perhaps I did something wrong, and there isn't a dependency... but I'm still not sure why I had that problem.I'm not sure if there's a way to change the default access rights for the file from windows for the package zip process. The dmd.zip package contents have always had a similar problem on linux. A note in the readme would probably suffice for now. -JJRFigured it out... On linux, blackbird.jar has no access privileges set by default when unzipped to the plugin directory -- not even read access. So one has to chmod to activate "read" privileges on that file and then everything works just fine. -JJRThanks. I don't use linux, so I can test it only on WinXP. Maybe I should add this to readme.
Jul 12 2005
John Reimer wrote:I had reinstall eclipse from scratch with no plugins except included in distribution and right after that I installed blacbird. All works fine for me. -- Victor (aka nail) Nakoryakov nail-mail<at>mail<dot>ru Krasnoznamensk, Moscow, RussiaStrange. I don't use CDT plugins in blackbird. Where you found such dependency?I'm not sure why, but the blackbird plugin refused to work until I installed the CDT plugin (WinXP). I didn't do any careful tests to prove why... after it worked only with CDT installed, I assumed that CDT was a dependency that you hadn't mentioned. Perhaps I did something wrong, and there isn't a dependency... but I'm still not sure why I had that problem.
Jul 13 2005
On Wed, 13 Jul 2005 23:49:41 +0400, Victor Nakoryakov wrote:John Reimer wrote:Okay. Thanks. That's good to know. The mistake must have been mine then. -JJRI had reinstall eclipse from scratch with no plugins except included in distribution and right after that I installed blacbird. All works fine for me.Strange. I don't use CDT plugins in blackbird. Where you found such dependency?I'm not sure why, but the blackbird plugin refused to work until I installed the CDT plugin (WinXP). I didn't do any careful tests to prove why... after it worked only with CDT installed, I assumed that CDT was a dependency that you hadn't mentioned. Perhaps I did something wrong, and there isn't a dependency... but I'm still not sure why I had that problem.
Jul 13 2005
Can blackbird show line number in the left side? I think it is very useful while locating errors. I enabled this switch in Eclipse (General>Editors>Text Editors>Show line numbers), but nothing happened. Thanks! - Shawn "Ilya Zaitseff" <sark7 mail333.com> says:op.stkuexbsaaezs2 ilya.tec.amursk.ru...Syntax highlight and outline, nothing more for now. It uses ANTLR for parsing. Screenshot: http://sark7.nm.ru/stuff/blackbird_100.jpg Plugin with sources (including ANTLR grammar): http://sark7.nm.ru/stuff/blackbird.zip Icons are from JDT/CDT <g> Main plugin ideas I take from dsource's eclipseD. Actually, it is my first Java, Eclipse, ANTLR project. <g>
Jul 22 2005
On Sat, 23 Jul 2005 02:27:04 +1100, Shawn Liu <liuxuhong.cn gmail.com> wrote:Can blackbird show line number in the left side? I think it is very useful while locating errors. I enabled this switch in Eclipse (General>Editors>Text Editors>Show line numbers), but nothing happened.It is fixed in Blackbird 1.1, which will be released soon. Thanks.
Jul 23 2005