{"id":48540163,"url":"https://github.com/panoramicdata/panoramicdata.visualstudio.wgsllanguagesupport","last_synced_at":"2026-04-08T04:01:50.534Z","repository":{"id":325714634,"uuid":"1102008758","full_name":"panoramicdata/PanoramicData.VisualStudio.WgslLanguageSupport","owner":"panoramicdata","description":"WGSL Language Support for Visual Studio by Panoramic Data Limited","archived":false,"fork":false,"pushed_at":"2025-12-18T18:40:33.000Z","size":102,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-12-21T21:26:19.453Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","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/panoramicdata.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-11-22T16:45:06.000Z","updated_at":"2025-12-18T18:40:37.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/panoramicdata/PanoramicData.VisualStudio.WgslLanguageSupport","commit_stats":null,"previous_names":["panoramicdata/panoramicdata.visualstudio.wgsllanguagesupport"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/panoramicdata/PanoramicData.VisualStudio.WgslLanguageSupport","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FPanoramicData.VisualStudio.WgslLanguageSupport","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FPanoramicData.VisualStudio.WgslLanguageSupport/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FPanoramicData.VisualStudio.WgslLanguageSupport/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FPanoramicData.VisualStudio.WgslLanguageSupport/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/panoramicdata","download_url":"https://codeload.github.com/panoramicdata/PanoramicData.VisualStudio.WgslLanguageSupport/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/panoramicdata%2FPanoramicData.VisualStudio.WgslLanguageSupport/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31539229,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T16:28:08.000Z","status":"online","status_checked_at":"2026-04-08T02:00:06.127Z","response_time":54,"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":[],"created_at":"2026-04-08T04:01:49.927Z","updated_at":"2026-04-08T04:01:50.524Z","avatar_url":"https://github.com/panoramicdata.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PanoramicData.VisualStudio.WgslLanguageSupport\n\nWGSL Language Support for Visual Studio by Panoramic Data Limited\n\nA Visual Studio 2022 extension that provides comprehensive language support for WebGPU Shading Language (WGSL) files.\n\n## Features\n\n- **Syntax Highlighting** - Comprehensive WGSL syntax coloring\n- **Real-Time Linting** - Comprehensive error detection with 8 validation categories:\n  - Missing semicolons\n  - Unmatched braces (`{}`, `()`, `[]`)\n  - Invalid attributes (`@vertex`, `@fragment`, `@compute`, etc.)\n  - Stage function validation (proper return types)\n  - Undefined type detection (validates all WGSL built-in types)\n  - Duplicate binding detection\n  - Workgroup size validation\n  - Variable declaration validation\n- **File Association** - Automatic recognition of `.wgsl` files\n- **Fast \u0026 Lightweight** - In-process extension with minimal overhead\n- **Comment-Aware** - Skips validation inside comments and strings\n- **Complete Type Coverage** - Recognizes all WGSL scalar, vector, matrix, texture, and sampler types\n\n## Installation\n\n### From Visual Studio Marketplace (Coming Soon)\n\nOnce published, you'll be able to install directly:\n\n1. Open Visual Studio 2022\n2. Go to **Extensions \u003e Manage Extensions**\n3. Search for **\"WGSL Language Support\"**\n4. Click **Download** and restart Visual Studio\n\n### From Source\n\n1. Clone this repository\n2. Open `PanoramicData.VisualStudio.WgslLanguageSupport.slnx` in Visual Studio 2022\n3. Build the solution (F6)\n4. Press F5 to launch the Experimental Instance of Visual Studio\n5. Create or open a `.wgsl` file to test the extension\n\n### From VSIX\n\n1. Download the latest `.vsix` file from the releases page\n2. Double-click the `.vsix` file to install\n3. Restart Visual Studio\n\n## Development\n\n### Prerequisites\n\n- Visual Studio 2022 (17.0 or later)\n- Visual Studio extension development workload\n- .NET 8 SDK\n\n### Project Structure\n\n```\nPanoramicData.VisualStudio.WgslLanguageSupport/\n+-- WgslContentDefinition.cs          # Content type registration\n+-- WgslClassificationDefinitions.cs  # Syntax highlighting colors\n+-- WgslClassifier.cs                 # Syntax classification logic\n+-- WgslClassifierProvider.cs         # Classifier provider\n+-- WgslErrorTagger.cs                # Linting logic\n+-- WgslErrorTaggerProvider.cs        # Tagger provider\n+-- WgslLanguagePackage.cs            # VS Package registration\n+-- source.extension.vsixmanifest     # Extension manifest\n```\n\n### Building\n\n```bash\ndotnet build\n```\n\n### Testing\n\nPress F5 in Visual Studio to launch the Experimental Instance with the extension loaded.\n\n## Linting Rules\n\nCurrently implemented (prototype):\n- Detection of `deprecated` keyword\n\n### Planned WGSL-Specific Rules\n\n- Missing semicolons\n- Invalid type usage\n- Undefined variables/functions\n- Shader entry point validation (`@vertex`, `@fragment`, `@compute`)\n- Attribute validation (`@binding`, `@group`, `@location`, etc.)\n- Built-in function validation\n- Type compatibility checks\n\n## Attribution\n\nThis extension uses the WGSL TextMate grammar from [PolyMeilex/vscode-wgsl](https://github.com/PolyMeilex/vscode-wgsl) (MIT License).\n\n## License\n\nMIT License - see LICENSE.txt for details\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanoramicdata%2Fpanoramicdata.visualstudio.wgsllanguagesupport","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanoramicdata%2Fpanoramicdata.visualstudio.wgsllanguagesupport","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanoramicdata%2Fpanoramicdata.visualstudio.wgsllanguagesupport/lists"}