Bug 12542 - Allow for right clicking a resource such as @string/resourcename that automatically adds value to Strings.xml file
Summary: Allow for right clicking a resource such as @string/resourcename that automat...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Designer ()
Version: unspecified
Hardware: Macintosh Mac OS
: Normal enhancement
Target Milestone: Future Cycle (TBD)
Assignee: Jérémie Laval
Depends on:
Reported: 2013-06-04 14:31 UTC by Chris Hardy [MSFT]
Modified: 2016-11-11 20:18 UTC (History)
5 users (show)

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 12542 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:

Description Chris Hardy [MSFT] 2013-06-04 14:31:01 UTC
Allow a user to right click on a @string/resourcename to enter in a value and for it to be stored directly in the Strings.xml file - if a name already exists, allow it to be edited.
Comment 1 Madalyn 2016-11-08 22:22:54 UTC
@chris can we get more of an idea for how your envisioning this? Just an option in the right-click menu?

A mock for this would be great. Then I can create a Trello card.

Comment 3 Madalyn 2016-11-11 20:18:43 UTC
So Chris, we used to have a feature that sort of dealt with this functionality, but it was getting in the way before, it wasn't the best design, and it wasn't super clear how it worked. So we took it out with plans to reimplement it later, which I think is what you're describing here. Here is the trello card for it: https://trello.com/c/AG2SfW3o/103-more-options-for-dealing-with-resources-directly-when-editing-a-designer-item-on-the-canvas

However, it is blocked until we implement https://trello.com/c/JGKeig2R/88-a-sort-of-model-like-roslyn-dom-to-manipulate-add-delete-resources which is slated for C10.

One of our ideas was to add a button like this to the Property Panel (and this card could be potentially tied into the first linked feature card https://trello.com/c/TKYskONY/100-extract-to-resource-button)

We are still flushing out ideas on this, so if you have anything to contribute, it'd be much much appreciated! :)