Skip to content

0.1.0 base#1

Open
BorisKest wants to merge 2 commits intohelmwave:mainfrom
BorisKest:0.1.0_base
Open

0.1.0 base#1
BorisKest wants to merge 2 commits intohelmwave:mainfrom
BorisKest:0.1.0_base

Conversation

@BorisKest
Copy link
Copy Markdown

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

@zhilyaev
Copy link
Copy Markdown
Member

zhilyaev commented Jul 8, 2025

@BorisKest thank you for your contribution! Could you explain how to install it?

@zhilyaev
Copy link
Copy Markdown
Member

zhilyaev commented Jul 8, 2025

Do we have to use martinring/tmlanguage? Cause helmwave already has it own json schema.

@BorisKest
Copy link
Copy Markdown
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 Repository

git clone https://github.com/<your-username>/helmwave_vs_code_extension.git
cd helmwave_vs_code_extension

2. Install Dependencies

npm install

3. Build the Extension

npm run compile

Or, for development with auto-rebuild:

npm run watch

4. Open the Project in VS Code

code .

5. Launch the Extension in a Development Host

  1. Press F5 or select Run > Start Debugging in VS Code.
  2. This will open a new "Extension Development Host" window.
  3. Open a helmwave.yml file (or any Helmwave config) in this window to test the extension features.

6. Make Changes and Test

  • Edit the extension code in your main VS Code window.
  • The development host will reload the extension automatically if you use npm run watch.

@BorisKest
Copy link
Copy Markdown
Author

Do we have to use martinring/tmlanguage

No, if we just need to implement validation, auto-completion, and hover info.

The tmLanguage is used for syntax highlighting in VS Code.

@BorisKest
Copy link
Copy Markdown
Author

@zhilyaev Hey, any updates?

@BorisKest BorisKest closed this Sep 15, 2025
@zhilyaev zhilyaev reopened this Sep 23, 2025
@zhilyaev zhilyaev self-assigned this Sep 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants