When using Visual Studio, select a pending change to a .sql file. Select "Compare with Latest" or "Compare with Workspace Version." The file opens in the Diff Window.
Is there any way to be able to edit the .sql file in the Diff Window? This functionality is available when comparing other file types.
The diff tool of Visual Studio is very good to compare 2 files. You can use it to compare two versions of the same file directly in Visual Studio. But you can also use it to compare 2 files that are not in a solution.
SQL Server Data Tools for Visual Studio. Turn Visual Studio into a powerful development environment for SQL Server, Azure SQL Database and Azure SQL Data Warehouse.
What you want is not currently possible. This link from the Visual Studio Developer Community says:
We have determined that this issue will not be addressed in the upcoming release. We will continue to evaluate it for future releases.
You can vote on the issue at the link and get status updates from Microsoft if it changes.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With