www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - any IDE using D's HTML capabilities

reply qwerty <qw er.ty> writes:
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?
Mar 18 2010
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
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?
Mar 18 2010
parent reply qwerty <qw er.ty> writes:
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.
Mar 18 2010
parent reply qwerty <qw er.ty> writes:
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.
Mar 18 2010
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
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).
Mar 18 2010
parent reply qwerty <qw er.ty> writes:
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?
Mar 18 2010
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
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.
Mar 18 2010
parent reply qwerty <qw er.ty> writes:
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?
Mar 18 2010
parent reply Ary Borenszweig <ary esperanto.org.ar> writes:
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.
Mar 18 2010
parent qwerty <qw er.ty> writes:
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.
Mar 18 2010