bernhard Posted March 22, 2020 Share Posted March 22, 2020 Just created my first VSCode Extension - if you like it please give it a star on Github and rate it on VSCode Marketplace ? Installation: Either via https://marketplace.visualstudio.com/items?itemName=baumrock.pwsnippets or directly in VSCode: Contributions welcome! https://github.com/BernhardBaumrock/pwsnippets 20 1 Link to comment Share on other sites More sharing options...
dotnetic Posted March 23, 2020 Share Posted March 23, 2020 Awesome!!! 1 Link to comment Share on other sites More sharing options...
szabesz Posted March 23, 2020 Share Posted March 23, 2020 21 hours ago, bernhard said: if you like it please give it a star on Github and rate it on VSCode Marketplace I'm a PhpStorm user but I starred it anyway ? 1 Link to comment Share on other sites More sharing options...
bernhard Posted March 23, 2020 Author Share Posted March 23, 2020 Thx ? Does PhpStorm offer a similar feature? Maybe we can port it easily... 1 Link to comment Share on other sites More sharing options...
szabesz Posted March 23, 2020 Share Posted March 23, 2020 2 minutes ago, bernhard said: Maybe we can port it easily... I have never found the time to dig into it, so I do not use it, but: https://blog.jetbrains.com/webstorm/2018/01/using-and-creating-code-snippets/ https://www.jetbrains.com/help/phpstorm/using-live-templates.html https://www.jetbrains.com/help/phpstorm/tutorial-creating-live-templates.html Maybe others can shed more light on it. Link to comment Share on other sites More sharing options...
bernhard Posted March 23, 2020 Author Share Posted March 23, 2020 Ok that's quite different from VSCode, but I guess you could nonetheless try to convert the VSCode JSON to the PHP Format... https://github.com/BernhardBaumrock/pwsnippets/blob/master/snippets/php.json Link to comment Share on other sites More sharing options...
bernhard Posted March 23, 2020 Author Share Posted March 23, 2020 v1.0.2 is out ? pwinputfield: Add Inputfield Boilerplate 1 Link to comment Share on other sites More sharing options...
bernhard Posted March 25, 2020 Author Share Posted March 25, 2020 v1.0.7 has some snippet improvements and this new snippet: pwire: Add wired object 1 Link to comment Share on other sites More sharing options...
Pixrael Posted March 25, 2020 Share Posted March 25, 2020 Ideas to add: https://gist.github.com/kongondo/2b0a16df9eca30f5b9f9b92c7584e7e3 Link to comment Share on other sites More sharing options...
bernhard Posted March 25, 2020 Author Share Posted March 25, 2020 Are you thinking about any in particular? Lots of them seem to the the same as my code intellisense already does... Link to comment Share on other sites More sharing options...
Pixrael Posted March 26, 2020 Share Posted March 26, 2020 Intellisense never works with PW for me, I just uninstalled it and use the snippets Update: I mean Intelephense, I never try Intellisense Link to comment Share on other sites More sharing options...
bernhard Posted April 2, 2020 Author Share Posted April 2, 2020 v1.0.10 is out: pwhookargument: Get hook argument pwhookobject: Get hook object Link to comment Share on other sites More sharing options...
bernhard Posted April 25, 2020 Author Share Posted April 25, 2020 v1.0.11 pwtextformatter: PW Textformatter Boilerplate Link to comment Share on other sites More sharing options...
wbmnfktr Posted November 21, 2021 Share Posted November 21, 2021 In case you use Neovim/VIM you can still use this VSCode extension through coc-snippets. 1 Link to comment Share on other sites More sharing options...
Recommended Posts