Intelligent language support for NullScript: smart auto-completion with design patterns, contextual hover documentation, import assistance, and beautiful syntax highlighting
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
The ultimate VS Code extension for NullScript development - featuring intelligent auto-completion, contextual documentation, and beautiful syntax highlighting.
✨ Features
🚀 Smart Auto-Completion
Keyword suggestions for all NullScript keywords and methods
Context-aware completions for speak. and clock. methods
Import assistance with module suggestions
Design pattern snippets for common programming patterns
💡 Rich Hover Documentation
Comprehensive tooltips with detailed explanations
JavaScript equivalents showing how NullScript transpiles
Usage examples and best practices
Performance hints and category tips
🎨 Beautiful Syntax Highlighting
Full syntax support for .ns files
Keyword highlighting with distinct colors
String and comment support with proper formatting
Bracket matching and indentation guides
🔧 Developer Experience
Code snippets for common patterns
Language configuration with proper indentation
File association for .ns files
🚀 Quick Start
1. Create Your First NullScript File
Create a new file with the .ns extension:
// hello.ns
run greet(name) {
speak.say(`Hello, ${name}!`);
speak.log("Welcome to NullScript!");
}
greet("World");
2. Experience the Intelligence
Type speak. - Get suggestions for console methods (say, scream, yell)
Type clock. - Get suggestions for date methods (now, parse)
Hover over keywords - See detailed documentation with examples
Use snippets - Type run, model, whatever, etc. and press Tab