Add Visual Studio 2026 extension support#2
Open
Granwest-Iknight wants to merge 3 commits intomasterfrom
Open
Conversation
Created a new Visual Studio extension (TSqlFormatter.VS2026) that brings T-SQL formatting capabilities to Visual Studio 2022, 2026, and later versions. New Project: - TSqlFormatter.VS2026 - Visual Studio IDE extension - Supports VS 2022 (17.0), 2026 (19.0), and later - Targets Community, Professional, and Enterprise editions - Uses traditional VSSDK model for broad compatibility Key Features: - Same formatting engine and options as SSMS extension - Dedicated launch profiles for VS 2022 and VS 2026 - Support for both C: and F: drive installations - Full options dialog with persistent settings - Keyboard shortcut support (Ctrl+K, Ctrl+F) Technical Details: - Based on the proven SSMS extension architecture - Shared TSqlFormatter.Core library for consistent formatting - Open-ended version range [17.0,) for future VS versions - Separate VSIX manifest targeting VS IDE (not SSMS) Documentation: - Updated README.md with VS extension installation instructions - Updated CLAUDE.md with build commands and architecture notes - Added comprehensive launch settings with common installation paths Solution Structure: - Added TSqlFormatter.VS2026 project to TSqlFormatter.SSMS21.sln - Now builds both SSMS and VS extensions in one solution 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
- Fixed invalid JSON comments in launchSettings.json (JSON doesn't support //) - Changed DialogWindow to Window (more compatible base class) - Changed ShowModal() to ShowDialog() (Window method) - Extension now builds successfully in Visual Studio 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
Summary
TSqlFormatter.VS2026)Changes
Test plan
msbuild TSqlFormatter.SSMS21.sln /p:Configuration=Release🤖 Generated with Claude Code