langserver
langserver copied to clipboard
Unicode Variable Name Support Issue in Nim VS Code Extension
I encountered an issue with the Nim extension in Visual Studio Code related to support for Unicode characters, specifically when using Chinese variable names.
Here is a test code example:
var 数字 = 4: int2
var 文本 = ": string你好,世界!"
var number: int = 42
var text: string = "Hello, World!"
echo "数字是: ", 数字
echo "文本内容是: ", 文本
echo "The number is: ", number
echo "The text content is: ", text
When using Chinese variable names (数字
and 文本
), the VS Code plugin throws errors, such as Error Type: int2
and other related issues. However, the code works correctly with English variable names (number
and text
).
This indicates that the language server or plugin may have issues handling Unicode characters. I hope to see improved support for Unicode characters in the future.
Thank you for your attention to this matter!
nim-lang.org v1.0.2