Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax Highlighting for SQL in Strings? #525

Closed
scgm11 opened this issue May 1, 2018 · 1 comment
Closed

Syntax Highlighting for SQL in Strings? #525

scgm11 opened this issue May 1, 2018 · 1 comment

Comments

@scgm11
Copy link

scgm11 commented May 1, 2018

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
@fbricon
Copy link
Collaborator

fbricon commented May 2, 2018

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
Projects
None yet
Development

No branches or pull requests

2 participants