On Friday, 5 March 2021 at 08:50:59 UTC, Rainer Schuetze wrote:
On 04/03/2021 14:29, Imperatorn wrote:
A few questions.
How hard would the following be:
1. Highlight code as dead or alive in static if
2. Show typeid when hovering over a variable
Adding to what Bastiaan said:
"Lowlighting" disabled code in static if() similar to
debug/version conditions is on my list of things to implement,
but indeed, it might get confusing in templates because a
random instantiation is currently used to show semantic
information for its members.
Hovering a variable should show its type in the tool tip (note
that you can click the type in the tip to jump to its
definition). But your example shows that there is a problem
with the expression "typeid(T)", as no information is shown
when hovering T inside the parenthesis. Probably an omission in
the visitor.
Ok, thanks for working on Visual D. Imo it's the best IDE we have
in D currently. One thing that would be awesome though is better
dub support, like, imagine having a workflow similar to c# and
nuget. Code-D has solved this by having a search bar,
I don't know if that would be possible in VS tho, I'm just
talking before thinking. It's risky and I like it 😎