Microsoft Edge

Try Microsoft Edge

A fast and secure browser that's designed for Windows 10 Get started

This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. Learn more
Microsoft Microsoft
    • .NET
      • Apps
      • Internet of Things
      • Mixed Reality
      • Microsoft Edge
      • Hardware
      • IT Center
      • What is Azure
      • Products
      • Solutions
      • Pricing
      • Create a free account
      • Visual Studio
      • Visual Studio IDE
      • Visual Studio Team Services
      • Visual Studio Code
      • Xamarin
      • Visual Studio Dev Essentials
      • Subscriptions
      • Office Dev Center
      • Office 365 for IT pros
    • Microsoft Graph
      • Store
      • Cortana
      • Bing
      • Application Insights
      • .NET
      • Microsoft Azure
      • Microsoft Graph
      • Visual Studio
      • Visual Studio Team Services
      • Windows
      • Office
      • All Developer Centers
    • TechNet
    • Microsoft Developer Network
      • Windows IT Center
      • Office 365 for IT Pros
      • All IT TechCenters
      • Microsoft Download Center
      • Microsoft Azure
      • Visual Studio
      • SDKs
      • Windows
      • Office
      • Microsoft Graph
      • MSDN
      • Azure
      • Windows
    • PowerShell scripts
      • Microsoft Azure
      • Visual Studio
      • Visual Studio Team Services
      • Developer tools
      • Office Dev Blog
      • Server & management
      • Windows
      • Developers
      • TechNet
      • Microsoft Tech Community
      • Visual Studio (MSDN) subscriptions
      • Microsoft Cloud Essentials
      • Microsoft Virtual Academy
      • IT Pro Career Center
    • Microsoft Evaluation Center
    • Channel 9
    • No results
    Sign in
    Developer Community Status
    Visual Studio

    Developer Community

    Get help from our community supported forum
    Visual Studio Visual Studio for Mac .NET C++ VSTS TFS
    All Products
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • VSTS
    • TFS
    Report a problem
    • for Visual Studio
    • for Visual Studio for Mac
    • for .NET
    • for C++
    • for VSTS
    • for TFS
    Report an issue in Visual Studio Installer or Visual Studio
    This allows diagnostic information about the program to be included in your report
    1. Installer or Visual Studio
    2. Report a Problem
    3. Type and Submit
    Available on Visual Studio 2017, Installer, and newer releases
    Would you like to know more?
    • Home /
    • Visual Studio /
    avatar image
    19

    Syntax highlighting issue with sql file

    Reported by Gaëtan POIRAUDEAU Mar 07, 2017 at 04:56 PM windows 10.0visual studio 2017Database

    when an sql file is opened in the editor, there is no more syntax highlighting

    thub.nodes.view.add-new-comment
    Add comment Show 13
    10 |10000 characters needed characters left characters exceeded
    ▼
    • Viewable by all users
    • Viewable by moderators
    • Viewable by moderators and the original poster
    • Advanced visibility
    Viewable by all users
    avatar image Rene · Mar 07, 2017 at 08:47 PM 0
    Share

    I have the same problem and think that working is not satisfactory on database projects. please correct this as soon as possible. thanks

    avatar image Simone · Mar 08, 2017 at 01:59 PM 0
    Share

    I've got the same problem (using VS in Italian, if it matters)

    avatar image Rukai Yu · Mar 08, 2017 at 03:23 PM 0
    Share

    me too

    avatar image Rukai Yu · Mar 08, 2017 at 03:23 PM 0
    Share

    also the sql file has to be save before closing.

    avatar image Misao · Mar 11, 2017 at 04:09 AM 0
    Share

    Same here. VS2017 RTW zh-tw

    avatar image ROBERTO REALE · Mar 14, 2017 at 04:16 PM 0
    Share

    Same here. VS2017 RTM Italian.

    avatar image Arkadiy Pavlik · Mar 18, 2017 at 06:07 AM 0
    Share

    Maybe someone will help my workaround:

    1. Add English language to Visual Studio 2017 (vs_installer).
    2. Run "devenv /LCID 1033" for SQL projects and "devenv /LCID <your locale>" for other projects.
    3. Enjoy! )))

    avatar image Blair Wang-MSFT ♦ · Mar 21, 2017 at 03:18 AM 0
    Share

    Similar issue here:

    https://developercommunity.visualstudio.com/content/problem/26264/sql-syntax-highlighting.html

    avatar image Christian Gunderman [MSFT] · Mar 21, 2017 at 03:39 AM 1
    Share

    Please try running devenv.exe /setup from a Developer Command prompt and see if this mitigates the issue.

    avatar image Arkadiy Pavlik · Mar 21, 2017 at 04:55 AM 0
    Share

    To Christian Gunderman: no effect

    Show more comments

    Solutions

    · Add your solution
    avatar image
    0
    Best Solution

    Added a solution by John Catenzaro - MSFT · Aug 21, 2017 at 07:27 PM

    Thank you for your feedback! This issue appears to be identical to https://developercommunity.visualstudio.com/content/problem/26264/sql-syntax-highlighting.html We recommend that you vote on and follow the earlier reported issue for updates and fix notifications.

    thub.nodes.view.add-new-comment
    Add comment · Share
    10 |10000 characters needed characters left characters exceeded
    ▼
    • Viewable by all users
    • Viewable by moderators
    • Viewable by moderators and the original poster
    • Advanced visibility
    Viewable by all users
    avatar image
    0

    Added a solution by Pablo Laplace · Aug 15, 2017 at 04:37 PM

    Solved with 15.3 update

    thub.nodes.view.add-new-comment
    Add comment · Share
    10 |10000 characters needed characters left characters exceeded
    ▼
    • Viewable by all users
    • Viewable by moderators
    • Viewable by moderators and the original poster
    • Advanced visibility
    Viewable by all users
    Follow

    90 People are following this

    avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

    Related Problems

    Update-Database throw this error only in 2017 and Entity Framework 6
    1 Solution

    Cannot add Web Reference to SQL Server Database project
    0 Solution

    Network or instance specific error
    0 Solution

    Database Import Crashes VS2017
    5 Solution

    SSDT SQL Server Object Explorer Show Built-in and External filters don't work
    0 Solution

    Data Lake Results - Cannot right-click to view output
    0 Solution

    SQL Server Object Explorer crashes when I double-click any table
    0 Solution

    SSDT Templates Missing in VS2017 RTM
    5 Solution

    SQL server query close makes you save it rather than asking if you want to save it
    0 Solution

    Unload projects hangs on close solution
    4 Solution

    Popular
    • Windows Dev Center
    • Microsoft Azure
    • Microsoft Visual Studio
    • Office Dev Center
    • ASP.NET
    • IIS.NET
    Learning Resources
    • Channel 9
    • Windows development videos
    • Microsoft Virtual Academy
    Programs
    • Microsoft developer program
    • Windows Insider program
    • Microsoft Affiliate program
    • BizSpark (for startups)
    • Microsoft Imagine
    For IT Pros
    • Microsoft Power BI
    • Microsoft SQL Server
    • Internet of Things
    • Operations Management Suite
    English (United States)
    • Contact us
    • Privacy & cookies
    • Terms of use
    • Trademarks
    • About our ads
    • © Microsoft 2018
    • Anonymous
    • Sign in
    • Spaces
    • Visual Studio
    • Visual Studio for Mac
    • .NET
    • C++
    • VSTS
    • TFS
    • Explore
    • Topics
    • Problems
    • Users
    • Badges