tan icon indicating copy to clipboard operation
tan copied to clipboard

noob question to use tabs automatically with IDE

Open nonoash opened this issue 2 years ago • 0 comments

Hello,

sorry for the noob question but i can't manage to make it work.

I have forked the "tan" package and added a configuration option use_tab = true in the pyproject.toml file of my fork, and then installed my fork using pip. I'm using Pycharm and BlackConnect plugin, so i use tand.exe as local instance but it still doesn't work as every time i save it is re indenting as 4spaces instead of tab.

Could you explain what i am doing wrong to make it work? thanks.

Edit: adding some precisions, it works if manually do --use-tabs with a command but i wanted to use tabs automatically. So whenever i reopen the file in Pycharm and blackconnect with tand.exe it reformat while opening to 4spaces.

nonoash avatar Feb 17 '23 16:02 nonoash