Empower your Neko-CLI workflow within Visual Studio Code! 🐾 This extension provides comprehensive language support and productivity enhancements for your .neko configuration files, making development smoother, faster, and more enjoyable.
✨ Features
Unleash the full potential of your .neko files with these powerful features:
Syntax Highlighting: 🎨 Beautifully colored syntax for .neko files, improving readability and making your configurations a breeze to parse visually.
Intelligent Formatting: 🧹 Keep your .neko files pristine with automatic, consistent indentation. Say goodbye to manual alignment!
Note: While we strive for perfection, due to underlying YAML library constraints, some highly specific inline comments might not be fully preserved during formatting. We recommend full-line comments for critical notes!
Smart Code Completion: 💡 Accelerate your coding with intelligent suggestions for common keys like dependencies, devDependencies, and essential package properties (version, resolved, integrity). Type less, build more!
Real-time Validation: ✅ Catch errors and potential issues as you type! Our robust validation identifies missing required properties or structural inconsistencies, guiding you to perfect configurations.
Contextual Hover Info: ❓ Get instant explanations and helpful details when you hover over Neko-CLI specific keywords and properties. No more guessing games!
🚀 Installation
Getting started is a breeze!
Open Visual Studio Code.
Navigate to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X on macOS).
Once installed, the extension automatically activates for all files with the .neko extension.
Format Document: Press Shift + Alt + F (Windows/Linux) or Shift + Option + F (macOS) to instantly format your .neko file.
Auto-completion: Start typing dep within a .neko file, and see suggestions pop up! Use Tab or Enter to accept.
Problem Detection: Keep an eye on the "Problems" panel (Ctrl+Shift+M) for real-time error and warning notifications.
Quick Info: Hover your mouse over keywords to get quick insights into their purpose.
✍️ Example .neko File
# This is a cool full-line comment about project dependencies.
# It helps keep things organized!
dependencies:
# Core application library
my-awesome-package:
version: 1.0.0
resolved: [https://registry.npmjs.org/my-awesome-package/-/my-awesome-package-1.0.0.tgz](https://registry.npmjs.org/my-awesome-package/-/my-awesome-package-1.0.0.tgz)
integrity: sha512-abcdefg1234567890abcdefg1234567890abcdefg1234567890abcdefg1234567890
# A utility library for data manipulation
another-dependency:
version: 2.1.0 # Semantic versioning for clarity
resolved: [https://registry.npmjs.org/another-dependency/-/another-dependency-2.1.0.tgz](https://registry.npmjs.org/another-dependency/-/another-dependency-2.1.0.tgz)
integrity: sha512-hijklmn1234567890hijklmn1234567890hijklmn1234567890hijklmn1234567890
# These dependencies are only for development purposes, like testing.
devDependencies:
# Our preferred testing framework
testing-framework:
version: 3.0.0
resolved: [https://registry.npmjs.org/testing-framework/-/testing-framework-3.0.0.tgz](https://registry.npmjs.org/testing-framework/-/testing-framework-3.0.0.tgz)
integrity: sha512-opqrstu1234567890opqrstu1234567890opqrstu1234567890opqrstu1234567890