Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Feature Requests
 Co-operating between VA Snippet and VC# Snippet

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
netics Posted - Feb 25 2009 : 11:14:03 PM

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.



4   L A T E S T    R E P L I E S    (Newest First)
sean Posted - Aug 21 2015 : 12:24:51 AM
case=24605 is implemented in build 2073
feline Posted - Mar 02 2009 : 3:35:56 PM
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
netics Posted - Feb 28 2009 : 12:44:48 PM

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?
feline Posted - Feb 28 2009 : 10:19:30 AM
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".

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000