www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.ide - Visual D: Please improve Visual Studio support

reply WINMMAPI <mmapi outlook.com> writes:
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.


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 

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!
Oct 02 2019
next sibling parent reply WINMMAPI <mmapi outlook.com> writes:
On Thursday, 3 October 2019 at 05:50:37 UTC, WINMMAPI wrote:

 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" 

 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
Oct 03 2019
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
On 03/10/2019 09:47, WINMMAPI wrote:
 On Thursday, 3 October 2019 at 05:50:37 UTC, WINMMAPI wrote:

 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

 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...
Oct 05 2019
next sibling parent WINMMAPI <mmapi outlook.com> writes:
Thanks a lot!!!
Oct 05 2019
prev sibling parent reply Joe Wong <hwnd55604 126.com> writes:
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:

 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.
Mar 10
parent reply Rainer Schuetze <r.sagitario gmx.de> writes:
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:

 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.
Mar 17
parent Rainer Schuetze <r.sagitario gmx.de> writes:
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. 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 What do you think should go into the 3 (or more?) drop down lists?
Mar 30
prev sibling parent reply MrCantWait <abby.m89 hippo.de> writes:
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
Mar 11
parent Rainer Schuetze <r.sagitario gmx.de> writes:
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.
Mar 17