Thread overview
Visual D: Please improve Visual Studio support
Oct 03
WINMMAPI
Oct 03
WINMMAPI
Oct 05
WINMMAPI
Mar 10
Joe Wong
4 days ago
Rainer Schuetze
October 03
Visual D is perhaps the best IDE for Dlang, but some features seems hard to use. Please improve them to coincide other language's editors in VS.

1. Please add a object brower on the top like VC++ and VC# does
Visual C++: https://sm.ms/image/njkaFhc2etBQR7G
Visual D: https://sm.ms/image/KmenxadgbPO8zNJ

2. Please make a option in the right-click menu for renaming symbols
Most VS users prefer to rename a symbol by the "Rename Symbol" in the right click menu in VC++ and VC#. However, this is not supported in VD. Additionally, the buttons in the "VD Search" window don't seem to be high-DPI friendly.
Visual C++: https://sm.ms/image/NLcTJ2n6HMWdeRz
Visual D: https://sm.ms/image/5RihYkCvV8mJgXA

3. Show parameter info cannot show or switch between overloads
Visual C++: https://sm.ms/image/7elsARISPJxpjNn
Visual D: https://sm.ms/image/dylv14GneVsAMj7

It would be excellent to see these aspects improved. Thanks to all Visual D developers!
October 03
On Thursday, 3 October 2019 at 05:50:37 UTC, WINMMAPI wrote:
> 1. Please add a object brower on the top like VC++ and VC# does
> Visual C++: https://sm.ms/image/njkaFhc2etBQR7G
> Visual D: https://sm.ms/image/KmenxadgbPO8zNJ
>
> 2. Please make a option in the right-click menu for renaming symbols
> Most VS users prefer to rename a symbol by the "Rename Symbol" in the right click menu in VC++ and VC#. However, this is not supported in VD. Additionally, the buttons in the "VD Search" window don't seem to be high-DPI friendly.
> Visual C++: https://sm.ms/image/NLcTJ2n6HMWdeRz
> Visual D: https://sm.ms/image/5RihYkCvV8mJgXA
>
> 3. Show parameter info cannot show or switch between overloads
> Visual C++: https://sm.ms/image/7elsARISPJxpjNn
> Visual D: https://sm.ms/image/dylv14GneVsAMj7

4. VD cannot preview folded code
Visual C++: https://sm.ms/image/fuoIGV32BhLEKt8
Visual D: https://sm.ms/image/izy4dNu6Z5EqmnT

October 05

On 03/10/2019 09:47, WINMMAPI wrote:
> On Thursday, 3 October 2019 at 05:50:37 UTC, WINMMAPI wrote:
>> 1. Please add a object brower on the top like VC++ and VC# does
>> Visual C++: https://sm.ms/image/njkaFhc2etBQR7G
>> Visual D: https://sm.ms/image/KmenxadgbPO8zNJ

Indeed, that would be nice.

>>
>> 2. Please make a option in the right-click menu for renaming symbols
>> Most VS users prefer to rename a symbol by the "Rename Symbol" in the
>> right click menu in VC++ and VC#. However, this is not supported in
>> VD. Additionally, the buttons in the "VD Search" window don't seem to
>> be high-DPI friendly.
>> Visual C++: https://sm.ms/image/NLcTJ2n6HMWdeRz
>> Visual D: https://sm.ms/image/5RihYkCvV8mJgXA

Renaming needs pretty reliable semantic analysis, and unfortunately, we are not there yet.

>>
>> 3. Show parameter info cannot show or switch between overloads
>> Visual C++: https://sm.ms/image/7elsARISPJxpjNn
>> Visual D: https://sm.ms/image/dylv14GneVsAMj7

This is supposed to work, but seems to get lost in the conflict of the JSON browse information and the semantic engine. With the latter active, the function signatures are shown when typing the opening paranthesis, but is replaced by the tooltip soon after.

> 
> 4. VD cannot preview folded code
> Visual C++: https://sm.ms/image/fuoIGV32BhLEKt8
> Visual D: https://sm.ms/image/izy4dNu6Z5EqmnT
> 

Shouldn't be too difficult...
October 05
Thanks a lot!!!


