Login Snippet Extension
This extension provides a convenient way to insert a pre-defined HTML + PHP login snippet into your Visual Studio Code editor.
Features
- Inserts a complete login form with HTML structure and basic PHP authentication code.
- Command:
login-snippet.insertSnippet to trigger the snippet insertion.
- Supports quick development for PHP-based login systems.
Requirements
- Visual Studio Code version 1.101.0 or higher.
- No additional dependencies required.
Usage
- Open the Command Palette (Ctrl+Shift+P).
- Type "Login" and select it.
- The snippet will be inserted at the cursor position in the active editor.
Known Issues
- The PHP code in the snippet assumes a database connection (
$conn ) is already defined. Users need to configure this manually.
- No error handling for invalid editor states (e.g., no active editor).
Release Notes
0.0.1
- Initial release with basic login snippet functionality.
Contributing
Feel free to submit issues or pull requests on the GitHub repository (if available).
| |