-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't rename custom properties in Properties window #772
Comments
You're right. I considered this use-case rare enough to not be a serious issue, but of course it would be nice if you could still also rename the property this way. |
I've also run into this issue. Thanks, Kawika Heftel |
Kheftel, me too! +1 in this issue... |
Wow, why does everybody need to rename their properties? Is this just to fix typos or am I missing something? |
Hi Bjorn, My main reason is because I always need to setup properties for objects(colliders) and often I write wrong the name of custom properties. I'm helping in the development of X-UNITMX(plugin for UNITY 3D), so I created a couple of custom properties can be read in the plugin. Other important issue related in editing properties is at issues #515. Thanks for the creation and maintenance of this awesome map editor tool! |
@fontmas Ah, thanks for going into detail. So at least in your case the issue is indeed "typos", but it's quite understandable when the property names are so complex. Well, I hope I'll have some time to look into this in the next weeks. |
@bjorn, sorry about not explain the details of properties. Is it possible to add "grouped" properties? See the descriptions below. Each property begins with "Number"-prefab(ex: 0-preafb) is a "group configuration" of a "prefab"(object) that will be instantiated in Unity3D. Descriptions of the properties: Others general properties: |
If you end up touching that code anyway, it might be nice to implement tabbing through the properties/values (ie tab on a property->focus on its value and select text; tab on a value->focus on the next property and select text [or create a new one if necessary], and shift-tab going backward the same way) |
Hmm, this already seems to work for me, apart from the automatic creation of new properties of course. Once in edit mode, Tab and Shift+Tab move to the next or previous property. When not in edit mode, Tab is more global, but in that case you can use up/down to navigate the properties and press Enter to start editing one. |
I need to rename properties sometimes simply because my needs change during development. I refactor things in the code of my game, and sometimes I need to refactor things in the map format too. Not just typos. |
+1 . Would love to rename the properties. We are currently building the base of our engine and often change how we use properties. We also sometime use the property name to store information and need to change it. |
I'm closing this since the requested functionality was implemented by pull request #803 and has been out since Tiled 0.11. It is not optimal since you need to click the rename button with the mouse, so eventually it would make sense to add a shortcut or to look into triggering the dialog by double-clicking the name. |
This is a problem I have found with the new Properties window in version 0.10.x
After using the Add Property button to add a custom property to an object, I can click on the Value and edit it, but I cannot click on the Property and edit it. I have to remove the custom property then add it again but type in the new name of the property.
The old properties window allowed editing of both the Property and Value.
The text was updated successfully, but these errors were encountered: