November 03, 2016
Would be really cool if Visual D could support vibe.d's diet templates and possibly add html tag highlighting.

This should be rather easy? Just filter the file by replacing the html lines by a call and turn in to d code(and import the includes) and keep track of the line numbers and such then pipe in to the Visual D engine?

This would greatly help editing dt files(having highlighting, intellisense, etc)


November 05, 2016

On 03.11.2016 11:46, Jot wrote:
> Would be really cool if Visual D could support vibe.d's diet templates
> and possibly add html tag highlighting.
>
> This should be rather easy? Just filter the file by replacing the html
> lines by a call and turn in to d code(and import the includes) and keep
> track of the line numbers and such then pipe in to the Visual D engine?
>
> This would greatly help editing dt files(having highlighting,
> intellisense, etc)

I have not used vibe.d so far, so I had a short look at some example diet files: providing syntax highlighting should not be super difficult, maybe a nice project if you want to start contributing to Visual D ;-)

For intellisense that could work as you described, though it would probably be slightly more involved. The diet compiler seems to be part of dub, that would probably have to be integrated into Visual D.