JetBrains / resharper-unity

Unity support for both ReSharper and Rider
Apache License 2.0
1.21k stars 134 forks source link

Changing the syntax highlighting when moving a tab #2127

Open dmbond opened 3 years ago

dmbond commented 3 years ago

I have a Unity project under UWP with "Preferences > External Tools > Player projects" enabled Then I open the file in Rider via Explorer > Solution > Assembly-CSharp-firstpass.Player > FileName.cs and see the highlighted code enclosed in #if ENABLE_WINMD_SUPPORT ... #endif but only until I move tab with this code between tab groups. After moving a tab, code highlighting disappears, as if I just opened this file, not through special project .Player first after_move

van800 commented 3 years ago

You may switch context via this in the status bar image

dmbond commented 3 years ago

Yes, this solves the problem, but it is wrong that the tab loses context when moved