Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-469294: Extract Members To Partial: after extracting members to existing part current file (from which members were extracted) opened and focused in editor.

$
0
0
Reporter Lilia Shamsutdinova (Lilia.Shamsutdinova) Lilia Shamsutdinova (Lilia.Shamsutdinova)
Created Apr 17, 2018 4:21:22 PM
Updated Apr 17, 2018 4:21:22 PM
Subsystem Refactorings
Assignee Alisa Afonina (alisa.afonina)
Priority Show-stopper
State Submitted
Type Bug
Fix version 2018.2
Affected versions 2018.2
Fixed In Version ReSharper Undefined
VsVersion All Versions

JetBrains ReSharper Ultimate 182.0.20180416.132916-eap00d.

ExtractMembersToPartia1l.cs

    public partial class ExtractMembersToPartial
    {
        public ExtractMembersToPartial(string test)
        {
            myString = test;
        }

        #region Test

        public string MyString
        {
            get { return myString; }
        }

        #endregion
    }

ExtractMembersToPartial.cs

    public partial class ExtractMembersToPartial
    {
        #region Test
        public string myString;

        #endregion
    }
  1. Invoke Refactor This -> Extract Members To Partial on MyString in ExtractMembersToPartia1l.cs.
  2. Set "ExtractMembersToPartial.cs" as Select existing part.
  3. Click Next.

Actual result:
ExtractMembersToPartia1l.cs file is opened and focused in editor.

Expected result:
ExtractMembersToPartial.cs file (to which members were extracted) is opened and focused in editor.


Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>