This extension provides comprehensive language support for Alcatel-Lucent switch configurations, enhancing your workflow with syntax highlighting, intelligent autocomplete, hover documentation, and an integrated command reference.
-
Syntax Highlighting: Custom syntax highlighting for Alcatel config files
- Comment recognition with
!
prefix - Command and parameter distinction
- Comment recognition with
-
Intelligent Auto-completion:
- Context-aware command suggestions based on the current command structure
- Support for both top-level commands and nested parameters
- Command parameters with appropriate descriptions
-
Hover Information:
- Displays information about commands when hovering
- Shows available parameters for each command
- Command documentation on demand
-
Command Reference:
- Integrated reference for Alcatel switch commands
- Easy access to command syntax and parameters
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Alcatel Language Support"
- Click Install
- Download the
.vsix
file from the releases page - In VS Code, go to Extensions (Ctrl+Shift+X)
- Click on the "..." menu and select "Install from VSIX..."
- Select the downloaded file
- Files with extensions
.ale
or.alcatel
will automatically be recognized - Create or open an Alcatel configuration file
- Use the integrated command completion by pressing Ctrl+Space
- Hover over commands to see documentation
- Use
!
at the beginning of a line to create comments
! Sample VLAN configuration
vlan 10
name "Management VLAN"
admin-state enable
members port 1/1/1 untagged
! Interface configuration
interface port 1/1/1
admin-state enable
alias "Uplink to Switch-B"
! IP configuration
ip interface MGMT
address 192.168.1.1/24
vlan 10
admin-state enable
No additional requirements or dependencies are needed.
This extension currently doesn't add any configurable settings.
None reported yet. If you encounter any problems, please open an issue.
Contributions are always welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
Enjoy configuring your Alcatel switches with enhanced editor support!