www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - VisualD no intellisense

reply Jason Jeffory <JasonJeffory doodle.com> writes:
I opened up a dub generated VS project. Went to mess with testing 
stuff. No intellisense.

I decided to install MonoD. intellisense! Same code, same object, 
only difference is after I hit the ., MonoD shows me something, 
VD doesn't!

Everything is a rather new install.

Does Visual D have some settings for intelligent, simply not 
support it, or are there certain hoops that have to be jumped 
through to get it to work?
Jan 02 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 03.01.2016 01:09, Jason Jeffory wrote:
 I opened up a dub generated VS project. Went to mess with testing stuff.
 No intellisense.

 I decided to install MonoD. intellisense! Same code, same object, only
 difference is after I hit the ., MonoD shows me something, VD doesn't!

 Everything is a rather new install.

 Does Visual D have some settings for intelligent, simply not support it,
 or are there certain hoops that have to be jumped through to get it to
 work?
Visual D and MonoD use the same semantic engine for intellisense. There might be some small differences in integration quality, though. Check the "Language Options" accessible through the Visual D menu: you might have to change the intellisense trigger from "Ctrl-Space" to writing ".".
Jan 03 2016
parent reply Jolly James <j.j jmail.com> writes:
On Sunday, 3 January 2016 at 09:59:29 UTC, Rainer Schuetze wrote:
 Check the "Language Options" accessible through the Visual D 
 menu: you might have to change the intellisense trigger from 
 "Ctrl-Space" to writing ".".
bad joke. Ideally IntelliSense would actually trigger while typing!
Feb 18 2017
parent reply Dani Abraham <dabraham gmailings.com> writes:
On Saturday, 18 February 2017 at 19:56:45 UTC, Jolly James wrote:
 On Sunday, 3 January 2016 at 09:59:29 UTC, Rainer Schuetze 
 wrote:
 Check the "Language Options" accessible through the Visual D 
 menu: you might have to change the intellisense trigger from 
 "Ctrl-Space" to writing ".".
bad joke. Ideally IntelliSense would actually trigger while typing!
I wish there were one IDE support this. Does anybody know?
Feb 18 2017
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 18.02.2017 21:52, Dani Abraham wrote:
 On Saturday, 18 February 2017 at 19:56:45 UTC, Jolly James wrote:
 On Sunday, 3 January 2016 at 09:59:29 UTC, Rainer Schuetze wrote:
 Check the "Language Options" accessible through the Visual D menu:
 you might have to change the intellisense trigger from "Ctrl-Space"
 to writing ".".
joke. Ideally IntelliSense would actually trigger while typing!
I wish there were one IDE support this. Does anybody know?
You can enable this mode in Visual D by selecting to show expansions when "writing an identifier".
Feb 18 2017
next sibling parent Jolly James <j.j jmail.com> writes:
On Saturday, 18 February 2017 at 23:17:10 UTC, Rainer Schuetze 
wrote:
 You can enable this mode in Visual D by selecting to show 
 expansions when "writing an identifier".
Thank you very much
Feb 18 2017
prev sibling parent reply Jolly James <j.j jmail.com> writes:
On Saturday, 18 February 2017 at 23:17:10 UTC, Rainer Schuetze 
wrote:
 You can enable this mode in Visual D by selecting to show 
 expansions when "writing an identifier".
Another question: Do you know how to get code snippets work (ctor, ... ) do not show up in IntelliSense (and do not work when pressing Tab+Tab either)?
Feb 18 2017
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 19.02.2017 02:59, Jolly James wrote:
 On Saturday, 18 February 2017 at 23:17:10 UTC, Rainer Schuetze wrote:
 You can enable this mode in Visual D by selecting to show expansions
 when "writing an identifier".
Another question: Do you know how to get code snippets work (ctor, ... ) do not show up in IntelliSense (and do not work when pressing Tab+Tab either)?
Code snippets are usually invoked by Ctrl-K,Ctrl-X. Unfortunately it seems to be broken is VS2015 (works in VS2013). You can assign a shortcut to Edit.InvokeSnippetFromShortcut, this seems to work in both VS versions. You can add your own snippets with the snippet manager (usually invoked by Ctrl-K,Ctrl-B). Intellisense for constructors currently does not work too well, these are mapped to member function __ctor internally. This needs to be translated somehow. Or do you mean that the snippets should be part of the completion list? Sounds reasonable...
Feb 21 2017
parent reply Jolly James <j.j jmail.com> writes:
On Wednesday, 22 February 2017 at 06:42:48 UTC, Rainer Schuetze 
wrote:
 On 19.02.2017 02:59, Jolly James wrote:
 [...]
Code snippets are usually invoked by Ctrl-K,Ctrl-X. Unfortunately it seems to be broken is VS2015 (works in VS2013). You can assign a shortcut to Edit.InvokeSnippetFromShortcut, this seems to work in both VS versions. You can add your own snippets with the snippet manager (usually invoked by Ctrl-K,Ctrl-B). Intellisense for constructors currently does not work too well, these are mapped to member function __ctor internally. This needs to be translated somehow. Or do you mean that the snippets should be part of the completion list? Sounds reasonable...
Yep, I would have expected them to be in the completion list.
Feb 22 2017
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 22.02.2017 18:29, Jolly James wrote:
 Or do you mean that the snippets should be part of the completion
 list? Sounds reasonable...
Yep, I would have expected them to be in the completion list.
You can now find code snippets added to the completion list in https://github.com/dlang/visuald/releases/tag/v0.44-rc2
Mar 04 2017
parent reply Grander <grander grander.grander> writes:
On Saturday, 4 March 2017 at 08:00:55 UTC, Rainer Schuetze wrote:
 On 22.02.2017 18:29, Jolly James wrote:
 Or do you mean that the snippets should be part of the 
 completion
 list? Sounds reasonable...
Yep, I would have expected them to be in the completion list.
You can now find code snippets added to the completion list in https://github.com/dlang/visuald/releases/tag/v0.44-rc2
Anyway, that strange kind of "IntelliSense" feels more like random-insert than auto-complete. Regards, Grander
Mar 10 2017
next sibling parent Grander <grander grander.grander> writes:
On Saturday, 11 March 2017 at 01:06:07 UTC, Grander wrote:
 On Saturday, 4 March 2017 at 08:00:55 UTC, Rainer Schuetze 
 wrote:
 On 22.02.2017 18:29, Jolly James wrote:
 Or do you mean that the snippets should be part of the 
 completion
 list? Sounds reasonable...
Yep, I would have expected them to be in the completion list.
You can now find code snippets added to the completion list in https://github.com/dlang/visuald/releases/tag/v0.44-rc2
Anyway, that strange kind of "IntelliSense" feels more like random-insert than auto-complete. Regards, Grander
... in general (I have not even thought of that snippet insertion-bullshit-usability)
Mar 10 2017
prev sibling parent Jolly James <j.j jmail.com> writes:
On Saturday, 11 March 2017 at 01:06:07 UTC, Grander wrote:
 On Saturday, 4 March 2017 at 08:00:55 UTC, Rainer Schuetze 
 wrote:
 On 22.02.2017 18:29, Jolly James wrote:
 Or do you mean that the snippets should be part of the 
 completion
 list? Sounds reasonable...
Yep, I would have expected them to be in the completion list.
You can now find code snippets added to the completion list in https://github.com/dlang/visuald/releases/tag/v0.44-rc2
Anyway, that strange kind of "IntelliSense" feels more like random-insert than auto-complete. Regards, Grander
Therefore, I suggest you to try coding C or C++ in Visual Studio (or even worse: try Atmel Studio). You will have pretty the same user experience like with D. For those who do not know, what I mean: It does not feel that Visual Studio makes suggestions based on great code analysis and shows all usefull (as far as I remember, VisualD often also shows syntactically incorrect ones) possibilities (but pre-selects the most-likely best one in the IntelliSense box).
Apr 08 2017