I've been working on a cross editor snippet manager and I was hoping to get some feedback both on the both on the design of the project and how I might go about making this something other people can easily jump into and contribute to.
It's getting less feasible for me to take this project on by myself(I sort of got to a point to where I feel like I code myself into a corner, and kind of burned out on it for the last few weeks). I actually have a lot of the ideas for this project fleshed out, and more or less know what's necessary to get from A->B, it's just not documented.
here's the code:
- sniper server and test client
- the vscode plugin in progress
a couple of things worth mentioning:
I plan on supporting scriptable snippets, but want to avoid just supporting arbiturary code execution, so I was thinking of just using some kind of wasm-based plugin systems where I could sandbox what scripts have access to(and just specify them like you would a variable in the snippet syntax like
I'm hoping to essentially have one client running for every open editor, and have thought about extending support for things like browser based editors. It's super difficult to handle in a cross platform way, but would greatly reduce the memory footprint for someone like me who can have 10 open terminal based editors.
the ultimate goal of this project is to make it where it's easy to write and share snippets that work across multiple editors, simplify the process of adding snippet support to new editors, and also make it to where snippets are more closely tied to libraries. basically reducing the amount of effort for the individual coder of churning out boiler plate code or common programming patterns (such as design patterns or families of algorithms) by increasing the incentive for group effort.