Thread overview
any IDE using D's HTML capabilities
Mar 18, 2010
qwerty
Mar 18, 2010
Ary Borenszweig
Mar 18, 2010
qwerty
Mar 18, 2010
qwerty
Mar 18, 2010
Ary Borenszweig
Mar 18, 2010
qwerty
Mar 18, 2010
Ary Borenszweig
Mar 18, 2010
qwerty
Mar 18, 2010
Ary Borenszweig
Mar 18, 2010
qwerty
March 18, 2010
Sometimes a picture is that much clearer an explanation than plain text and with D's html capabilities it should be possible to, transparent to the user, add a picture or table in between code.
Any IDE exploring such actions?
March 18, 2010
qwerty wrote:
> Sometimes a picture is that much clearer an explanation than plain text and with D's html capabilities it should be possible to, transparent to the user, add a picture or table in between code.
> Any IDE exploring such actions?

Descent has a ddoc view. Is that something like what you are looking for?
March 18, 2010
Ary Borenszweig Wrote:

> qwerty wrote:
> > Sometimes a picture is that much clearer an explanation than plain text and with D's html capabilities it should be possible to, transparent to the user, add a picture or table in between code.
> > Any IDE exploring such actions?
> 
> Descent has a ddoc view. Is that something like what you are looking for?
Not sure, I think not, but when I tried to change the view to ddoc I got this: Could not create the view: org.eclipse.swt.browser.Browser.setJavascriptEnabled(Z)V

I was thinking along the lines of insert-html/picture/table and edit-html/image/table and a html view which shows the code+html.

March 18, 2010
qwerty Wrote:
> I was thinking along the lines of insert-html/picture/table and edit-html/image/table and a html view which shows the code+html.
> 

That means,, in normal view, you see the images, tables and other html elements. eg. an image above a function explaining the function visually.
March 18, 2010
qwerty wrote:
> qwerty Wrote:
>> I was thinking along the lines of insert-html/picture/table and edit-html/image/table and a html view which shows the code+html.
>>
> 
> That means,, in normal view, you see the images, tables and other html elements.
> eg. an image above a function explaining the function visually.

Ah, you can get that by hovering the function name (or name reference).
March 18, 2010
Ary Borenszweig Wrote:

> Ah, you can get that by hovering the function name (or name reference).

I was thinking about inline;) but nice anyways. How do I add an image?
March 18, 2010
qwerty wrote:
> Ary Borenszweig Wrote:
> 
>> Ah, you can get that by hovering the function name (or name reference).
> 
> I was thinking about inline;) but nice anyways. How do I add an image? 

If it's inline how do you edit it? Like a wysiwyg editor for each ddoc comment you have in your source code? Seems a little heavy.

I guess you can put an image using an img html tag, not sure if that will work though.
March 18, 2010
Ary Borenszweig Wrote:

> qwerty wrote:
> > Ary Borenszweig Wrote:
> > 
> >> Ah, you can get that by hovering the function name (or name reference).
> > 
> > I was thinking about inline;) but nice anyways. How do I add an image?
> 
> If it's inline how do you edit it? Like a wysiwyg editor for each ddoc comment you have in your source code? Seems a little heavy.
You would edit it in the html edit mode or right click on the element(sugar)

I know nothing about ddoc and thus was only thinking about adding html elements and enveloping the code within code tags.

Maybe some eclipse macros could make what you mention less heavy?

> 
> I guess you can put an image using an img html tag, not sure if that will work though.
Where?
March 18, 2010
qwerty wrote:
> Ary Borenszweig Wrote:
> 
>> qwerty wrote:
>>> Ary Borenszweig Wrote:
>>>
>>>> Ah, you can get that by hovering the function name (or name reference).
>>> I was thinking about inline;) but nice anyways. How do I add an image? 
>> If it's inline how do you edit it? Like a wysiwyg editor for each ddoc comment you have in your source code? Seems a little heavy.
> You would edit it in the html edit mode or right click on the element(sugar)
> 
> I know nothing about ddoc and thus was only thinking about adding html elements and enveloping the code within code tags. 
> 
> Maybe some eclipse macros could make what you mention less heavy?
> 
>> I guess you can put an image using an img html tag, not sure if that will work though.
> Where?

In the source code. I think you can type (in a ddoc region) $ and it will bring the list of macros. Probably there's on named I for images.
March 18, 2010
Ary Borenszweig Wrote:

> 
> In the source code. I think you can type (in a ddoc region) $ and it will bring the list of macros. Probably there's on named I for images.

Just generated my first ddoc! :D
I is italic, me thinks.

But this isn't really what I meant, ddoc is not really for the programming while programming. The images I meant were more like comments, for me as the programmer of that code.