digitalmars.D - Templates support in DCD
- ryuukk_ (25/25) Feb 14 2023 Hello,
- H. S. Teoh (8/20) Feb 14 2023 [...]
- Richard (Rikki) Andrew Cattermole (1/1) Feb 14 2023 I've been watching your PR's, very good work!
- Andrea Fontana (2/4) Feb 15 2023 +1
- Mike Parker (2/7) Feb 15 2023 Great job!
- Guillaume Piolat (2/6) Feb 15 2023 Thank you!
- Chris Piker (6/9) Feb 18 2023 Whoa, I didn't even know about DCD. I spend half my life in
- ryuukk_ (4/13) Feb 18 2023 I don't know about DKit, but there is serve-d you can use with
Hello, What annoys me the most about D is the tooling, specially the lack of solid IDE support, i understand it's very hard to do, so i don't complain much about it, instead i try to contribute as much as i can So last week i decided it was time to attempt something, so the past week i have been working on adding proper support for templates in DCD It's been quite difficult, as expected, but i have been able to come up with a decent PR! So far it's working nicely in my huge project, but i do not use templates a lot, only for containers So if you have a big project and consume a lot of templates, please give my PR a try and let me know what works, what doesn't and what could be improved! If you can, i'd love to get a code review too, that would be helpful! Here is the PR: https://github.com/dlang-community/DCD/pull/714 PS: If you use the vscode extension, you'll need to change the version here: https://github.com/dlang-community/DCD/blob/master/common/src/dcd/common/dcd_version.d#L29 Replace it with "v9.9.9", so serve-d won't complain about the version Works with auto :) ![screenshot](https://i.imgur.com/fwETSMH.png)
Feb 14 2023
On Tue, Feb 14, 2023 at 10:01:23PM +0000, ryuukk_ via Digitalmars-d wrote: [...]What annoys me the most about D is the tooling, specially the lack of solid IDE support, i understand it's very hard to do, so i don't complain much about it, instead i try to contribute as much as i can So last week i decided it was time to attempt something, so the past week i have been working on adding proper support for templates in DCD It's been quite difficult, as expected, but i have been able to come up with a decent PR![...]Works with auto :) ![screenshot](https://i.imgur.com/fwETSMH.png)I'm not an IDE person, but just wanted to say that this is awesome work, and we need more of it. Hope you continue to contribute! T -- Those who've learned LaTeX swear by it. Those who are learning LaTeX swear at it. -- Pete Bleackley
Feb 14 2023
I've been watching your PR's, very good work!
Feb 14 2023
On Tuesday, 14 February 2023 at 22:01:23 UTC, ryuukk_ wrote:It's been quite difficult, as expected, but i have been able to come up with a decent PR!+1
Feb 15 2023
On Tuesday, 14 February 2023 at 22:01:23 UTC, ryuukk_ wrote:So far it's working nicely in my huge project, but i do not use templates a lot, only for containers So if you have a big project and consume a lot of templates, please give my PR a try and let me know what works, what doesn't and what could be improved!Great job!
Feb 15 2023
On Tuesday, 14 February 2023 at 22:01:23 UTC, ryuukk_ wrote:What annoys me the most about D is the tooling, specially the lack of solid IDE support, i understand it's very hard to do, so i don't complain much about it, instead i try to contribute as much as i canThank you!
Feb 15 2023
On Tuesday, 14 February 2023 at 22:01:23 UTC, ryuukk_ wrote:So last week i decided it was time to attempt something, so the past week i have been working on adding proper support for templates in DCDWhoa, I didn't even know about DCD. I spend half my life in sublime text, so this is perfect for me! I'll give it a shot, hopefully the [DKit](https://github.com/yazd/DKit/) still works with Sublime text 4. Thanks very much for the effort!
Feb 18 2023
On Saturday, 18 February 2023 at 08:39:14 UTC, Chris Piker wrote:On Tuesday, 14 February 2023 at 22:01:23 UTC, ryuukk_ wrote:I don't know about DKit, but there is serve-d you can use with Sublime Text https://github.com/Pure-D/serve-d/ It's the language server (LSP), it uses DCD as the engineSo last week i decided it was time to attempt something, so the past week i have been working on adding proper support for templates in DCDWhoa, I didn't even know about DCD. I spend half my life in sublime text, so this is perfect for me! I'll give it a shot, hopefully the [DKit](https://github.com/yazd/DKit/) still works with Sublime text 4. Thanks very much for the effort!
Feb 18 2023