Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension should respect editor Tab settings #18

Open
Loophole62ndFF opened this issue Aug 31, 2021 · 0 comments
Open

Extension should respect editor Tab settings #18

Loophole62ndFF opened this issue Aug 31, 2021 · 0 comments

Comments

@Loophole62ndFF
Copy link

I find this extension very useful for dealing with TSV data files (tab-separated value) in the Visual Studio editor, but don't really want it making changes to my C# code (which is all spaces-only). However, I found the extension was inserting tabs into my C# files for indentation whenever I added a new line. It took me some time to identify the extension as the cause (as I'd forgotten I'd installed it!). My C# text editor settings were all set to "insert spaces", "Adaptive formatting" was turned off, and the file was shown to be in "SPC" mode in the status bar. Then I'd press Enter, and boom : tabs inserted and the file is now in "MIXED" mode.

Would it make sense for the extension to consider those settings, and only apply its behaviour if the editor is set to use tabs for indentation, and/or the file mode is already "MIXED" or "TABS"? For me that would give the best of both worlds!

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant