Snippets for PHP, WordPress, React and Node.
Made for Buildbox devs.
Table of Contents
Configuration
Time Tracker
- Tracks the time spent in a workspace session.
ClickUp Integration
- When the current branch name has a Task ID, send the time spent in the session to the task.
- Allow updating the task status from status bar.
Snippets
Documentation
Prefix |
Language |
Content |
bxMdTable |
markdown |
Table |
bxMdTableWithAlign |
markdown |
Table with alignment options |
bxMdTableContent |
markdown |
Table of Contents |
bold |
markdown |
Initiate Bold text (VS Code Native) |
fenced codeblock |
markdown |
Code block with language (VS Code Native) |
image |
markdown |
Image (VS Code Native) |
italic |
markdown |
Initiate Italic text (VS Code Native) |
link |
markdown |
External Link with Text (VS Code Native) |
strikethrough |
markdown |
Initiate ~~strikethrough~~ text (VS Code Native) |
WordPress, PHP
Prefix |
Language |
Content |
bxArrowFn |
PHP |
PHP arrow function |
bxNewHtmlSandbox |
HTML |
Start a HTML5 Boilerplate |
bxRequire |
PHP |
Require file |
bxWpAction |
PHP |
Action WP Hook |
bxWpAjaxAction |
PHP |
Ajax Action WP Hook with Gearbox.js response |
bxWpApplyFilters |
PHP |
Apply Filters WP Hook Trigger |
bxWpApplyFiltersWithArgs |
PHP |
Apply Filters WP Hook Trigger With Args |
bxWpClass |
PHP |
PHP Class |
bxWpClassWithNamespace |
HTML |
Start a WP PHP file with Class and Namespace |
bxWpDoAction |
PHP |
Do Action WP Hook Trigger |
bxWpFilter |
PHP |
Filter WP Hook |
bxWpFilterWithArgs |
PHP |
Filter WP Hook With Args |
bxWpFunction |
PHP |
PHP Function |
bxWpGetPosts |
PHP |
WP Custom Loop with get_posts |
bxWpMainLoop |
PHP |
WP Main Loop |
bxWpNavMenu |
PHP |
WP Nav Menu |
bxWpNewFile |
HTML |
Start a WP PHP file |
bxWpStaticClass |
PHP |
PHP Static Class |
bxWpStaticClassWithNamespace |
HTML |
Start a WP PHP file with Static Class and Namespace |
bxWpHtmlPhpEcho |
HTML |
PHP output |
bxWpHtmlPhpEscHtml |
HTML |
PHP escape and output |
bxWpHtmlPhpIf |
HTML |
Basic if statement in PHP |
bxWpHtmlPhpIfElse |
HTML |
If...else statement in PHP |
bxWpHtmlPhpIfStart |
HTML |
Start of an if statement in PHP |
bxWpHtmlPhpIfEnd |
HTML |
End of an if statement in PHP |
bxWpShortcode |
PHP |
Shortcode tag in post content |
Tailwind
Prefix |
Language |
Content |
bxCssNewTailwind |
CSS |
Start Tailwind main file |
bxNewTailwindConfig |
JS |
Start Tailwind JS config |
Alpine.js
Prefix |
Language |
Content |
bxNewAlpineData |
JS |
Start a Alpine.Data object |
Release Notes
1.1.0
- Added Snippets
- Added Time Tracker and ClickUp Integration
1.0.1
1.0.0
- Added Snippets
- Added Theme BX Dracula
| |