dreamfony / dv

DV - Government Helpdesk
http://docs.trans.ink/
5 stars 5 forks source link

As a Dev I want snippets in Storm. #103

Open dmiric opened 6 years ago

dreamfony commented 6 years ago

Phpstorm live templates uses one big ugly xml file per group Not something you would edit via text editor but could be shared trough git.

https://blog.jetbrains.com/webstorm/2018/01/using-and-creating-code-snippets/ https://www.jetbrains.com/help/phpstorm/sharing-live-templates.html https://www.jetbrains.com/help/phpstorm/sharing-your-ide-settings.html

Maybe just use normal github repo and some simple yaml syntax for adding tags Then convert it to live templates xml?

Example of plugin Integration with phpstorm https://plugins.jetbrains.com/plugin/7236-get-gist-beta-

Example of shared team snippets https://www.cacher.io/

Resources: Drupal snippets https://www.drupal.org/project/phpstorm_templates

https://www.wpriders.com/snippets/live-templates-phpstorm/ http://www.gistoapp.com/ https://github.com/hackjutsu/Lepton