{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/763","repository_url":"https://api.github.com/repos/Microsoft/vscode-python","labels_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/763/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/763/comments","events_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/763/events","html_url":"https://github.com/Microsoft/vscode-python/issues/763","id":296564419,"number":763,"title":"Add an option to exclude certain kinds of `ctags`","user":{"login":"andreyfedoseev","id":201694,"avatar_url":"https://avatars2.githubusercontent.com/u/201694?v=4","gravatar_id":"","url":"https://api.github.com/users/andreyfedoseev","html_url":"https://github.com/andreyfedoseev","followers_url":"https://api.github.com/users/andreyfedoseev/followers","following_url":"https://api.github.com/users/andreyfedoseev/following{/other_user}","gists_url":"https://api.github.com/users/andreyfedoseev/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyfedoseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyfedoseev/subscriptions","organizations_url":"https://api.github.com/users/andreyfedoseev/orgs","repos_url":"https://api.github.com/users/andreyfedoseev/repos","events_url":"https://api.github.com/users/andreyfedoseev/events{/privacy}","received_events_url":"https://api.github.com/users/andreyfedoseev/received_events","type":"User","site_admin":false},"labels":[{"id":717071474,"url":"https://api.github.com/repos/Microsoft/vscode-python/labels/awaiting%202-PR","name":"awaiting 2-PR","color":"fbca04","default":false},{"id":750537413,"url":"https://api.github.com/repos/Microsoft/vscode-python/labels/feature-code%20navigation","name":"feature-code navigation","color":"006b75","default":false},{"id":716013203,"url":"https://api.github.com/repos/Microsoft/vscode-python/labels/good%20first%20issue","name":"good first issue","color":"7057ff","default":true},{"id":716013201,"url":"https://api.github.com/repos/Microsoft/vscode-python/labels/type-enhancement","name":"type-enhancement","color":"d93f0b","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-02-12T23:41:36Z","updated_at":"2018-02-13T03:57:39Z","closed_at":null,"author_association":"NONE","body":"This is a feature request.\r\n\r\nCurrently, `ctags` generates all kinds of tags for Python code: class, function, class member, variable, import, file, etc.\r\n\r\nWhen doing \"Go To Symbol in Workspace\" I'm only interested in definitions, such as class and function definitions and class members.\r\n\r\nAllowing to specify what kinds of tags should be generated by `ctags` would increase the relevancy of the \"Go To Symbol in Workspace\" output, and also reduce the size of `tags` file drasticly.\r\n\r\nThe proposed solution is to add an option allowing to specify the included/excluded kinds of tags. This option will be passed to the `--Python-kinds` argument of the `ctags` executable."},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode-python/issues/comments/365143743","html_url":"https://github.com/Microsoft/vscode-python/issues/763#issuecomment-365143743","issue_url":"https://api.github.com/repos/Microsoft/vscode-python/issues/763","id":365143743,"user":{"login":"andreyfedoseev","id":201694,"avatar_url":"https://avatars2.githubusercontent.com/u/201694?v=4","gravatar_id":"","url":"https://api.github.com/users/andreyfedoseev","html_url":"https://github.com/andreyfedoseev","followers_url":"https://api.github.com/users/andreyfedoseev/followers","following_url":"https://api.github.com/users/andreyfedoseev/following{/other_user}","gists_url":"https://api.github.com/users/andreyfedoseev/gists{/gist_id}","starred_url":"https://api.github.com/users/andreyfedoseev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andreyfedoseev/subscriptions","organizations_url":"https://api.github.com/users/andreyfedoseev/orgs","repos_url":"https://api.github.com/users/andreyfedoseev/repos","events_url":"https://api.github.com/users/andreyfedoseev/events{/privacy}","received_events_url":"https://api.github.com/users/andreyfedoseev/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T03:57:39Z","updated_at":"2018-02-13T03:57:39Z","author_association":"NONE","body":"@DonJayamanne \r\n\r\nI just found that it's possible to specify default `ctags` options using configuration files in  either home directory or project directory.\r\n\r\nI'm using `universal-ctags` already, so I created a file `~/.ctags.d/python.ctags` with the following content:\r\n\r\n```\r\n--Python-kinds=-i-v\r\n```\r\n\r\nThis resolved the issue for me. Given that it's possible configure `ctags` without any need to change the VSCode extension I step back from this and suggest closing the issue.\r\n\r\nAs for #197, it seems that all that needs to be done there is updating the documentation to install `universal-ctags` instead of regular `ctags`."}}
{"actor":{"display_login":"andreyfedoseev"}}