LaraNode Support for VS Code
Powerful, expressive, and elegant Node.js framework support for VS Code.
Features
✨ Edge Template Support
- Syntax highlighting for
.edge files.
- Snippets for directives like
@if, @foreach, @extends, and @section.
- Automatic closing for
{{ }} and {{-- --}}.
🧩 JavaScript Snippets
route:get, route:group for fast routing definition.
ln:controller, ln:model for scaffolding classes.
ln:use for importing Facades.
📟 Artisan Command Integration
Run Artisan commands directly from the Command Palette (Ctrl+Shift+P):
LaraNode: Artisan Serve - Start the development server.
LaraNode: Artisan Make Controller
LaraNode: Artisan Make Model
LaraNode: Artisan Make Middleware
LaraNode: Artisan Make Migration
Installation
Local Installation (Manual)
- Locate your VS Code extensions folder:
- Windows:
%USERPROFILE%\.vscode\extensions
- macOS/Linux:
~/.vscode/extensions
- Copy the
extension folder into that directory and rename it to laranode-vscode.
- Restart VS Code.
Local Installation (VSIX)
- Install
vsce: npm install -g @vscode/vsce
- Run
vsce package inside the extension folder.
- Install the resulting
.vsix file via the VS Code Extensions menu (Install from VSIX...).
Publishing
To publish to the Visual Studio Marketplace:
- Install
vsce globally.
- Create a publisher on the Marketplace Management page.
- Log in via CLI:
vsce login <publisher>
- Run
vsce publish.
| |