{"id":32861499,"url":"https://github.com/14ag/blinter_vscode_extension","last_synced_at":"2025-11-08T21:02:48.102Z","repository":{"id":321283279,"uuid":"1082573462","full_name":"14ag/blinter_vscode_extension","owner":"14ag","description":"Integrates the Blinter linter into VS Code, providing fast diagnostics and quick fixes for Windows batch files (.bat, .cmd).","archived":false,"fork":false,"pushed_at":"2025-11-06T20:59:42.000Z","size":20376,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-11-06T21:04:22.722Z","etag":null,"topics":["batch-file","batch-script","vscode-extension"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/14ag.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-10-24T12:51:21.000Z","updated_at":"2025-11-06T20:39:24.000Z","dependencies_parsed_at":"2025-10-28T21:27:48.754Z","dependency_job_id":"7ebe81aa-ca3c-4a6d-946c-d71a11c0ffe5","html_url":"https://github.com/14ag/blinter_vscode_extension","commit_stats":null,"previous_names":["14ag/blinter_vscode_extension"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/14ag/blinter_vscode_extension","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/14ag%2Fblinter_vscode_extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/14ag%2Fblinter_vscode_extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/14ag%2Fblinter_vscode_extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/14ag%2Fblinter_vscode_extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/14ag","download_url":"https://codeload.github.com/14ag/blinter_vscode_extension/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/14ag%2Fblinter_vscode_extension/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":283418034,"owners_count":26832617,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-11-08T02:00:06.281Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["batch-file","batch-script","vscode-extension"],"created_at":"2025-11-08T21:01:20.008Z","updated_at":"2025-11-08T21:02:48.080Z","avatar_url":"https://github.com/14ag.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blinter — VS Code Batch Linter\n\nBlinter integrates the native Blinter executable into Visual Studio Code’s **Run \u0026 Debug** workflow so Windows batch files (`.bat`, `.cmd`) get live diagnostics, variable tracking, and actionable quick fixes while you iterate.\n\n## What it does\n- Registers a `blinter-debug` debug type that launches the bundled `blinter.exe` and streams its output into VS Code.\n- Parses stdout incrementally to keep the **Problems** panel, hover tooltips, and inline “stupid line” decorations in sync.\n- Exposes a **Blinter Output** view in the Run \u0026 Debug sidebar that groups diagnostics (errors, warnings, undefined variables, etc.) and lets you jump straight to problem lines.\n- Provides command-casing quick fixes (configurable) and detailed variable traces for undefined-variable diagnostics.\n\n## Requirements\n- Visual Studio Code 1.75.0 or higher (stable or Insiders).\n- Bundled native `blinter.exe` in `bin/` (or `bins/`) inside the extension. The extension does **not** fall back to Python scripts.\n\nImportant third-party notice\n----------------------------\nThis extension bundles the upstream Blinter linter (standalone executable) produced\nby the Blinter project (author: `tboy1337`). The bundled executable in this\nrepository is `bin/Blinter-v1.0.94.exe` (Blinter v1.0.94). Blinter itself is\nlicensed under the GNU AGPL-3.0 (AGPL-3.0-or-later). By bundling the executable\nwe are redistributing AGPL-licensed code; please review the upstream\nlicense (https://github.com/tboy1337/Blinter) and ensure the AGPL obligations are\nacceptable for your distribution channel. The extension code (this repository)\nis released under the MIT license (see `LICENSE`).\n\nCredits\n-------\n- Blinter (core linter executable): tboy1337 — https://github.com/tboy1337/Blinter\n- This VS Code integration and extension scaffolding: Blinter VS Code Extension\n  contributors (see repository history / git log)\n\n## Quick start\n1. Confirm `bin/blinter.exe` is included alongside the extension (already bundled in the published VSIX).\n2. Open a workspace that contains the batch file you want to lint.\n3. Open the **Run \u0026 Debug** view (`Ctrl+Shift+D`) and choose the `Launch Batch (Blinter)` configuration. If prompted, allow VS Code to create a `launch.json` using the snippet below.\n4. Press **Run** (F5). Blinter runs immediately, populating the Problems panel, in-editor highlights, and the Blinter Output view.\n\nExample `launch.json` entry:\n\n```\n{\n  \"version\": \"0.2.0\",\n  \"configurations\": [\n    {\n      \"name\": \"Launch Batch (Blinter)\",\n      \"type\": \"blinter-debug\",\n      \"request\": \"launch\",\n      \"program\": \"${file}\"\n    }\n  ]\n}\n```\n\n## Settings\n- `blinter.enabled` (boolean) – enable/disable the integration entirely.\n- `blinter.runOn` (`\"onSave\" | \"onType\"`) – keep the legacy background linting triggers if you prefer automatic runs outside of debugging.\n- `blinter.debounceDelay` (number) – debounce (ms) for `onType` runs.\n- `blinter.rulesPath` (string|null) – optional override for a custom rules JSON file.\n- `blinter.quickFixCodes` (string[]) – diagnostic codes that should offer command-casing quick fixes.\n- `blinter.stupidHighlightColor` (string) – hex color used for highlighted “stupid” lines during a debug session.\n\n## Output \u0026 troubleshooting\n- View → Output → **Blinter** shows the exact command invocation, stdout, and stderr.\n- If `blinter.exe` cannot be located, a warning is raised and the Output channel logs the lookup paths (`bin/` or `bins/`). Copy the executable into one of those folders and rerun.\n- Diagnostics clear automatically when a session ends; start a new Run \u0026 Debug session to refresh analysis.\n\n## Packaging \u0026 publishing\n- Run `build.bat` to build a distributable VSIX. The script regenerates the icon assets and runs `vsce package`.\n- See `PACKAGING.md` for end-to-end packaging guidance (including CI notes and artifact checks).\n\n## License\n- MIT — see `LICENSE`.\n\nQuestions or feature requests? Open an issue or tweak the Blinter Output webview to suit your team’s workflow.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F14ag%2Fblinter_vscode_extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F14ag%2Fblinter_vscode_extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F14ag%2Fblinter_vscode_extension/lists"}