Not only SQL highlighting but also code lens inside the SSDT project showing you references to the C# file/line where the name of the sproc or table/view was noticed inside a string. They could even add a new type of string literal for sql queries that would be scanned if a SSDT project was found in the solution.
Static link the runtime then: http://stackoverflow.com/questions/37398/how-do-i-make-a-fully-statically-linked-exe-with-visual-studio-express-2005
Thanks for sharing this suggestion.
I’m pleased to report that this feature is being built for Visual Studio “15″.
You can try it in the recently published Visual Studio “15″ Preview 4
(see https://blogs.msdn.microsoft.com/visualstudio/2016/08/22/visual-studio-15-preview-4/ for download details)
To enable this feature in Visual Studio “15″ Preview 4, go to Tools > Options > Text Editor > [C# | Visual Basic] > IntelliSense and check the options for highlighting and filtering.
See Kasey Uhlenthuth’s blog post at https://blogs.msdn.microsoft.com/dotnet/2016/07/13/visual-studio-15-preview-3-for-c-and-visual-basic/ under “Intellisense Improvements” for more details.
- The Visual Studio Team
String Interpolation is good but HTML also needs some escaping here and there and things get complicated.
C++ has this. It's very useful.
Reopening this item.
Visual Studio Team