Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 Co-operating between VA Snippet and VC# Snippet
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

netics
Senior Member

30 Posts

Posted - Feb 25 2009 :  11:14:03 PM  Show Profile  Reply with Quote

In Visual C# 2008,

if I type 'prop' and press tab twice, it activates VC# Code Snippet.

It inserts below codes. Then enter editing mode with box-surrounded [int] and [MyProperty] part.

------------------------------------------
public [int] [MyProperty] { get; set; }
------------------------------------------

If no VA installed, pressing tab works to move between editable box.

But, with VA, if I type 'fl' in [int] part, VA suggest 'float'.

Then I type tab, VA intercept tab to complete the word float.

The problem is that it makes VC# Snippet mode quit. I can't edit [MyProperty] part.



It will be better that VA listbox/suggestion feature works well with VC# Code Snippet mode.




and question.

The code snippet of VC# support in-place editing mode.

Is there a plan for VA to support in-place editing instead of dialog-based editing?

other tools like CodeRush, ReSharper also support it.



feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Feb 28 2009 :  10:19:30 AM  Show Profile  Reply with Quote
I am seeing the same effect here with VA Snippets breaking IDE Snippets. Thank you for the clear description.

case=24522

I am not aware of any plans for in place editing of VA snippets, but it is possible. Personally I am not to sure about this. My main concern is that in place editing is not so obvious. When I first encountered IDE snippets I had no idea that Tab would move me through the marker points. To me this was not at all obvious.

I sort of see the appeal, and since you are in the editor you get listboxes, but I wonder if this will help or hinder overall? A lot of our users don't even know you can edit VA Snippets, and probably never use the dialog to prompt for values. So I am wary of anything that makes the feature less "obvious".

zen is the art of being at one with the two'ness
Go to Top of Page

netics
Senior Member

30 Posts

Posted - Feb 28 2009 :  12:44:48 PM  Show Profile  Reply with Quote

Really -_-?

I think that VA Snippet is really powerful tool, essentially including editable variable.

It's shock that many people even don't know that.


...


But, although, I really think that VA should have in-place snippet editing.

I had worked with C++ for a long time. I like VA. It's the best tool of C++ world.

Now I am using C#. But in C# world, VA is regarded as old-fashioned tool.

ReShaper and CodeRush have the position of modern C# tool.

You may not agree this, but, at least it's true among my company co-workers.

You are right. In first time, I didn't know 'tab' key for moving markers, too

But it's also true that in-place mode is more obvious/live editing after learning it.

Try below kind of template.

-----------------------------------------------------------------------------
for( int [var] = 0; [var] <= [max]; ++[var] )
{
}
-----------------------------------------------------------------------------

All [var] place is modified simultaneously. (It feels like alive)

It even don't need separate snippet preview tab like dialog-based way.

How about it?
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18724 Posts

Posted - Mar 02 2009 :  3:35:56 PM  Show Profile  Reply with Quote
I have put in a feature request for "inline" editing for these items in VA Snippets to see what our developers make of it:

case=24605

I do see an appeal here, but I am also wondering how many problems it could cause.

As for people using existing VA features, we have quite a lot of features, and new users just tend to find and use a few of them, and have no idea about the rest. Then again, without reading the help, I am not sure how to avoid this.


C++ support vs C# support is quite a different question, but essentially boils down to a question of where finite resources are spent. I agree that our C# support does look weak, but VA does more than people often realise

zen is the art of being at one with the two'ness
Go to Top of Page

sean
Whole Tomato Software

USA
2817 Posts

Posted - Aug 21 2015 :  12:24:51 AM  Show Profile  Reply with Quote
case=24605 is implemented in build 2073
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000