{"action":"created","issue":{"url":"https://api.github.com/repos/universal-ctags/ctags/issues/1068","repository_url":"https://api.github.com/repos/universal-ctags/ctags","labels_url":"https://api.github.com/repos/universal-ctags/ctags/issues/1068/labels{/name}","comments_url":"https://api.github.com/repos/universal-ctags/ctags/issues/1068/comments","events_url":"https://api.github.com/repos/universal-ctags/ctags/issues/1068/events","html_url":"https://github.com/universal-ctags/ctags/issues/1068","id":170129316,"number":1068,"title":"no tags for exported variables in JavaScript ES6 code","user":{"login":"hoschi","id":163128,"avatar_url":"https://avatars.githubusercontent.com/u/163128?v=3","gravatar_id":"","url":"https://api.github.com/users/hoschi","html_url":"https://github.com/hoschi","followers_url":"https://api.github.com/users/hoschi/followers","following_url":"https://api.github.com/users/hoschi/following{/other_user}","gists_url":"https://api.github.com/users/hoschi/gists{/gist_id}","starred_url":"https://api.github.com/users/hoschi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hoschi/subscriptions","organizations_url":"https://api.github.com/users/hoschi/orgs","repos_url":"https://api.github.com/users/hoschi/repos","events_url":"https://api.github.com/users/hoschi/events{/privacy}","received_events_url":"https://api.github.com/users/hoschi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2016-08-09T10:07:54Z","updated_at":"2016-12-10T19:57:32Z","closed_at":null,"body":"Example code:\n\n```\nlet localLet = \"\";\nfunction localFunction () {\n\n}\nexport let namedExport = {};\nexport function functionExport () {\n\n}\n\nlet defaultExport = {};\nexport default defaultExport;\n```\n\nGenerated tags file:\n\n```\n!_TAG_FILE_FORMAT       2       /extended format; --format=1 will not append ;\" to lines/\n!_TAG_FILE_SORTED       1       /0=unsorted, 1=sorted, 2=foldcase/\n!_TAG_PROGRAM_AUTHOR    Universal Ctags Team    //\n!_TAG_PROGRAM_NAME      Universal Ctags /Derived from Exuberant Ctags/\n!_TAG_PROGRAM_URL       https://ctags.io/       /official site/\n!_TAG_PROGRAM_VERSION   0.0.0   /e7cdc72/\nlocalFunction   test.js /^function localFunction () {$/;\"       f\nlocalLet        test.js /^let localLet = \"\";$/;\"        v\n```\n\nI expect to get tags also for:\n- namedExport\n- functionExport\n- defaultExport\n"},"comment":{"url":"https://api.github.com/repos/universal-ctags/ctags/issues/comments/266233744","html_url":"https://github.com/universal-ctags/ctags/issues/1068#issuecomment-266233744","issue_url":"https://api.github.com/repos/universal-ctags/ctags/issues/1068","id":266233744,"user":{"login":"Aaronik","id":1324601,"avatar_url":"https://avatars.githubusercontent.com/u/1324601?v=3","gravatar_id":"","url":"https://api.github.com/users/Aaronik","html_url":"https://github.com/Aaronik","followers_url":"https://api.github.com/users/Aaronik/followers","following_url":"https://api.github.com/users/Aaronik/following{/other_user}","gists_url":"https://api.github.com/users/Aaronik/gists{/gist_id}","starred_url":"https://api.github.com/users/Aaronik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aaronik/subscriptions","organizations_url":"https://api.github.com/users/Aaronik/orgs","repos_url":"https://api.github.com/users/Aaronik/repos","events_url":"https://api.github.com/users/Aaronik/events{/privacy}","received_events_url":"https://api.github.com/users/Aaronik/received_events","type":"User","site_admin":false},"created_at":"2016-12-10T19:57:32Z","updated_at":"2016-12-10T19:57:32Z","body":"For anyone in the future coming here looking for es6 support for ctags, which will be happening more and more as es6 becomes more normalized and widely adopted, consider using https://github.com/okcompute/es-ctags ([npm es-ctags](https://www.npmjs.com/package/es-ctags)), which works out of the box for me."}}
{"actor":{"display_login":"Aaronik"}}