Bug 10492 - Command to create snippet from selection
Summary: Command to create snippet from selection
Status: CONFIRMED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 4.0
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2013-02-20 22:25 UTC by Mikayla Hutchinson [MSFT]
Modified: 2017-07-21 00:08 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report for Bug 10492 on Developer Community or GitHub if you have new information to add and do not yet see a matching new report.

If the latest results still closely match this report, you can use the original description:

  • Export the original title and description: Developer Community HTML or GitHub Markdown
  • Copy the title and description into the new report. Adjust them to be up-to-date if needed.
  • Add your new information.

In special cases on GitHub you might also want the comments: GitHub Markdown with public comments

Related Links:
Status:
CONFIRMED

Description Mikayla Hutchinson [MSFT] 2013-02-20 22:25:47 UTC
From http://forums.xamarin.com/discussion/1455/snippets:

It would also be nice to have the ability [...] have a context menu to 'create template from selection' when text is highlighted
Comment 1 Mark Foley 2013-02-21 17:20:08 UTC
In other words, you would:

a) Highlight a region of code
b) Right click -> Create Code Template from selection
c) The code template window would appear, with the selected text prepopulated into the code window.
Comment 2 Jon Goldberger [MSFT] 2017-07-21 00:08:18 UTC
Thanks so much for taking the time to submit this report! I can confirm using the latest Visual Studio 2017 for Mac Preview version 7.1 I am able to reproduce this issue. Marking this report as CONFIRMED.