Skip to content

Prefix unmerged changes from linked projects with "TODO" #290

@dpoeschl

Description

@dpoeschl
  1. Create a linked C# file between two projects, one with "ONE" defined and the other with "TWO" defined.

  2. Copy/paste this code:

    class C
    {
        void Test(int i)
        {
            Test(7);
        }
    
    #if ONE
        void Test(double x) { }
    #elif TWO
        void Test(long x) { }
    #endif
    }
  3. Rename T to Test

Expected: The inserted comment should look like:

/* TODO: Unmerged change from project 'LinkedFileRenameTwo'
Before:
        Test(7);
After:
        Test((long)7);
*/

Actual: The inserted comment looks like:

/* Unmerged change from project 'LinkedFileRenameTwo'
Before:
        Test(7);
After:
        Test((long)7);
*/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-IDEFeature Requesthelp wantedThe issue is "up for grabs" - add a comment if you are interested in working on it

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions