tgjones / HlslTools

A Visual Studio extension that provides enhanced support for editing High Level Shading Language (HLSL) files
http://timjones.io/blog/archive/2016/04/25/hlsl-tools-for-visual-studio-v1.0-released
Other
565 stars 97 forks source link

Minor Bug: On Install, "bar mode for vertical scroll bar" is not enacted #269

Open JDoucette opened 3 months ago

JDoucette commented 3 months ago

Summary:

On install, the Map Mode vs Bar Mode is not respected. Resetting the settings (change, then change back) makes it be respected.

Repro:

  1. Launch VS 2022
  2. note that default VS 2022 setting is Map Mode (showing a mini-map with the scroll bar)
  3. set Bar Mode (map is not visible) for Vertical scroll bar (via Right click scroll bar, click Scroll Bar Options)
  4. open any non-HLSL file (C#, C++, etc.)
  5. note that the mini-map (Map Mode) is not showing, as we are in Bar Mode.
  6. all is well
  7. install HLSL Tools
  8. open a .fx file
  9. see incorrect result: mini-map shows, when we are in Bar Mode.
  10. reset to Map Mode (original VS 2022 setting)
  11. reset to Bar Mode (to remove the mini-map)
  12. now see correct result: Bar Mode is now correctly showing (no mini-map).