Closed ybelenko closed 3 years ago
SonarCloud Quality Gate failed.
0 Bugs
0 Vulnerabilities
0 Security Hotspots
0 Code Smells
No Coverage information
29.6% Duplication
I'm not sure if this is the right place for such code snippets. Personally I don't use VSCode, and I'm not able to verify and maintain these snippets in the long run. In the next version of the Slim-Skeleton I will remove all the frontend specific code examples to make it usable for pure backend API's as well. Thank you very much ybelenko, but this change cannot be merged.
@odan What if I'll create my own gists(maybe repo, but gist seems more reasonable) with these snippets... would you add links in main doc to them? With disclaimer that you're not going to support them.
I think we can put it into the documentation.
For this purpose I could create a new section like Development
> VSCode
.
Then you could share or link the VSCode snippets in one place.
What do you think?
That was my first thought about VSCode
doc section 😄 I changed my mind just because there are many people reading docs for a first time and it's pretty handy when you see action controller example and snippet close to it while Development
-> VSCode
section maybe not popular at all 😆. When I read docs I usually start with code examples and the sections like Tools
/SDKs
/Useful links
don't attract my attention.
Anyway, I get your point, you don't want to be responsible for these piece of code and I'm totally ok with it. I'll create gists or maybe one gist and will attach it to this conversation. Please, add it the way you like.
Here is my gist: https://gist.github.com/ybelenko/3b0b9d99404393dbd9bf1a474726c0b4
Ok cool. Thank you. I will add it to the documentation.
I would like to share few VSCode snippets which I found very useful.
Snippets in Visual Studio Code - Create your own snippets
Route declaration snippet
Generates line like:
Action Controller snippet
Generates file like:
Twig template snippet
Generates file like: