www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Visual D - Automatic Brace Completion in VS2015?

reply Heisenberg <nixiwevoke rootfest.net> writes:
Hi there,

I've noticed that it's not possible to enable/disable the 

in Visual Studio 2015. Is there any reason in particular this 
feature wasn't implemented? Would it be possible to implement it 
in the next version of Visual D?
Oct 19 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 20.10.2016 02:05, Heisenberg wrote:
 Hi there,

 I've noticed that it's not possible to enable/disable the "Automatic

 2015. Is there any reason in particular this feature wasn't implemented?
 Would it be possible to implement it in the next version of Visual D?
I'm not sure I like or hate this function as I'm often fighting it in C++, but it seems a lot of people cannot live without ;-) I've tried to mimick what C++ does, you can find a preview build here: https://ci.appveyor.com/project/rainers/visuald/build/1.0.81/job/8147gen7veuhue3f/artifacts
Oct 21 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 21.10.2016 22:04, Rainer Schuetze wrote:
 On 20.10.2016 02:05, Heisenberg wrote:
 Hi there,

 I've noticed that it's not possible to enable/disable the "Automatic

 2015. Is there any reason in particular this feature wasn't implemented?
 Would it be possible to implement it in the next version of Visual D?
I'm not sure I like or hate this function as I'm often fighting it in C++, but it seems a lot of people cannot live without ;-) I've tried to mimick what C++ does, you can find a preview build here: https://ci.appveyor.com/project/rainers/visuald/build/1.0.81/job/8147gen7veuhue3f/artifacts
Oops, a registry setting was still wrong, use this build instead: https://ci.appveyor.com/project/rainers/visuald/build/1.0.82/job/i460nuy2d374lia4/artifacts
Oct 22 2016
parent reply Heisenberg <nixiwevoke rootfest.net> writes:
On Saturday, 22 October 2016 at 09:49:59 UTC, Rainer Schuetze 
wrote:
 On 21.10.2016 22:04, Rainer Schuetze wrote:
 On 20.10.2016 02:05, Heisenberg wrote:
 [...]
I'm not sure I like or hate this function as I'm often fighting it in C++, but it seems a lot of people cannot live without ;-) I've tried to mimick what C++ does, you can find a preview build here: https://ci.appveyor.com/project/rainers/visuald/build/1.0.81/job/8147gen7veuhue3f/artifacts
Oops, a registry setting was still wrong, use this build instead: https://ci.appveyor.com/project/rainers/visuald/build/1.0.82/job/i460nuy2d374lia4/artifacts
Thanks a TON! Excuse my annoyance, but can anything similar be done for the quotes as well? :P
Oct 22 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 22.10.2016 15:42, Heisenberg wrote:
 On Saturday, 22 October 2016 at 09:49:59 UTC, Rainer Schuetze wrote:
 On 21.10.2016 22:04, Rainer Schuetze wrote:
 On 20.10.2016 02:05, Heisenberg wrote:
 [...]
I'm not sure I like or hate this function as I'm often fighting it in C++, but it seems a lot of people cannot live without ;-) I've tried to mimick what C++ does, you can find a preview build here: https://ci.appveyor.com/project/rainers/visuald/build/1.0.81/job/8147gen7veuhue3f/artifacts
Oops, a registry setting was still wrong, use this build instead: https://ci.appveyor.com/project/rainers/visuald/build/1.0.82/job/i460nuy2d374lia4/artifacts
Thanks a TON! Excuse my annoyance, but can anything similar be done for the quotes as well? :P
Try this one: https://ci.appveyor.com/project/rainers/visuald/build/1.0.83/job/7w30yaomx188fxyr/artifacts It also "remembers" automatically inserted characters after a line break.
Oct 23 2016
parent reply Heisenberg <nixiwevoke rootfest.net> writes:
On Sunday, 23 October 2016 at 09:41:05 UTC, Rainer Schuetze wrote:
 On 22.10.2016 15:42, Heisenberg wrote:
 On Saturday, 22 October 2016 at 09:49:59 UTC, Rainer Schuetze 
 wrote:
 On 21.10.2016 22:04, Rainer Schuetze wrote:
 On 20.10.2016 02:05, Heisenberg wrote:
 [...]
