Alcatel Language Support for VS Code
Overview
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.
Features
Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Alcatel Language Support"
- Click Install
Manual Installation
- 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
Usage
- 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
Configuration Examples
! 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
Requirements
No additional requirements or dependencies are needed.
Extension Settings
This extension currently doesn't add any configurable settings.
Known Issues
None reported yet. If you encounter any problems, please open an issue.
Contributing
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
License
This project is licensed under the MIT License - see the LICENSE file for details.
Release Notes
1.0.0
Initial release with:
- Syntax highlighting
- Auto-completion for commands and parameters
- Hover documentation
- Custom green highlighting for "enable" keywords
- Custom red highlighting for "disable" keywords
Enjoy configuring your Alcatel switches with enhanced editor support!