{"action":"created","issue":{"url":"https://api.github.com/repos/intersystems-ru/webterminal/issues/57","repository_url":"https://api.github.com/repos/intersystems-ru/webterminal","labels_url":"https://api.github.com/repos/intersystems-ru/webterminal/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/intersystems-ru/webterminal/issues/57/comments","events_url":"https://api.github.com/repos/intersystems-ru/webterminal/issues/57/events","html_url":"https://github.com/intersystems-ru/webterminal/issues/57","id":137839465,"number":57,"title":"Support for system methods in autocomplete","user":{"login":"eduard93","id":5127457,"avatar_url":"https://avatars.githubusercontent.com/u/5127457?v=3","gravatar_id":"","url":"https://api.github.com/users/eduard93","html_url":"https://github.com/eduard93","followers_url":"https://api.github.com/users/eduard93/followers","following_url":"https://api.github.com/users/eduard93/following{/other_user}","gists_url":"https://api.github.com/users/eduard93/gists{/gist_id}","starred_url":"https://api.github.com/users/eduard93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduard93/subscriptions","organizations_url":"https://api.github.com/users/eduard93/orgs","repos_url":"https://api.github.com/users/eduard93/repos","events_url":"https://api.github.com/users/eduard93/events{/privacy}","received_events_url":"https://api.github.com/users/eduard93/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-02T10:48:59Z","updated_at":"2016-03-02T10:54:04Z","closed_at":null,"body":"2016.1 bought us [system methods](http://localhost:57772/csp/documatic/%25CSP.Documatic.cls?PAGE=CLASS&LIBRARY=%25SYS&CLASSNAME=%25Dictionary.ClassDefinition#PROPERTY_SystemMethods).\r\nFor example:\r\n```\r\nset consumedJSON = ##class(%AbstractObject).$fromJSON(someJSONstring)\r\n```\r\n\r\nTo add support for system methods we need to:\r\n  - on a server side modify `WebTerminal.Autocomplete:GenerateAutocomplete` method\r\n  - on a client side?\r\n\r\nDo we add another category for system methods or add them to other methods?\r\n\r\nYou can check if systems methods are defined via: \r\n```\r\nw ##class(%Dictionary.PropertyDefinition).IDKEYExists(\"%Dictionary.ClassDefinition\",\"SystemMethods\")\r\n```\r\n\r\nAnother question - why do we parse `%Dictionary.ClassDefinition` for properties/methods instead of `%Dictionary.CompiledClass` "},"comment":{"url":"https://api.github.com/repos/intersystems-ru/webterminal/issues/comments/191186308","html_url":"https://github.com/intersystems-ru/webterminal/issues/57#issuecomment-191186308","issue_url":"https://api.github.com/repos/intersystems-ru/webterminal/issues/57","id":191186308,"user":{"login":"eduard93","id":5127457,"avatar_url":"https://avatars.githubusercontent.com/u/5127457?v=3","gravatar_id":"","url":"https://api.github.com/users/eduard93","html_url":"https://github.com/eduard93","followers_url":"https://api.github.com/users/eduard93/followers","following_url":"https://api.github.com/users/eduard93/following{/other_user}","gists_url":"https://api.github.com/users/eduard93/gists{/gist_id}","starred_url":"https://api.github.com/users/eduard93/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eduard93/subscriptions","organizations_url":"https://api.github.com/users/eduard93/orgs","repos_url":"https://api.github.com/users/eduard93/repos","events_url":"https://api.github.com/users/eduard93/events{/privacy}","received_events_url":"https://api.github.com/users/eduard93/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T10:54:04Z","updated_at":"2016-03-02T10:54:04Z","body":"> Do we add another category for system methods or add them to other methods?\r\n\r\nPros:\r\n  - easier\r\n  - (probaly) no modification of client side is required\r\n\r\nCons:\r\n  - not representative of a class storage\r\n  - may cause problems at a later date"}}