I'm not sure I like or hate this function as I'm often fighting it in C++, but it seems a lot of people cannot live without ;-) I've tried to mimick what C++ does, you can find a preview build here: https://ci.appveyor.com/project/rainers/visuald/build/1.0.81/job/8147gen7veuhue3f/artifacts
Oops, a registry setting was still wrong, use this build instead: https://ci.appveyor.com/project/rainers/visuald/build/1.0.82/job/i460nuy2d374lia4/artifacts
Thanks a TON! Excuse my annoyance, but can anything similar be done for the quotes as well? :P
Try this one: https://ci.appveyor.com/project/rainers/visuald/build/1.0.83/job/7w30yaomx188fxyr/artifacts It also "remembers" automatically inserted characters after a line break.
Awesome. Thank you. This makes it much more straightforward. Last thing that just came to my mind: would it be possible to insert a tabulation and move the ending brace to the next line, similarly to how it's done in Visual C++ editor? That is: 1) {} 2) {-press Enter here-} 3) { -pointer moving here automatically- }
Oct 23 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 23.10.2016 16:54, Heisenberg wrote:
 Last thing that just came to my mind: would it be possible to insert a
 tabulation and move the ending brace to the next line, similarly to how
 it's done in Visual C++ editor? That is:

 1) {}
 2) {-press Enter here-}
 3) {
        -pointer moving here automatically-
    }
This has been one of the more annoying functions for me until I now realized that the empty line is removed if I just continue writing the closing brace. This makes it slightly more complicated to implement, but I've tried to emulate that here: https://ci.appveyor.com/project/rainers/visuald/build/1.0.84/job/63qb4wph5jbq0w43/artifacts
Oct 25 2016
parent reply Heisenberg <nixiwevoke rootfest.net> writes:
On Tuesday, 25 October 2016 at 07:33:45 UTC, Rainer Schuetze 
wrote:
 On 23.10.2016 16:54, Heisenberg wrote:
 Last thing that just came to my mind: would it be possible to 
 insert a
 tabulation and move the ending brace to the next line, 
 similarly to how
 it's done in Visual C++ editor? That is:

 1) {}
 2) {-press Enter here-}
 3) {
        -pointer moving here automatically-
    }
This has been one of the more annoying functions for me until I now realized that the empty line is removed if I just continue writing the closing brace. This makes it slightly more complicated to implement, but I've tried to emulate that here: https://ci.appveyor.com/project/rainers/visuald/build/1.0.84/job/63qb4wph5jbq0w43/artifacts
Wow. Thanks, you're awesome! :D From what it feels like you're not the biggest fan of Visual Studio. Would you recommend something else for D?
Oct 25 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 25.10.2016 16:06, Heisenberg wrote:
 From what it feels like you're not the biggest fan of Visual Studio.
 Would you recommend something else for D?
I'm not a big fan of automatic code insertion adding stuff you have to remove half of the times. You find this in almost every editor. I don't know a better IDE than VS. I guess others have similar editing features, but there is nothing on par with the VS debugger. I believe we also have the best debugger integration with mago.
Oct 26 2016
parent reply Heisenberg <h d.lang> writes:
On Wednesday, 26 October 2016 at 20:24:42 UTC, Rainer Schuetze 
wrote:
 On 25.10.2016 16:06, Heisenberg wrote:
 From what it feels like you're not the biggest fan of Visual 
 Studio.
 Would you recommend something else for D?
I'm not a big fan of automatic code insertion adding stuff you have to remove half of the times. You find this in almost every editor. I don't know a better IDE than VS. I guess others have similar editing features, but there is nothing on par with the VS debugger. I believe we also have the best debugger integration with mago.
Guess I've yet to come to hate it myself then. :P Another thingie. Can anything be done about those tags in the tooltips? https://s14.postimg.org/44g9cu4k1/Capture.png I understand they should make the titles bold, but they don't seem to be doing what they're supposed to. Yet there should be a way to highlight the needed parts, as the editor does so automatically whenever you type in the arguments for a function (I highlighted the 'highlighted' part).
Oct 29 2016
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 30.10.2016 00:11, Heisenberg wrote:
 Another thingie. Can anything be done about those tags in the tooltips?
 https://s14.postimg.org/44g9cu4k1/Capture.png I understand they should
 make the titles bold, but they don't seem to be doing what they're
 supposed to. Yet there should be a way to highlight the needed parts, as
 the editor does so automatically whenever you type in the arguments for
 a function (I highlighted the 'highlighted' part).
I have tried adding formatting to the tooltip in the past, but AFAICT it doesn't allow any markup. C++ doesn't seem have it, too. never got around to try this. The prototype line of the tooltip is pretty different, as it is built by the environment, Visual D just declares its components, e.g. the single parameters.
Oct 30 2016
parent Heisenberg <heisenberg d.lang> writes:
On Sunday, 30 October 2016 at 17:10:22 UTC, Rainer Schuetze wrote:
 On 30.10.2016 00:11, Heisenberg wrote:
 [...]
I have tried adding formatting to the tooltip in the past, but AFAICT it doesn't allow any markup. C++ doesn't seem have it, too. tooltip, but I never got around to try this. The prototype line of the tooltip is pretty different, as it is built by the environment, Visual D just declares its components, e.g. the single parameters.
I see. Maybe highlighting those titles in some way would make it better?
Oct 30 2016