Cloud Code breaks multibyte? yaml editing
- 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:
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)
I can't reproduce second time, so I slightly changed the steps to reproduce always (with IDEA 2023.1):
- create
test.yamland input below text:
test:
key: value
foo:
key: value
キー: 値
bar:
key2: value2
- moved to the beginning of line 2 and typed
&key
test:
&key key: value
...
- 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.
The team will investigate this issue and get back to you