code-snippets
code-snippets copied to clipboard
Ability to store and run snippets from local php files
The main reason why I don't use Code Snippets is because it stores the snippets in the database. This prevents me from being able to use Xdebug for step debugging.
Instead I use the generally inferior, but sufficient, custom code tool within Toolset which stores its snippets in wp-content/toolset-customizations
I'd love to have something similar with code snippets!
Thank you for the suggestion! It's something I've been wanting to implement for some time.
Unfortunately it's not currently our first priority – some improvements to the block editor/elementor widgets are first to go, and then the first version of our cloud sync feature – but it's definitely high on my personal list of priorities. I'll post here again when I've had a chance to work out a prototype.
The main reason why I don't use Code Snippets is because it stores the snippets in the database. This prevents me from being able to use Xdebug for step debugging.
Instead I use the generally inferior, but sufficient, custom code tool within Toolset which stores its snippets in wp-content/toolset-customizations
I'd love to have something similar with code snippets!
@nickchomey @sheabunge I agree 100%, I'm all about this idea, less database bloat, having everything static per say is always the best way for speed and code control. We already do this in our own custom application everything is static and it fly's like a no SQL db running on React.
FYI, wp code box will be releasing this sort of functionality soon... I just bought a license and am unlikely to ever look back...
https://m.facebook.com/groups/wpcodebox/permalink/1218349889005041