www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Looking for a D syntax highlighter for Lazarus SynEdit

reply "D-ratiseur" <ThisAdressDoesntExist nowhere.fr> writes:
Hello, you probably know the multi-pltaform IDE "Lazarus". It has 
a great code editor component called SynEdit.

If an advanced D user writes a D parser/tokenizer in Object 
Pascal and a SynEdit highlighter for D, then Lazarus could be 
used to write an awesome IDE for D...

Currently I use Xamarin under windows and Geany under linux but I 
think something better could be made in Laz...Neither Geany nor 
MonoDevelop are "really" dedicated to D...(same remark about 
code:block)...
Feb 28 2013
next sibling parent Samuel Lampa <samuel.lampa gmail.com> writes:
On 02/28/2013 04:47 PM, D-ratiseur wrote:
 Hello, you probably know the multi-pltaform IDE "Lazarus". It has a 
 great code editor component called SynEdit.

 If an advanced D user writes a D parser/tokenizer in Object Pascal and 
 a SynEdit highlighter for D, then Lazarus could be used to write an 
 awesome IDE for D...

 Currently I use Xamarin under windows and Geany under linux but I 
 think something better could be made in Laz...Neither Geany nor 
 MonoDevelop are "really" dedicated to D...(same remark about 
 code:block)...

Interesting! I really like Lazarus. // Samuel
Feb 28 2013
prev sibling next sibling parent "Daniel Kozak" <kozzi11 gmail.com> writes:
On Thursday, 28 February 2013 at 15:47:52 UTC, D-ratiseur wrote:
 Hello, you probably know the multi-pltaform IDE "Lazarus". It 
 has a great code editor component called SynEdit.

 If an advanced D user writes a D parser/tokenizer in Object 
 Pascal and a SynEdit highlighter for D, then Lazarus could be 
 used to write an awesome IDE for D...

 Currently I use Xamarin under windows and Geany under linux but 
 I think something better could be made in Laz...Neither Geany 
 nor MonoDevelop are "really" dedicated to D...(same remark 
 about code:block)...

You can use Xamarin (Monodevelop) under linux too
Feb 28 2013
prev sibling next sibling parent "D-ratiseur" <ThisAdressDoesntExist nowhere.fr> writes:
On Thursday, 28 February 2013 at 21:48:02 UTC, Daniel Kozak wrote:
 On Thursday, 28 February 2013 at 15:47:52 UTC, D-ratiseur wrote:
 Hello, you probably know the multi-pltaform IDE "Lazarus". It 
 has a great code editor component called SynEdit.
...


No... on the Fedora official repo latest version is monoDev 2.8.x, which is not compat with the D lang. binding plugin (it recquires the dev.package v IDE 3.0). And it's impossible to compile version 3 because the MonoDev repo misses some files in the unit test folder...But it seems that the version 4.0 will be available soon under linux.
Mar 01 2013
prev sibling next sibling parent "Moody" <ttrepl yahoo-removethis.de> writes:
On Thursday, 28 February 2013 at 15:47:52 UTC, D-ratiseur wrote:
 Hello, you probably know the multi-pltaform IDE "Lazarus". It 
 has a great code editor component called SynEdit.

Indeed, SynEdit is quite cool.
 If an advanced D user writes a D parser/tokenizer in Object 
 Pascal and a SynEdit highlighter for D, then Lazarus could be 
 used to write an awesome IDE for D...

At least a tokenizer should not be a problem. A parser gets a bit more complex. Did you start such a project aleady? I'd be interested in seeing whats going on.
 Currently I use Xamarin under windows and Geany under linux but 
 I think something better could be made in Laz...Neither Geany 
 nor MonoDevelop are "really" dedicated to D...(same remark 
 about code:block)...

hmmm, i mostly use vi or kate, but my D projects are not so large yet that a full-featured IDE would be required.
Mar 03 2013
prev sibling next sibling parent "Daniel Kozak" <kozzi11 gmail.com> writes:
On Friday, 1 March 2013 at 20:31:02 UTC, D-ratiseur wrote:
 On Thursday, 28 February 2013 at 21:48:02 UTC, Daniel Kozak 
 wrote:
 On Thursday, 28 February 2013 at 15:47:52 UTC, D-ratiseur 
 wrote:
 Hello, you probably know the multi-pltaform IDE "Lazarus". It 
 has a great code editor component called SynEdit.
