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
568 stars 98 forks source link

Always replaces tabs with spaces (ignoring settings) #103

Closed rbmkp4800 closed 5 years ago

rbmkp4800 commented 7 years ago

Clean Visual Studio 2017 installation (no other extensions installed) It ignores setting and always uses spaces instead of tabs Entire file autoformatting works in the same way But if I select text block indent it to left/right (Shift+Tab/Tab) it works correct Sometimes it crashes visual studio

ylqgithubylq commented 7 years ago

I have the same problem. When have Productivity Power Tools extension installed, that's quite annoying as it constantly prompt to fix mixed tabs and spaces.

Hope it will be fixed.

Lex-DRL commented 7 years ago

The same problem, VS 2015 Community Update 3. So far I fixed it by completely disabling any indentation fixes. I.e., Tools -> Options -> Text Editor -> HLSL:

  1. Switch Indenting to Block under Tabs section.
  2. Disable all three auto-formats under Formatting -> General subsection.
tgjones commented 5 years ago

Fixed by #171.