RenJS Language Support
Syntax highlighting and language features for RenJS.
Features
- Syntax Highlighting: Full syntax highlighting for RenJS files
- Code Snippets: Common code snippets for functions, classes, loops, etc.
- Auto-closing: Automatic closing of brackets, quotes, and braces
- Comment Toggling: Easy line and block comment toggling
- Bracket Matching: Highlight matching brackets
File Extensions
This extension activates for:
.renjs files (RenJS files)
.rjs files (Alternative RenJS extension)
Language Features
Keywords
- Control Flow:
if, else, switch, case, default, for, while, do, break, continue, return
- Error Handling:
try, catch, finally, throw
- Declarations:
function, class, enum, type, const, let
- Module System:
import, export, from
- Operators:
new, delete, typeof, instanceof, in, as, void
- Line comments:
// comment
- Block comments:
/* comment */
Code Snippets
Type these prefixes and press Tab:
function - Function declaration
class - Class declaration
if - If statement
for - For loop
while - While loop
try - Try-catch block
import - Import statement
export - Export statement
Installation
This extension is part of the RenJS development environment. This is only the laguage part for the debugger another extension is available.
Version History
1.0.1
- Initial release
- Basic syntax highlighting
- Code snippets
- Language configuration
1.0.2
- Intellisene object additions: Plugin, Converter, Math , Print
Author
Shpend Gjonbalaj
s.gjonbalaj@epay.de
| |