...


No... on the Fedora official repo latest version is monoDev 2.8.x, which is not compat with the D lang. binding plugin (it recquires the dev.package v IDE 3.0). And it's impossible to compile version 3 because the MonoDev repo misses some files in the unit test folder...But it seems that the version 4.0 will be available soon under linux.

I have ArchLinux and everything works perfect. (mono-2.10, monodevelop-4, and latest mono-d plugin). BTW. It is possible to build mono-3, there are no missing files anymore. PKGBUILD for arch should help you: https://aur.archlinux.org/packages/mo/mono-beta/PKGBUILD
Mar 04 2013
prev sibling next sibling parent "D-ratiseur" <ThisAdressDoesntExist nowhere.fr> writes:
On Sunday, 3 March 2013 at 17:51:48 UTC, Moody wrote:
 On Thursday, 28 February 2013 at 15:47:52 UTC, D-ratiseur wrote:
 Hello, you probably know the multi-pltaform IDE "Lazarus". It 
 has a great code editor component called SynEdit.

Indeed, SynEdit is quite cool.
 If an advanced D user writes a D parser/tokenizer in Object 
 Pascal and a SynEdit highlighter for D, then Lazarus could be 
 used to write an awesome IDE for D...

At least a tokenizer should not be a problem. A parser gets a bit more complex. Did you start such a project aleady? I'd be interested in seeing whats going on.

