{"action":"created","issue":{"url":"https://api.github.com/repos/godotengine/godot/issues/7402","repository_url":"https://api.github.com/repos/godotengine/godot","labels_url":"https://api.github.com/repos/godotengine/godot/issues/7402/labels{/name}","comments_url":"https://api.github.com/repos/godotengine/godot/issues/7402/comments","events_url":"https://api.github.com/repos/godotengine/godot/issues/7402/events","html_url":"https://github.com/godotengine/godot/issues/7402","id":198239796,"number":7402,"title":"Class (instead of file) based script assignment in editor","user":{"login":"Xydium","id":7831502,"avatar_url":"https://avatars0.githubusercontent.com/u/7831502?v=4","gravatar_id":"","url":"https://api.github.com/users/Xydium","html_url":"https://github.com/Xydium","followers_url":"https://api.github.com/users/Xydium/followers","following_url":"https://api.github.com/users/Xydium/following{/other_user}","gists_url":"https://api.github.com/users/Xydium/gists{/gist_id}","starred_url":"https://api.github.com/users/Xydium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xydium/subscriptions","organizations_url":"https://api.github.com/users/Xydium/orgs","repos_url":"https://api.github.com/users/Xydium/repos","events_url":"https://api.github.com/users/Xydium/events{/privacy}","received_events_url":"https://api.github.com/users/Xydium/received_events","type":"User","site_admin":false},"labels":[{"id":73330068,"url":"https://api.github.com/repos/godotengine/godot/labels/feature%20proposal","name":"feature proposal","color":"1144ff","default":false},{"id":279098219,"url":"https://api.github.com/repos/godotengine/godot/labels/topic:editor","name":"topic:editor","color":"ffdd44","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":17,"created_at":"2016-12-31T17:08:38Z","updated_at":"2018-03-09T22:45:21Z","closed_at":null,"author_association":"NONE","body":"Following some discussion with Karroffel and getting neikeq's GodotSharp module functional, I had an idea to make script/class organization easier, by having Godot automatically parse the project files for all classes/scripts and having a popup that lists them (with search bar and filters) to select a class rather than pointing a given node to a file directly. For example, on a Node2D selecting a subclass would make this window appear:\r\n\r\n![untitled3](https://cloud.githubusercontent.com/assets/7831502/21578541/1dd5ecc0-cf52-11e6-9c8c-b4e00f5953cf.png)\r\n\r\nFor GDScript/VisualScript, the class path could either be the file path in dot notation, or to further reduce the dependency on the file system's organization, GD/VS could have namespaces added or simply always appear top-level with no namespaces.\r\n\r\nXCode operates similarly where the selection menu for a custom subclass on a view/component will list all of the classes in the project that inherit from the required type."},"comment":{"url":"https://api.github.com/repos/godotengine/godot/issues/comments/371966890","html_url":"https://github.com/godotengine/godot/issues/7402#issuecomment-371966890","issue_url":"https://api.github.com/repos/godotengine/godot/issues/7402","id":371966890,"user":{"login":"willnationsdev","id":16217563,"avatar_url":"https://avatars1.githubusercontent.com/u/16217563?v=4","gravatar_id":"","url":"https://api.github.com/users/willnationsdev","html_url":"https://github.com/willnationsdev","followers_url":"https://api.github.com/users/willnationsdev/followers","following_url":"https://api.github.com/users/willnationsdev/following{/other_user}","gists_url":"https://api.github.com/users/willnationsdev/gists{/gist_id}","starred_url":"https://api.github.com/users/willnationsdev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willnationsdev/subscriptions","organizations_url":"https://api.github.com/users/willnationsdev/orgs","repos_url":"https://api.github.com/users/willnationsdev/repos","events_url":"https://api.github.com/users/willnationsdev/events{/privacy}","received_events_url":"https://api.github.com/users/willnationsdev/received_events","type":"User","site_admin":false},"created_at":"2018-03-09T22:45:21Z","updated_at":"2018-03-09T22:45:21Z","author_association":"CONTRIBUTOR","body":"@reduz So then, if we wanted a feature of this sort, it would have to be a feature that is exclusive to and part of the `/modules/gdscript/` module? Or you just don't want GDScript to support this at all because of the added complexity?"}}
{"actor":{"display_login":"willnationsdev"}}