Skip to content

siddik-web/vscode-joomla-4-snippets

Repository files navigation

Joomla Snippets for Visual Studio Code

🚀 Supercharge your Joomla 4 and Joomla 5 development with "VSCode Joomla 4 and 5 Snippets"! Elevate your coding efficiency and unleash your creativity. Get ready to write Joomla code like a pro! 💡💻

Features

Screenshot 2023-06-24 at 3 41 16 PM

Installation (Mac)

  1. Launch VS Code
  2. Quick Open (⌘+P)
  3. Enter the following command and press enter: 'ext install vscode-joomla-4-snippets'
  4. Choose extension (Author: Md Siddiqur Rahman)
  5. Reload VS Code

Snippets List

Dependency Injection Container

  • sp-toolbar - Create Toolbar Object
  • sp-config - Create Config Object
  • sp-language - Create Language Object
  • sp-app - Create Application Object
  • sp-input - Create Input Object
  • sp-db - Create Database Object
  • sp-object - Create Any DI Container Object
  • sp-user-id - Load User by Id Object
  • sp-user-username - Load User by Username Object
  • sp-mailer - Create Mailer Object
  • sp-user - Get Current User Object

Database Operations

  • sp-db-query - Create Database Query with Fluent Interface

Form Handling

  • sp-form - Create Blank Form XML
  • sp-listfield - Create List Form Field
  • sp-textareafield - Create Textarea Form Field
  • sp-sqlfield - Create SQL Form Field
  • sp-calendarfield - Create Calendar Form Field
  • sp-hiddenfield - Create Hidden Form Field
  • sp-spacerfield - Create Spacer Form Field
  • sp-repeatablefield - Create Repeatable Form Field
  • sp-form-validate - Form Validation Code

Plugin Development

  • sp-plugin-base - Create Basic Plugin Class
  • sp-plugin-events - Plugin Event Registration
  • sp-plugin-xml - Plugin Configuration XML
  • sp-plugin-di-provider - Plugin Dependency Injection Provider
  • sp-plugin-event - Plugin Event Trigger Code
  • sp-plugin-di-service - Plugin Dependency Injection Service

Component Development

  • sp-component-controller - Component Base Controller
  • sp-component-model - Component Base Model with CRUD
  • sp-component-helper - Component Parameters Helper

Template Development

  • sp-template-index - Template Index File
  • sp-template-chrome - Template Module Chrome
  • sp-template-override - Template Override Base
  • sp-template-error - Template Error Page
  • sp-template-header - Template Header
  • sp-template-menu - Template Menu
  • sp-template-single - Template Single
  • sp-template-single-layout-section - Template Single Layout Section
  • sp-template-single-template - Template Single Template

Utility Functions

  • sp-input - Input Handling with Type Filtering
  • sp-language - Language File Loading
  • sp-error - Error Handling and Logging
  • sp-session - Session Handling

Release Notes

New Joomla 4 and Joomla 5 Form Code Snippets.

0.0.9

  • Add new snippets for Joomla 4 and Joomla 5

0.0.8

  • Add new snippets for Joomla 4 and Joomla 5

0.0.7

  • Add new snippets for Joomla 4 and Joomla 5

0.0.6

  • Add new snippets for Joomla 4 and Joomla 5

0.0.1

  • Initial release of Joomla 4 Code Snippets.

Feedback

Please send any feedback or suggestions to @imsiddiqur (Twitter) or create an issue on GitHub.

Open Source

This is an open source project and if you want to contribute I've added issues on github that are easy to start with.

Disclaimer

Important: This extension due to the nature of it's purpose will create files on your hard drive and if necessary create the respective folder structure. While it should not override any files during this process, I'm not giving any guarantees or take any responsibility in case of lost data.

License

MIT

Enjoy!

About

Visual Studio Code Joomla 4 snippets.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published