No not yet. I briefly studied how it's possible to write the highlighter, I think it 's quite straightforward for someone who masters D (not my case, I'm learning), furthemore there is already a C++ example and the Delphi example shows how to make a "highlighter with folding". About the tokenizer it would be used for the completion or an error insight system...but it's not the first thing to do (IMO). I also think that the IDE could be partially be written in D, as FPC can link obj files (not quite sure if they use the same format ELF ? OMF ? COFF ?). I'll put a link to the project in the future, in case there would be one...
Mar 04 2013
prev sibling next sibling parent "John Colvin" <john.loughran.colvin gmail.com> writes:
On Friday, 1 March 2013 at 20:31:02 UTC, D-ratiseur wrote:
 On Thursday, 28 February 2013 at 21:48:02 UTC, Daniel Kozak 
 wrote:
 On Thursday, 28 February 2013 at 15:47:52 UTC, D-ratiseur 
 wrote:
 Hello, you probably know the multi-pltaform IDE "Lazarus". It 
 has a great code editor component called SynEdit.
...


No... on the Fedora official repo latest version is monoDev 2.8.x, which is not compat with the D lang. binding plugin (it recquires the dev.package v IDE 3.0). And it's impossible to compile version 3 because the MonoDev repo misses some files in the unit test folder...But it seems that the version 4.0 will be available soon under linux.

Ugh, I've had this problem too. It's strange, normally fedora is pretty good at staying up to date.
Apr 04 2013
prev sibling next sibling parent "Minas Mina" <minas_mina1990 hotmail.co.uk> writes:
On Thursday, 4 April 2013 at 23:47:53 UTC, John Colvin wrote:

 Ugh, I've had this problem too. It's strange, normally fedora 
 is pretty good at staying up to date.

It's not fedora's fault. Xamarin doesn't provide updated packages for linux.
Apr 26 2013
prev sibling next sibling parent Dejan Lekic <dejan.lekic gmail.com> writes:
D-ratiseur wrote:

 Hello, you probably know the multi-pltaform IDE "Lazarus". It has
 a great code editor component called SynEdit.
 
 If an advanced D user writes a D parser/tokenizer in Object
 Pascal and a SynEdit highlighter for D, then Lazarus could be
 used to write an awesome IDE for D...
 
 Currently I use Xamarin under windows and Geany under linux but I
 think something better could be made in Laz...Neither Geany nor
 MonoDevelop are "really" dedicated to D...(same remark about
 code:block)...

MonoDevelop + MonoD = the best what you can get, on both Linux and Windows. -- Dejan Lekic dejan.lekic (a) gmail.com http://dejan.lekic.org
May 01 2013
prev sibling next sibling parent "D-Ratiseur" <nobody nowhere.fr> writes:
On Wednesday, 1 May 2013 at 19:43:58 UTC, Dejan Lekic wrote:
 D-ratiseur wrote:

 Hello, you probably know the multi-pltaform IDE "Lazarus". It 
 has
 a great code editor component called SynEdit.
 
 If an advanced D user writes a D parser/tokenizer in Object
 Pascal and a SynEdit highlighter for D, then Lazarus could be
 used to write an awesome IDE for D...
 
 Currently I use Xamarin under windows and Geany under linux 
 but I
 think something better could be made in Laz...Neither Geany nor
 MonoDevelop are "really" dedicated to D...(same remark about
 code:block)...

MonoDevelop + MonoD = the best what you can get, on both Linux and Windows.

On Windows there is also an awesome free alternative, I've just "discovered" a few days ago: Visual-D ! People will say that it's rather well known but you can install it for FREE with VisualStudio 2012 shell (integrated + isolated). VS is a rock-solid IDE and the Visual-D plugin is as good as mono-D. And you can debug btw...
May 02 2013
prev sibling next sibling parent "Baz" <burg.basile yahoo.com> writes:
On Thursday, 2 May 2013 at 14:41:50 UTC, D-Ratiseur wrote:
 On Wednesday, 1 May 2013 at 19:43:58 UTC, Dejan Lekic wrote:
 D-ratiseur wrote:

 Hello, you probably know the multi-pltaform IDE "Lazarus". It 
 has
 a great code editor component called SynEdit.
 
 If an advanced D user writes a D parser/tokenizer in Object
 Pascal and a SynEdit highlighter for D, then Lazarus could be
 used to write an awesome IDE for D...
 
 Currently I use Xamarin under windows and Geany under linux 
 but I
 think something better could be made in Laz...Neither Geany 
 nor
 MonoDevelop are "really" dedicated to D...(same remark about
 code:block)...

MonoDevelop + MonoD = the best what you can get, on both Linux and Windows.

On Windows there is also an awesome free alternative, I've just "discovered" a few days ago: Visual-D ! People will say that it's rather well known but you can install it for FREE with VisualStudio 2012 shell (integrated + isolated). VS is a rock-solid IDE and the Visual-D plugin is as good as mono-D. And you can debug btw...

WorkInProgress... https://github.com/BBasile/SynD2Syn
Nov 12 2013
prev sibling parent "Basile Burg" <basile.burg gmx.com> writes:
On Tuesday, 12 November 2013 at 16:39:21 UTC, Baz wrote:
 On Thursday, 2 May 2013 at 14:41:50 UTC, D-Ratiseur wrote:
 On Wednesday, 1 May 2013 at 19:43:58 UTC, Dejan Lekic wrote:
 D-ratiseur wrote:

 Hello, you probably know the multi-pltaform IDE "Lazarus". 
 It has
 a great code editor component called SynEdit.
 
 If an advanced D user writes a D parser/tokenizer in Object
 Pascal and a SynEdit highlighter for D, then Lazarus could be
 used to write an awesome IDE for D...
 
 Currently I use Xamarin under windows and Geany under linux 
 but I
 think something better could be made in Laz...Neither Geany 
 nor
 MonoDevelop are "really" dedicated to D...(same remark about
 code:block)...

MonoDevelop + MonoD = the best what you can get, on both Linux and Windows.

On Windows there is also an awesome free alternative, I've just "discovered" a few days ago: Visual-D ! People will say that it's rather well known but you can install it for FREE with VisualStudio 2012 shell (integrated + isolated). VS is a rock-solid IDE and the Visual-D plugin is as good as mono-D. And you can debug btw...

WorkInProgress... https://github.com/BBasile/SynD2Syn

An IDE project has just started, I plan to release a consistent version in a few weeks: https://github.com/BBasile/Coedit
Jun 16 2014