Script editor/syntax highlighting in properties
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
A lot of the time you'll want to add rudimentary scripting snippets to an object. It would be nice to have some form for script editor in Tiled. This should probably be a different "property type" (like int, float, color, string, etc). Editing one would pop open a lightweight code editor with syntax highlighting. There should be a dropdown somewhere to select a language for highlighting, which would be saved together with the property in the .tmx file.
Forgive my horrible UI mockups:



Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are identified in the issue. Start by locating the existing property-type editor and .tmx property serialization, then define the editor, language-selection, and persistence behavior; done means script properties can be edited with syntax highlighting and their selected language is saved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100