logoalt Hacker News

rescriptingyesterday at 10:51 PM1 replyview on HN

> Like why isn't there a 'move this function from this file to this file' tool (copy/paste char range)

There is, you can install LSPs for a given language which act as just another tool the model can use to more efficiently manipulate code.


Replies

firasdyesterday at 10:54 PM

LSPs don't really do this. They're like a better way to grep for something (so they do address the previous thing I said about listing all function names etc.) But they often don't say (depending on the particular LSP setup etc) this function ends at this char and they definitely don't then provide the text editing tool

show 1 reply