digitalmars.D.debugger - VisualD: Intellisense broke?
- Johnson Jones (21/21) Aug 07 2017 Tried to do some work this morning and Intellisense is not
- Rainer Schuetze (3/34) Aug 07 2017 mixins are magic, as they usually also involve CTFE. Did you enable
- FoxyBrown (2/6) Aug 07 2017 yes.
Tried to do some work this morning and Intellisense is not showing. Not sure what happened. Working fine yesterday. It seems that when I converted my code to automatically generate some fields, the semantic engine is not seeing them ;/ I went from something like struct X { int a; } to struct X { mixin("int a;"); } and now x. doesn't list a. (or rather, I'm using with(x) and a. does nothing (a is a struct in that case)) There surely has to be a better way to get all this stuff to work consistently? It isn't magic that's going on behind the scenes and everything ultimately has to be well defined and meaningful.
Aug 07 2017
On 07.08.2017 19:37, Johnson Jones wrote:Tried to do some work this morning and Intellisense is not showing. Not sure what happened. Working fine yesterday. It seems that when I converted my code to automatically generate some fields, the semantic engine is not seeing them ;/ I went from something like struct X { int a; } to struct X { mixin("int a;"); } and now x. doesn't list a. (or rather, I'm using with(x) and a. does nothing (a is a struct in that case)) There surely has to be a better way to get all this stuff to work consistently? It isn't magic that's going on behind the scenes and everything ultimately has to be well defined and meaningful.mixins are magic, as they usually also involve CTFE. Did you enable "mixin analysis" in the intellisense options?
Aug 07 2017
On Monday, 7 August 2017 at 17:55:04 UTC, Rainer Schuetze wrote:On 07.08.2017 19:37, Johnson Jones wrote:yes.[...]mixins are magic, as they usually also involve CTFE. Did you enable "mixin analysis" in the intellisense options?
Aug 07 2017