Open bjartek opened 10 months ago
An example video on the power of snippets https://www.youtube.com/watch?v=RMOkYdKxelY
I have a PoC repo with this already but have not spent the effort on gathering it all since I wanted to gauge the interest for this.
Great to see these useful snippets!
It would be nice if the snippets could be added to the existing set of snippets that we have in the language server (see https://github.com/onflow/cadence-tools/blob/master/languageserver/server/server.go). That way all IDEs/editors that support the Language Server Protocol could make use of them, including VS Code and the Playground.
That is a bit out of scope for this grant but it can be a follow up one maybe? Or add a new milestone?
I did not know these where there so i have to look at my ide setup and see how i can get them to work.
Doing duplicate work here is not needed for sure.
In what format / for what tools do you plan to provide the snippets?
The plan was to use the json file in my example repo since that is what code supports. But reading about lsp snippets that might be better. I think i need to study some more.
It looks like LSP snippets really can mimic a lot of what native snippets can do and adding them to the servers should not be that hard so it might be possible to use that in goal 2 instead of code plugin.
Snippets
Grant category
Please select one:
Description
Problem statement
Snippets is a fantastic tool to ease the work of developing. VS Code has a rich set of snippets for various languages but nothing for flow. This grant aims to fix that.
Proposed solution
Impact
Easier to code, reuse best practises in the IDE
Milestones and funding
Total funding proposed: 10000
Team