4 ms·
What editor are you using that does not have a way to paste code with proper indentation?
by xigoi 10mo ago
What editor are you using that does not have a way to paste code with proper indentation?
- rao-v 10mo agoThere is not enough information in pasted code for a language server to indent pasted in python code. Try copy pasting a random stackoverflow snippet into deeply indented python code.
- xigoi 10mo agoWhy would you need a language server for that? You simply prepend the indentation of the current line to every line of the pasted text.