malayalam-language
v0.1.0
Published
Write code in Malayalam! Syntax highlighting, IntelliSense, and language support for the Malayalam programming language.
Maintainers
Readme
Malayalam Language Extension for Visual Studio Code
Write code in Malayalam! This extension provides comprehensive language support for the Malayalam programming language in Visual Studio Code.
Features
✨ Syntax Highlighting
- Full color-coded support for Malayalam keywords and syntax
- Support for both Malayalam Unicode and Manglish (Latin transliteration)
- Automatic detection of
.mlfiles
💡 IntelliSense & Code Completion
- Intelligent code completion for Malayalam keywords
- Built-in function suggestions
- Smart completion context awareness
📖 Hover Documentation
- Hover over keywords to see quick documentation
- Built-in reference for language features
- Helpful tooltips for Malayalam syntax
🎯 Language Support
- Automatic language detection for
.mlfiles - Proper bracket matching and auto-closing
- Smart indentation for code blocks
- Comment support (line and block comments)
Quick Start
1. Create a Malayalam File
Create a new file with .ml extension:
കാണിക്കുക("ഹലോ, ലോകം!")2. Enjoy Syntax Highlighting
The extension automatically highlights your Malayalam code with color-coded keywords.
3. Use IntelliSense
Press Ctrl+Space (or Cmd+Space on Mac) to see code completion suggestions.
4. Hover for Help
Hover over any Malayalam keyword to see quick documentation.
Language Features
Output Functions
കാണിക്കുക- Print output to console
Variables & Data Types
എണ്ണം- Numeric variableപേര്- String variable
Control Flow
എങ്കിൽ- If conditionഎന്ത്- For loopഎല്ലാം- While loop
Functions & Returns
ഫങ്ക്ഷൻ- Define a functionമടങ്ങി- Return statement
Boolean Values
സത്യം- Trueകള്ളം- False
Code Example
// Factorial function
ഫങ്ക്ഷൻ factorial(n) {
എങ്കിൽ (n <= 1) {
മടങ്ങി 1
}
മടങ്ങി n * factorial(n - 1)
}
കാണിക്കുക(factorial(5)) // Output: 120Keyboard Shortcuts
| Shortcut | Action |
|----------|--------|
| Ctrl+Space | Open IntelliSense |
| Ctrl+Shift+/ | Toggle block comment |
| Ctrl+/ | Toggle line comment |
| Tab | Auto-indent line |
Configuration
Configure Malayalam language settings in VS Code settings.json:
"[malayalam]": {
"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.wordWrap": "on"
}Installation
From VS Code Marketplace
- Open VS Code
- Go to Extensions (
Ctrl+Shift+X/Cmd+Shift+X) - Search for "Malayalam Language"
- Click Install
From VSIX File
code --install-extension malayalam-language-0.1.0.vsixLearn the Language
For complete language documentation, visit:
Try Online
Visit the Malayalam Language Playground to try the language in your browser without installation.
Troubleshooting
Extension not activating
- Make sure your file has
.mlextension - Reload VS Code window:
Cmd/Ctrl+R - Check extension is enabled in Extensions view
Syntax highlighting not working
- Verify Malayalam syntax definitions are loaded
- Check VS Code version is 1.60 or later
- Try reloading the window
IntelliSense not appearing
- Press
Ctrl+Space(orCmd+Spaceon Mac) - Verify the file is recognized as Malayalam (check bottom right)
- Check that you're using
.mlfile extension
Roadmap
🚀 Upcoming Features
- [ ] Language Server Protocol (LSP) support
- [ ] Debugging support
- [ ] Code formatter
- [ ] Linter integration
- [ ] Code snippets
- [ ] Theme support
- [ ] Performance optimizations
Contributing
Found a bug? Have a feature idea? Contributions are welcome!
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Make your changes
- Submit a pull request
See CONTRIBUTING.md for detailed guidelines.
License
MIT License - See LICENSE for details
Copyright (c) 2025 MalayalamLang Contributors
Support & Community
- Report Issues: GitHub Issues
- Discussions: GitHub Discussions
- Main Repository: malayalam-lang
Made with ❤️ by the MalayalamLang Community
