Skip to content

Syntax Highlighting for SQL in Strings? #525

Closed

Description

@scgm11

Have syntax highlighting for SQL inside Strings

Environment
  • Operating System: Mac OS High Sierra
  • JDK version: JDK 8
  • Visual Studio Code version: 1.22.2
  • Java extension version: 0.24.0
Steps To Reproduce
  1. [step 1]
  2. [step 2]

[attach a sample project reproducing the error]
attach logs

Current Result

No Highlighting on SQL inside Strings

Expected Result

Have Syntax Highlighting

Additional Informations

Activity

  1. fbricon commented on May 2, 2018

    @fbricon
    Collaborator

    SQL support is outside the scope of vscode-java and the Java syntax highlighting is provided by vscode itself.
    I believe what you need is a way to inject language highlighting into another language file, similar to https://stackoverflow.com/questions/30753512/intellij-idea-syntax-highlighting-of-sql-inside-java-code. Please open an enhancement request in https://github.com/Microsoft/vscode/issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions