Content
@
https://warpcast.com/~/channel/terminal
0 reply
0 recast
0 reaction
Rafi
@rafi
Do you ever copy complex code and end up going back and forth to add local variables, functions, and imports? I used to do it a lot but not anymore! ~ laundry detergent TV add music ~ Introducing tree-copy nvim plugin: When you copy a code fragment, it extracts all local symbols (like variables and imports) and pastes it alongside your copied code! No more jumping around and errors. https://github.com/nounder/tree-copy.nvim
2 replies
2 recasts
11 reactions
Rafi
@rafi
Ugh, the app crops the image quite unfortunately. Tap the image thumbnail to see how it works. Currently only TS/JS are supported. You can add support for more quite easily (see parsers/ dir)
0 reply
0 recast
3 reactions