I'm using Visual Studio 2010 to edit DDL for a MySQL database in a file with a ".sql" extension. The IDE insists on providing red squiggles under perfectly legal MySQL syntax, presumably as it's not legal SQL Server syntax.
Is it possible to disable syntax highlighting for .SQL files?
Or, better still, is MySQL IntelliSense highlighting available?
Tools -> Options -> Text Editor -> Transact-SQL -> IntelliSense
Uncheck "Enable IntelliSense".
Tools -> Options -> Text Editor -> SQL Server Tools -> IntelliSense
Uncheck "Underline errors"
Note that you have to close then re-open any .sql files you may have open.
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