digitalmars.D.ide - rewrite auto in visual D
- Craig (2/2) Apr 25 2019 thinks like intellisense and mouse highlighting show auto instead
- Rainer Schuetze (7/9) Apr 26 2019 AFAICT it already does that if it manages to infer the type (but adds
thinks like intellisense and mouse highlighting show auto instead of the actual type. Can Visual D resolve these causes?
Apr 25 2019
On 26/04/2019 03:01, Craig wrote:thinks like intellisense and mouse highlighting show auto instead of the actual type. Can Visual D resolve these causes?AFAICT it already does that if it manages to infer the type (but adds "auto" as a storage class), e.g. auto outBuffer = new char[dwSize+1]; shows "auto char[]" in the tool tip for outBuffer. It's known to fail for some complex cases, though, e.g. with the return type of multiple function overloads.
Apr 26 2019