{"action":"opened","issue":{"url":"https://api.github.com/repos/majutsushi/tagbar/issues/249","labels_url":"https://api.github.com/repos/majutsushi/tagbar/issues/249/labels{/name}","comments_url":"https://api.github.com/repos/majutsushi/tagbar/issues/249/comments","events_url":"https://api.github.com/repos/majutsushi/tagbar/issues/249/events","html_url":"https://github.com/majutsushi/tagbar/issues/249","id":57612684,"number":249,"title":"Separation between kinds and scopes","user":{"login":"vhda","id":606876,"avatar_url":"https://avatars.githubusercontent.com/u/606876?v=3","gravatar_id":"","url":"https://api.github.com/users/vhda","html_url":"https://github.com/vhda","followers_url":"https://api.github.com/users/vhda/followers","following_url":"https://api.github.com/users/vhda/following{/other_user}","gists_url":"https://api.github.com/users/vhda/gists{/gist_id}","starred_url":"https://api.github.com/users/vhda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vhda/subscriptions","organizations_url":"https://api.github.com/users/vhda/orgs","repos_url":"https://api.github.com/users/vhda/repos","events_url":"https://api.github.com/users/vhda/events{/privacy}","received_events_url":"https://api.github.com/users/vhda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-13T15:35:11Z","updated_at":"2015-02-13T15:35:11Z","closed_at":null,"body":"If `function` is defined as a scope but there are no variables defined in it, then something like this is shown in tagbar:\r\n\r\n    my_class : class\r\n      [variables]\r\n      var1\r\n      var2\r\n      var3\r\n      func1 : function\r\n      func2 : function\r\n\r\nIn my opinion it is difficult to determine where the variables stop being declared and where functions start. If possible it would be nice to have an option to allow something like:\r\n\r\n    my_class : class\r\n      [variables]\r\n      var1\r\n      var2\r\n      var3\r\n      [functions]\r\n      func1 : function\r\n      func2 : function\r\n\r\nor:\r\n\r\n    my_class : class\r\n      [variables]\r\n        var1\r\n        var2\r\n        var3\r\n      func1 : function\r\n      func2 : function\r\n\r\nor even a combination of both.\r\n\r\nObviously, these are only suggestions. Any other formatting that allows distinguishing between both groups would be welcome."}}