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.
Re: Visual D 1.1.0 released
Rainer Schuetze via Digitalmars-d-announce Fri, 05 Mar 2021 00:55:35 -0800
- Re: Visual D 1.1.0 release... Imperatorn via Digitalmars-d-announce
- Re: Visual D 1.1.0 rel... Bastiaan Veelo via Digitalmars-d-announce
- Re: Visual D 1.1.0... Imperatorn via Digitalmars-d-announce
- Re: Visual D 1.1.0 rel... Kagamin via Digitalmars-d-announce
- Re: Visual D 1.1.0... Imperatorn via Digitalmars-d-announce
- Re: Visual D 1... Rainer Schuetze via Digitalmars-d-announce
- Re: Visua... Imperatorn via Digitalmars-d-announce
- Re: Visual D 1.1.0 release... Rainer Schuetze via Digitalmars-d-announce
- Re: Visual D 1.1.0 rel... Imperatorn via Digitalmars-d-announce
- Re: Visual D 1.1.0 released James Lu via Digitalmars-d-announce
- Re: Visual D 1.1.0 release... Rainer Schuetze via Digitalmars-d-announce
- Re: Visual D 1.1.0 released kinke via Digitalmars-d-announce
- Re: Visual D 1.1.0 released Dylan Graham via Digitalmars-d-announce