EnderScript — Syntax & IntelliSense
Official Visual Studio Code extension for the EnderScript programming language. Provides comprehensive language support including syntax highlighting, IntelliSense, hover documentation, and intelligent autocomplete.
Features
Syntax Highlighting
- Full syntax highlighting for EnderScript (.ender, .es) files
- Keywords:
var, let, const, room, func, if, while, foreach, repeat, switch, case, and more
- Operators:
++, --, ==, !=, &&, ||, +=, -=, etc.
- Built-in functions:
logs.*, math.*, str.*, list.*, map.*, http.*, sock.*, etc.
- Comments: Single-line (
//, #) and block comments (/* */)
IntelliSense
- Hover Documentation: Hover over functions and variables to see their declaration and associated comments
- Autocomplete: Smart suggestions for:
- Document symbols (functions, variables, rooms)
- Built-in API functions
- Language keywords
- Dot-notation members (e.g.,
logs. shows str, int, float)
- Dynamic Discovery: Automatically discovers built-in functions used across your workspace
- Comment Extraction: Displays comments above declarations as documentation
Smart Context Awareness
- No hover or autocomplete inside string literals
- Keyword filtering (doesn't show hover on language keywords)
- Supports
room and func declaration patterns
Requirements
- Visual Studio Code version 1.109.0 or higher
Usage
- Install the extension
- Open any
.ender or .es file
- Start coding with full IntelliSense support
Example
// Calculate the sum of two numbers
room add(a, b) {
return a + b
}
var result = add(5, 3)
logs.int(result)
Hover over add to see the documentation, or type logs. to see available logging functions.
Extension Settings
This extension does not add any VS Code settings. It works automatically when you open EnderScript files.
Known Issues
None at this time. Please report issues on the GitHub repository.
Release Notes
1.0.1
Maintenance release:
- Refactored internal code into modular
src/ structure (providers, parsers, utils)
- Improved maintainability and readability; no behavior changes
- Updated packaging metadata and docs; prepared for marketplace publishing
1.0.0
Initial release with full language support:
- Syntax highlighting
- Hover documentation
- Autocomplete with IntelliSense
- Workspace-wide built-in function discovery
- Support for room and func declarations
- Smart context-aware features
Working with Markdown
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\ on macOS or Ctrl+\ on Windows and Linux).
- Toggle preview (
Shift+Cmd+V on macOS or Shift+Ctrl+V on Windows and Linux).
- Press
Ctrl+Space (Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy!
| |