dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19k stars 4.03k forks source link

C# Interactive loses colorization for previous submissions after #reset #8281

Open kuhlenh opened 8 years ago

kuhlenh commented 8 years ago

After I do a #reset, I lose all the colorization in my previous submissions (except it seems for the submission immediately prior to the #reset)... image

kuhlenh commented 8 years ago

fyi @amcasey who also saw this

amcasey commented 8 years ago

This may be by design - it seems like we might have done this defensively when we blew away the definitions of many of the symbols. Hopefully, there's a big comment in the code. :)

tmat commented 8 years ago

@jasonmalinowski @CyrusNajmabadi I think we used to have code that saves the classification info for previous submissions, so that we can release the symbols and still have classification. In time this code probably disappeared... :(

jasonmalinowski commented 8 years ago

We also lost the code for "tag stealing"; if you cycle through previous submissions we flicker. That code is commented out in the tagger IIRC. Maybe that was shared code somehow? I don't remember.