Problem description:
I am coding using Python on my laptop. I don’t expect the device I’m using to be relevant because this happened both on the Replit website and on the desktop app. When I am indenting, in the indented area, it will be underlined in orange, and will say “Indentation contains tabs”. It fixes this problem if I use space instead of tab. This isn’t anything ruining the function of the app. But is quite annoying. Please fix if possible.
Expected behavior:
There should be no underline because there is no issue.
Actual behavior:
Orange underline telling me that I am using tab (which I am) to indent. Very annoying.
Steps to reproduce:
Make some python code where you are required to indent, indent your code using the tab key (not the space bar).
You shouldn’t worry about it, it’s not an error with your code. It’s only a styling tip, ig.
If this answers your question, you can mark this as a Solution.
You can do what it tells you to do (time-consuming), or turn off LSP (but you won’t have things like auto-complete and not the best syntax highlighting).
Settings > Code Intelligence > off