You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[macOS] Code completion breaks when .pde file contains Chinese characters #1595
On macOS, code completion stops working as soon as a .pde file contains Chinese (non-ASCII / multi-byte UTF-8) characters. This happens both in VS Code (via Processing lsp) and in the built-in Processing IDE editor.
The exact same Processing version works without any issues on Windows.
Environment
Processing version: [4.5.7]
OS: macOS [Apple M4, macOs 15.6.1]
Comparison: Works normally on Windows with the exact same Processing version.
Steps to Reproduce
Open a .pde file in VS Code (with the Processing extension) or in Processing.app (with code completion enabled).
Add or paste any Chinese characters (e.g., // 中文测试), even without saving.
Try triggering code completion anywhere in the file.
Expected Behavior
Code completion continues to work in the Processing editor.
Actual Behavior
In the Processing IDE editor on macOS, code completion fails to trigger when Chinese characters are present.
English-only behaves normal.
By the way, Processing extensions on VS Code that rely on the Processing LSP for code completion also have this issue.
Hi @mizerthilez, did you try switching on "Enable complex text input" in the settings (see screenshot below) and does the issue still happen with that setting on?
@catilac
Sure! Here is a minimal .pde example to reproduce it
Minimal .pde Example
Works (English only):
// testvoidsetup() {
re
}
Breaks (with Chinese characters):
// 中文测试voidsetup() {
re
}
Triggering code completion right after re (line 2, character 4) works in the first snippet, but stops working completely as soon as Chinese characters are present (whether typed, pasted without saving, or opened from disk).
And yes, the issue still happen when "Enable complex text input" is swithed on. @SableRaf
Activity
catilac commentedon Nov 24, 2026
Oh wow. Could you provide an example code so we can re-create it? This would be a really great thing to fix
SableRaf commentedon Nov 26, 2026
Hi @mizerthilez, did you try switching on "Enable complex text input" in the settings (see screenshot below) and does the issue still happen with that setting on?
mizerthilez commentedon Nov 27, 2026
@catilac
Sure! Here is a minimal
.pdeexample to reproduce itMinimal
.pdeExampleWorks (English only):
Breaks (with Chinese characters):
Triggering code completion right after re (line 2, character 4) works in the first snippet, but stops working completely as soon as Chinese characters are present (whether typed, pasted without saving, or opened from disk).
And yes, the issue still happen when "Enable complex text input" is swithed on. @SableRaf