Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to store and run snippets from local php files #131

Open
nickchomey opened this issue Jul 3, 2022 · 3 comments
Open

Ability to store and run snippets from local php files #131

nickchomey opened this issue Jul 3, 2022 · 3 comments

Comments

@nickchomey
Copy link

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!

@sheabunge
Copy link
Member

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.

@ingenuitor
Copy link

ingenuitor commented Aug 2, 2022

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.

@nickchomey
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants