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

Cloud Code breaks multibyte? yaml editing #3151

Open
topia opened this issue Jul 13, 2023 · 2 comments
Open

Cloud Code breaks multibyte? yaml editing #3151

topia opened this issue Jul 13, 2023 · 2 comments

Comments

@topia
Copy link

topia commented Jul 13, 2023

  • Cloud Code for IntelliJ version: 23.6.3-IB.1-api-version-222
  • Google Cloud SDK version: 438.0.0
  • OS: Windows 11 10.0

What did you do?
Editing UTF-8 YAML containing Japanese text.

What did you expect to see?
No code problems are shown.

What did you see instead?
Many unexpected code problems are shown:
image

YAML is basic and should be valid:

test:
  key: value
  foo:
    key: value

  キー: 

  bar:
    key2: value2

I tried this with IDEA 2023.2 Beta (Ultimate) #IU-232.8660.48 only for now, and I don't know if it's related to Beta/EAP or not.
(I'd like to note that this problem can't reproduce if I disable the Cloud Code plugin)

@topia
Copy link
Author

topia commented Jul 13, 2023

I can't reproduce second time, so I slightly changed the steps to reproduce always (with IDEA 2023.1):

  1. create test.yaml and input below text:
test:
  key: value
  foo:
    key: value

  キー: 

  bar:
    key2: value2
  1. moved to the beginning of line 2 and typed &key
test:
  &key key: value
...
  1. Cloud Code shows many errors for this valid input.

Maybe my issue subject was not correct, but it was caused by an already-broken internal state.

@emmanuelbaah
Copy link
Contributor

The team will investigate this issue and get back to you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants