Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
rao-v
19 days ago
|
parent
|
context
|
favorite
| on:
Fabrice Bellard Releases MicroQuickJS
There 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
19 days ago
[–]
Why would you need a language server for that? You simply prepend the indentation of the current line to every line of the pasted text.
rao-v
11 days ago
|
parent
[–]
Do you know of a IDE that does this automagically?
reply
xigoi
11 days ago
|
root
|
parent
[–]
I use Neovim with the yanky plugin.
https://github.com/gbprod/yanky.nvim
reply
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: