Play Framework Extension for VS Code
A Visual Studio Code extension providing comprehensive language support for Play Framework files.
Features
- Syntax Highlighting: Full syntax highlighting for routes files
- IntelliSense: Smart autocompletion for:
- HTTP methods (GET, POST, PUT, DELETE, etc.)
- Controller names with package paths
- Controller methods with parameter hints
- Path patterns and common REST endpoints
- Validation: Real-time validation for:
- HTTP methods
- Controller existence
- Method existence
- Route format
- Go to Definition:
- Jump to controller methods with Ctrl+Click on method names
- Jump to controller classes with Ctrl+Click on controller class names
- Formatting: Automatic alignment of routes for better readability
- Hover Information: Documentation on hover for methods and controllers
Usage
- Open any
.routes file in VS Code
- The extension automatically activates and provides all features
- Use Ctrl+Space for autocompletion suggestions
- Ctrl+Click on controller class names to jump to their definition
- Ctrl+Click on controller methods to jump to their definition
- Format document with Shift+Alt+F
Requirements
- VS Code 1.74.0 or higher
- A Play Framework project with controllers in standard locations (
app/ , app/controllers/ )
License
Copyright © 2024 CMSoftwareDevelopment. All rights reserved.
This is proprietary software. See LICENSE file for details.
For licensing inquiries or support: carloshe@cmdsoftware.dev
| |