digitalmars.D.ide - Visual D support dt files
- Jot (8/8) Nov 03 2016 Would be really cool if Visual D could support vibe.d's diet
- Rainer Schuetze (7/14) Nov 05 2016 I have not used vibe.d so far, so I had a short look at some example
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)
Nov 03 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.
Nov 05 2016