Open
Conversation
Member
|
@BorisKest thank you for your contribution! Could you explain how to install it? |
Member
|
Do we have to use martinring/tmlanguage? Cause helmwave already has it own json schema. |
Author
|
Hey @zhilyaev. At this point, extension is not released in VS code Marketplace, befor that we need to confirm that all features are working correctly. For now you can build extension from Source: Prerequisites
1. Clone the Repositorygit clone https://github.com/<your-username>/helmwave_vs_code_extension.git
cd helmwave_vs_code_extension2. Install Dependenciesnpm install3. Build the Extensionnpm run compileOr, for development with auto-rebuild: npm run watch4. Open the Project in VS Codecode .5. Launch the Extension in a Development Host
6. Make Changes and Test
|
Author
No, if we just need to implement validation, auto-completion, and hover info. The tmLanguage is used for syntax highlighting in VS Code. |
Author
|
@zhilyaev Hey, any updates? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Helmwave VS Code Extension – Initial Release
This PR introduces a basic Visual Studio Code extension for Helmwave YAML configuration files.
✨ Features
Syntax Highlighting
Custom TextMate grammar for Helmwave YAML files, including support for root keys, properties, URLs, chart references, and more.
Validation
Real-time validation of Helmwave configuration files using a diagnostic manager. Errors and warnings are shown in the Problems panel and inline.
Code Completion
Context-aware completion for Helmwave keys and structure, triggered after :, space, or -.
Quick Fixes
Code actions for common issues, accessible via the Quick Fix menu.
Document Symbols
Outline view and symbol navigation for Helmwave files.
Manual Validation Command
Command palette action to manually validate the active Helmwave file.
🗂️ Project Structure
extension.ts – Extension entry point and registration of providers
helmwave.tmLanguage.json – Syntax highlighting grammar
providers – Completion, code action, and symbol providers
validation – Validation logic and diagnostics
utils – Utility functions