Thread overview | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
October 20, 2016 Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Hi there, I've noticed that it's not possible to enable/disable the "Automatic Brace Completion" when working in D, unlike in C#/C++, 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? |
October 21, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Heisenberg | On 20.10.2016 02:05, Heisenberg wrote: > Hi there, > > I've noticed that it's not possible to enable/disable the "Automatic > Brace Completion" when working in D, unlike in C#/C++, 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? 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 |
October 22, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | 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 >> Brace Completion" when working in D, unlike in C#/C++, 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? > > 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 |
October 22, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | 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
|
October 23, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Heisenberg | 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. |
October 23, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | 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-
}
|
October 25, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Heisenberg | 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 |
October 25, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | 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?
|
October 26, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Heisenberg |
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.
|
October 29, 2016 Re: Visual D - Automatic Brace Completion in VS2015? | ||||
---|---|---|---|---|
| ||||
Posted in reply to Rainer Schuetze | 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). |
Copyright © 1999-2021 by the D Language Foundation