Thread overview
A few issues in VSD
Nov 16, 2013
Namespace
Nov 18, 2013
Rainer Schuetze
Nov 18, 2013
Namespace
Nov 19, 2013
froglegs
Nov 19, 2013
froglegs
Nov 19, 2013
Rainer Schuetze
Nov 19, 2013
Rainer Schuetze
Nov 19, 2013
Rainer Schuetze
November 16, 2013
I use VisualD often, but the following three issues are really annoying (That much that I use it only experimental and for real changes, I use MonoD).
Any chance to fix them (soon)?

 - VisualD has no Tasks (I love Tasks, especially if you work in Teams)
 - No formatting section in the D options (That is what I miss most)
 - And because of #2: no brace completion (That is a real killer)
November 18, 2013

On 16.11.2013 23:09, Namespace wrote:
> I use VisualD often, but the following three issues are really annoying
> (That much that I use it only experimental and for real changes, I use
> MonoD).
> Any chance to fix them (soon)?
>
>   - VisualD has no Tasks (I love Tasks, especially if you work in Teams)

Everybody is free to make pull requests to that respect ;-)

>   - No formatting section in the D options (That is what I miss most)

What options do you expect?

>   - And because of #2: no brace completion (That is a real killer)

You mean automatically adding the closing brace if you write the opening one? I noticed VS2013 now has a setting to this respect on the generic editor options page...
November 18, 2013
On Monday, 18 November 2013 at 08:09:07 UTC, Rainer Schuetze wrote:
>
>
> On 16.11.2013 23:09, Namespace wrote:
>> I use VisualD often, but the following three issues are really annoying
>> (That much that I use it only experimental and for real changes, I use
>> MonoD).
>> Any chance to fix them (soon)?
>>
>>  - VisualD has no Tasks (I love Tasks, especially if you work in Teams)
>
> Everybody is free to make pull requests to that respect ;-)
I will try it, but I'm sure your better than me. :D
>
>>  - No formatting section in the D options (That is what I miss most)
>
> What options do you expect?
Tab indentation, closing braces etc. The same thing as you have for e.g. C#.
>
>>  - And because of #2: no brace completion (That is a real killer)
>
> You mean automatically adding the closing brace if you write the opening one? I noticed VS2013 now has a setting to this respect on the generic editor options page...
Yes exactly. That would be nice.
Otherwise even Sublime is far more comfortable. You should use Sublime and MonoD, to see the huge differences in the usage.
November 19, 2013
 I was just playing with Visual D, it has auto completion when I type now(after I turned it on) Nice job Rainer!!

Anyway aside from what the OP mentioned I noticed these-- How difficult do you think it is to add any of these? I'd be willing to give it a shot if it isn't super difficult/time consuming.

1. Not sure how to change the coloring it is applying to "string" etc, but on my screen the dark blue is almost invisible against my black background. Instead of having specific types that have this blue applied, I'd like to be able to specify exactly how identifiers/classes/functions/member functions/variables/member variables/numbers/strings(and many more options) are to be colored, just as Visual Assist allows.

2. I'd like to see tooltips that display the comment associated with a given object/variable. ie

//hello?
class blah{
}

Hovering over blah or any instances of blah does not show the comment--

3. Hovering over an auto variable doesn't show the actual type.  So this,
  auto IAmFloat = 5.2f;

 Hovering over IAmFloat should indicate that this is a float type(as it does in C++).

4. Refactoring: rename, encapsulate into function




November 19, 2013
 Remember a few other important features:

* Find all references: can be used to find any refs to a object/function/variable etc

* Highlighting of current symbol, whichever symbol you have clicked on is highlighted everywhere that it is used in the current document.

 I wish you could embed images in this crappy email based web forum so I could just post pics-- o well.






November 19, 2013

On 18.11.2013 09:16, Namespace wrote:
> On Monday, 18 November 2013 at 08:09:07 UTC, Rainer Schuetze wrote:
>>
>>
>> On 16.11.2013 23:09, Namespace wrote:
>>> I use VisualD often, but the following three issues are really annoying
>>> (That much that I use it only experimental and for real changes, I use
>>> MonoD).
>>> Any chance to fix them (soon)?
>>>
>>>  - VisualD has no Tasks (I love Tasks, especially if you work in Teams)
>>
>> Everybody is free to make pull requests to that respect ;-)
> I will try it, but I'm sure your better than me. :D

I've never used that VS feature and never felt the need to, so it's not top of my priority list...

>>
>>>  - No formatting section in the D options (That is what I miss most)
>>
>> What options do you expect?
> Tab indentation, closing braces etc. The same thing as you have for e.g.
> C#.

Visual D has "smart" indentation that you can also use on a selected code block similar to what VS offers for C++. But there is no reformatting. I'll have a look at Mono-D to see what it might offer.

>>
>>>  - And because of #2: no brace completion (That is a real killer)
>>
>> You mean automatically adding the closing brace if you write the
>> opening one? I noticed VS2013 now has a setting to this respect on the
>> generic editor options page...
> Yes exactly. That would be nice.
> Otherwise even Sublime is far more comfortable. You should use Sublime
> and MonoD, to see the huge differences in the usage.
November 19, 2013

On 19.11.2013 01:13, froglegs wrote:
>   I was just playing with Visual D, it has auto completion when I type
> now(after I turned it on) Nice job Rainer!!
>
> Anyway aside from what the OP mentioned I noticed these-- How difficult
> do you think it is to add any of these? I'd be willing to give it a shot
> if it isn't super difficult/time consuming.
>
> 1. Not sure how to change the coloring it is applying to "string" etc,
> but on my screen the dark blue is almost invisible against my black
> background. Instead of having specific types that have this blue
> applied, I'd like to be able to specify exactly how
> identifiers/classes/functions/member functions/variables/member
> variables/numbers/strings(and many more options) are to be colored, just
> as Visual Assist allows.

That needs quite extensive semantic analysis, so it might reduce the performance of the syntax highlighting. But maybe the approach I also see with Visual Assist might work: use standard colors at the beginning, and recolorize only when the analysis is complete.

>
> 2. I'd like to see tooltips that display the comment associated with a
> given object/variable. ie
>
> //hello?
> class blah{
> }
>
> Hovering over blah or any instances of blah does not show the comment--

When having Alexander Bothe's engine enabled, this should work for Ddoc comments (use /// for simple comments).

>
> 3. Hovering over an auto variable doesn't show the actual type. So this,
>    auto IAmFloat = 5.2f;
>
>   Hovering over IAmFloat should indicate that this is a float type(as it
> does in C++).
>

That information should be available, I guess it's just an oversight that it isn't displayed.

> 4. Refactoring: rename, encapsulate into function
>

That needs full trust in the semantic analysis...

November 19, 2013

On 19.11.2013 01:20, froglegs wrote:
>   Remember a few other important features:
>
> * Find all references: can be used to find any refs to a
> object/function/variable etc

That isn't as dangerous as refactoring, but still needs good analysis.

>
> * Highlighting of current symbol, whichever symbol you have clicked on
> is highlighted everywhere that it is used in the current document.

VS2012 and VS2013 have this built in for searched text, so I'm not sure it is worth adding in Visual D.

>
>   I wish you could embed images in this crappy email based web forum so
> I could just post pics-- o well.
>
>
>
>
>
>