-
Notifications
You must be signed in to change notification settings - Fork 315
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
Broken completion and highlighting in multi-line string interpolation in worksheets #6361
Comments
Thanks for reporting! Do you get any any logs or reports in .metals/reports ? It looks like the file is failing to compiling at least partially. |
Hey @tgodzik ! Sorry for the delay, I missed your reply :( No reports appear to be generated and compilation seems fine as expressions defined later are correctly evaluated (and nothing special appear in the logs either) However, there's one key aspect that I forgot in the issue description (I've edited the comment): it's only the case in worksheets. On regular Scala file it's perfectly fine |
Ach, that's an important piece of information, thanks! |
Describe the bug
EDIT: worksheets only
When using multi-line string interpolation, things get a bit awkward :)
For instance with
There are no completion suggestions, but compiling is ok as well as go-to definitions
Expected behavior
Normal colors & completions :)
Operating system
Linux
Editor/Extension
VS Code
Version of Metals
v1.3.0
Extra context or search terms
semantic highlighting, multi-line string, string interpolation
The text was updated successfully, but these errors were encountered: