godotengine / godotengine/godot

Wrong Json syntax error

Open
#95,384 0 comments 1 reaction 0 assignees View on GitHub
bug topic:editor
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

- Reproducible in: 4.3.rc3.mono

### System information

Godot v4.3.rc3.mono - Windows 10.0.19045

### Issue description

https://github.com/user-attachments/assets/84096e28-efeb-4051-95cd-b0d5562352ca

When I am writing a json file, a syntax error is highlighted without any indication. When I close the file and open it again, the error highlighting is still there. But after closing the file and saving another file and opening the json file again the error highlighting no longer appears.

### Steps to reproduce

I don't know how the unprompted syntax error is triggered, it just appears by chance during the writing process.
If this error occurs, it can be reproduced using the steps above.

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

Research direction

No source file, test, or entry point is identified. Start by reproducing the unexplained JSON syntax highlighting in Godot 4.3.rc3.mono on Windows, then follow the reported close, save another file, and reopen sequence. Done means the highlighting behavior is consistent and the error state is correctly refreshed.

Written by the indexing model from the issue text.

Assessment

Tech stack
godot, json
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.