IBM Support

Visual Studio 'Outline' selection is not preserved when Solution is under ClearCase source control

Troubleshooting


Problem

This technote identifies incorrect behavior of the Microsoft Visual Studio.NET feature 'Outlining' of text lines when the Visual Studio Solution is under IBM Rational ClearCase source control.

Symptom

The Visual Studio feature 'Outlining' (hide or show blocks of text/source code (+/-)) is not saved during ClearCase checkin and checkout actions.

The 'Outlining' displays the text/source of the text editor in blocks.

Here you will see an option to hide or show blocks of text/source code (+/-).

There is also an option to 'toggle' the Visual Studio source view with the 'Outlining' menu:
'Toggle Outlining Expansion', CTRL+M.



You may like to use this 'Outlining' feature to keep open the source code sections you wish to work on at a later time. This way you can close some text sections and keep others open and place the cursor where you wish to start the next time.

However, when the Visual Studio source file is under source control, this selection of 'Outlining' is not 'remembered' as it should be. This means that the next time you checkout the Visual Studio Solution file all the 'outlined' text blocks are open and the cursor is always at the start of the file (effectively your 'bookmark' has gone).

[{"Product":{"code":"SSSH27","label":"Rational ClearCase"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Integrations: Visual Studio.NET","Platform":[{"code":"PF033","label":"Windows"}],"Version":"7.1;7.1.1;7.1.1.1","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
16 June 2018

UID

swg21430476