Stream: cull-os

Topic: Novel LSP features


view this post on Zulip RGBCube (Oct 28 2024 at 17:35):

You know how it's really cumbersome to provide patch files for derivations in nixpkgs? I thought I could do something with islands where when in the LSP, the action menu (of the island) has the option "Patch island" which preemptively clones it (or maybe lazily clones it, anything is possible with FUSE) and sends you to that directory. And when you save your changes in there and open the action menu (while on the files in the island) and select "Save patches", it edits your code so that it turns into:

patch <github:cull-os/cab> ./promptedname.patch

view this post on Zulip RGBCube (Oct 28 2024 at 17:36):

I think this would be really neat for quick patching of software

view this post on Zulip RGBCube (Oct 28 2024 at 17:38):

And when you bump a git island and try to edit it, it would query saved edits' remotes to see if it could just pull instead of cloning the whole thing again.


Last updated: Nov 15 2024 at 11:45 UTC