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

No Syntax Highlight for speaker with spaces/special characters in their name #19

Open
DX5536 opened this issue Jul 21, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@DX5536
Copy link

DX5536 commented Jul 21, 2022

What is the current behavior?

Usually the speaker name is highlighted in a different colour. But if the speaker has spaces or special characters like , or "", VS Code treat it as normal text and not as a speaker.

Please provide the steps to reproduce, and if possible a minimal demo of the problem:

  1. Make Yarn file
  2. Make a small dialogue
  3. Write speaker's name with some spaces
  4. Have another speaker with only 1 word as a comparison.

Code_2022-07-21_15-36-55

  1. There is no compile error in Unity.
    With " "
    Unity_2022-07-21_15-35-56
    Without " "
    Unity_2022-07-21_15-36-11

What is the expected behavior?

Speaker should be highlighted, regardless of spaces or special characters.

Please tell us about your environment:

  • Yarn Spinner Version: v2.2.15
  • VS Code Version: v1.69.2
@DX5536 DX5536 added the bug Something isn't working label Jul 21, 2022
@McJones
Copy link
Contributor

McJones commented Feb 6, 2023

We can't repro this, character highlighting is working for characters with special symbols on our end.
Is there anything above the snippet of yarn shown that might be causing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants