Bug Report T476559
Visible to All Users

Refactorings - Extract String to Resource shows resx files for forms and fails when images are used in resources

created 8 years ago

Hi.  I am currently using the coderush for roslyn trial, and am interested in purchasing.

Ive been using it all day to extract strings into resource files.  It was working all morning until I came upon a very large project (probably has 50+ forms, yielding 50+ resource files).

When I go to refactor a string into the resource file from there, it pulls up the massive list of resources files, and I have to find the correct one (screenshot below).

When I select ANY resource file in this massive project, the command does nothing.  No refactoring, no error, nothing.

  1. Is it possible to get this fixed?
  2. Is there any way to filter that giant list?  Another possible solution woudl be to somehow make a keyboard shortcut that would extract the string to a specific resource file, without the need for me to select it (i would change the hotkey as i switch between them).

Thanks!

Show previous comments (8)
DevExpress Support Team 8 years ago

    Hi Greg,

    Please accept my apologies for the delay in publishing the hotfix. Now it is available.
    The fix fixes the problem with image files and also improves the file suggestions list so it will now filter resx files associated with controls. We will also research the possibility of implementing the file name filtering for this list to make it easy to find the exact resource file for extracting.

      Hi Alex,
      my first tests show this works like a charm now. Thanks a lot to the developer team.
      Greg, thanks for the initial bug posting.
      This helps a lot.

      DevExpress Support Team 8 years ago

        Hi Gerhard,

        Thank you for trying the hotfix. I'm happy to hear that the problem went away.

        Answers approved by DevExpress Support

        created 8 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.