bernhard Posted March 22, 2020 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
szabesz Posted March 23, 2020 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
bernhard Posted March 23, 2020 Author Posted March 23, 2020 Thx ? Does PhpStorm offer a similar feature? Maybe we can port it easily... 1
szabesz Posted March 23, 2020 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.
bernhard Posted March 23, 2020 Author 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
bernhard Posted March 23, 2020 Author Posted March 23, 2020 v1.0.2 is out ? pwinputfield: Add Inputfield Boilerplate 1
bernhard Posted March 25, 2020 Author Posted March 25, 2020 v1.0.7 has some snippet improvements and this new snippet: pwire: Add wired object 1
Pixrael Posted March 25, 2020 Posted March 25, 2020 Ideas to add: https://gist.github.com/kongondo/2b0a16df9eca30f5b9f9b92c7584e7e3
bernhard Posted March 25, 2020 Author 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...
Pixrael Posted March 26, 2020 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
bernhard Posted April 2, 2020 Author Posted April 2, 2020 v1.0.10 is out: pwhookargument: Get hook argument pwhookobject: Get hook object
bernhard Posted April 25, 2020 Author Posted April 25, 2020 v1.0.11 pwtextformatter: PW Textformatter Boilerplate
wbmnfktr Posted November 21, 2021 Posted November 21, 2021 In case you use Neovim/VIM you can still use this VSCode extension through coc-snippets. 1
Recommended Posts