March 10
On Saturday, 5 October 2019 at 08:48:21 UTC, Rainer Schuetze wrote:
>
>
> On 03/10/2019 09:47, WINMMAPI wrote:
>> On Thursday, 3 October 2019 at 05:50:37 UTC, WINMMAPI wrote:
>>> 1. Please add a object brower on the top like VC++ and VC# does
>>> Visual C++: https://sm.ms/image/njkaFhc2etBQR7G
>>> Visual D: https://sm.ms/image/KmenxadgbPO8zNJ
>
> Indeed, that would be nice.
>
>>> 3. Show parameter info cannot show or switch between overloads
>>> Visual C++: https://sm.ms/image/7elsARISPJxpjNn
>>> Visual D: https://sm.ms/image/dylv14GneVsAMj7
>
> This is supposed to work, but seems to get lost in the conflict of the JSON browse information and the semantic engine. With the latter active, the function signatures are shown when typing the opening paranthesis, but is replaced by the tooltip soon after.

Any progress on it? A navigation bar is quite important especially when reading long source files with thousands of lines.
March 11
On Thursday, 3 October 2019 at 05:50:37 UTC, WINMMAPI wrote:
> 3. Show parameter info cannot show or switch between overloads
> Visual C++: https://sm.ms/image/7elsARISPJxpjNn
> Visual D: https://sm.ms/image/dylv14GneVsAMj7

May I suggest you to suggest parameter highlighting in the overload list ?
It exists in other editor but dont know visual D to do it maybe.

https://imgur.com/a/thHsxCb
March 17

On 10/03/2020 09:32, Joe Wong wrote:
> On Saturday, 5 October 2019 at 08:48:21 UTC, Rainer Schuetze wrote:
>>
>>
>> On 03/10/2019 09:47, WINMMAPI wrote:
>>> On Thursday, 3 October 2019 at 05:50:37 UTC, WINMMAPI wrote:
>>>> 1. Please add a object brower on the top like VC++ and VC# does
>>>> Visual C++: https://sm.ms/image/njkaFhc2etBQR7G
>>>> Visual D: https://sm.ms/image/KmenxadgbPO8zNJ
>>
>> Indeed, that would be nice.
>>
>>>> 3. Show parameter info cannot show or switch between overloads
>>>> Visual C++: https://sm.ms/image/7elsARISPJxpjNn
>>>> Visual D: https://sm.ms/image/dylv14GneVsAMj7
>>
>> This is supposed to work, but seems to get lost in the conflict of the JSON browse information and the semantic engine. With the latter active, the function signatures are shown when typing the opening paranthesis, but is replaced by the tooltip soon after.
> 
> Any progress on it? A navigation bar is quite important especially when reading long source files with thousands of lines.

I've made some experiments with the navigation bar and it seems feasible. It won't be in the coming release, though, and the necessary changes in the semantic engine will probably only be made to the dmd based engine.
March 17

On 11/03/2020 17:20, MrCantWait wrote:
> On Thursday, 3 October 2019 at 05:50:37 UTC, WINMMAPI wrote:
>> 3. Show parameter info cannot show or switch between overloads
>> Visual C++: https://sm.ms/image/7elsARISPJxpjNn
>> Visual D: https://sm.ms/image/dylv14GneVsAMj7
> 
> May I suggest you to suggest parameter highlighting in the overload list ? It exists in other editor but dont know visual D to do it maybe.
> 
> https://imgur.com/a/thHsxCb

The Visual Studio style to show this parameter info is to present one overload, but allow skipping to the next, including highlighting the current parameter.

This is implemented and works for me for most functions with ctrl+shift+space if the code already exists, but unfortunately displays an empty pair of parenthesis too often while editing. I hope to get this fixed before the next release.
4 days ago

On 17/03/2020 08:17, Rainer Schuetze wrote:
> On 10/03/2020 09:32, Joe Wong wrote:
>> Any progress on it? A navigation bar is quite important especially when reading long source files with thousands of lines.
> 
> I've made some experiments with the navigation bar and it seems feasible. It won't be in the coming release, though, and the necessary changes in the semantic engine will probably only be made to the dmd based engine.
> 

I now have a basic implementation, but I wonder what should go into the drop downs. For now, it just allows selecting 3 nested scoping AST nodes, irrespective of whether its aggregates, templates or functions.

C++/C## has 3 drop downs: projects, types and functions/methods. I think the first one is wasting a lot for rather seldom use cases, even more so in D where there is no preprocessor that can cause the module to be interpreted differently (still versions might change between projects).

With D making nested functions and data structures more common, the ordering is not so clear as with C# and C++.

What do you think should go into the 3 (or more?) drop down lists?