Open WeirdConstructor opened 6 years ago
I quite like the idea. Implementation-wise, this should probably integrate with the Custom Commands functionality. We can also look at how Qt Creator implemented this since their "External Tools" settings already have similar options.
Unfortunately there is no easy way to add content type information to string properties, but if this is done by setting up external tools then the user could at least set up different tools if he wants to use it for different kinds of data.
I have a feature request, which would possibly benefit many programmers and extensive NPC dialogue writers:
Make it possible to configure an external command to be called for editing text/string properties.
The use case: Make it possible to use a proper text editor (VIM, Emacs, Sublime, Atom, Notepad++, ...) with syntax highlighting for Scripts that are local to the map or the object. It would also make any other form of text editing much more comfortable to do.
This is so useful, that I might hack it into Tiled myself someday, but I might not have the time to execute the change properly for a pull request and I am currently involved too much in other projects. Maybe someone else likes this idea so much, that he is also urged to implement it before I get the chance.
Preparations
Algorithm for that button click
Possible Future Extensions