AutoLispExt icon indicating copy to clipboard operation
AutoLispExt copied to clipboard

Format Selection does not respect the usage of tabs versus spaces

Open morbius1st opened this issue 5 years ago • 2 comments

Describe the bug I prefer to use tabs over spaces in my code. When I select a portion of code and chose "format" selection, the tabs are removed and spaces are used.

To Reproduce Steps to reproduce the behavior:

  1. select a code section.
  2. right click and chose "format selection"
  3. code section is formatted but the indent tabs are replaced with spaces.

Expected behavior Respect the tabs versus spaces setting.

Screenshots none

Desktop (please complete the following information):

  • OS: Windows
  • Version: 10.0.1904

Additional context none

morbius1st avatar Oct 26 '20 03:10 morbius1st

Thanks for pointing out this!

hualin-wu-2000 avatar Nov 02 '20 00:11 hualin-wu-2000

If the file has mixed indenting chars for blank and tab, how the fommatter should follow it? Or provide a setting to insert tab or blank chars to formatting?

hualin-wu-2000 avatar Dec 07 '20 03:12 hualin-wu-2000