Ctags: Unknown option --extras
See original GitHub issueEnvironment data
- VS Code version: 1.29.1
- Extension version (available under the Extensions sidebar): 2018.11.0
- OS and version: Fedora 29
- Python version (& distribution if applicable, e.g. Anaconda): 3.7.1 and 2.7.15 (Python version unrelated)
- Type of virtual environment used (N/A | venv | virtualenv | conda | …): any
- Relevant/affected Python packages and their versions: ctags version (obtained through referred site)
→ ctags --version
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Jul 9 2009, 16:56:18
Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex
Actual behavior
ctags: Unknown option: --extras
when trying to view workspace’s symbols.
Expected behavior
List of workspace’s symbols is shown.
Steps to reproduce:
- Download and install latest
ctags
release - 5.8 - for Fedora (.rpm file) from http://ctags.sourceforge.net - In VSCode press
ctrl+t
for workspace’s symbols. - Verify
ctags: Unknown option: --extras
error in Output is shown and no symbols generated.
Logs
Output for Python
in the Output
panel (View
→Output
, change the drop-down the upper-right of the Output
panel to Python
)
ctags: Unknown option: --extras
Output from Console
under the Developer Tools
panel (toggle Developer Tools on under Help
)
[ms-python.python]ctags: Unknown option: --extras
Issue Analytics
- State:
- Created 5 years ago
- Reactions:8
- Comments:8 (1 by maintainers)
Top Results From Across the Web
ctags error: "ctags: Unknown option: -p" - Stack Overflow
In any case, try to run ctags with ctags --options=NONE ; if it fixes the issue, it means that the problem comes from...
Read more >Developers - ctags: Unknown option: --extras, exit code: 1 -
Coming soon: A brand new website interface for an even better experience!
Read more >Universal Ctags 0.3.0 documentation
Specifies whether to include extra tag entries for certain kinds of information for language <LANG>. Universal Ctags introduces language-specific extras. See “ ...
Read more >Universal Ctags Documentation - Read the Docs
This --extras= option is for controlling extras common in all languages (or ... Unknown parser with --languages=+Unknown forces ctags to create the extra....
Read more >Hints for developing a tool using ctags command and tags ...
!_TAG_PROGRAM_NAME Universal Ctags /Derived from Exuberant Ctags/ extras:pseudo If the name of a normal tag in a tag file starts with "!_", a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I experienced the same in my Ubuntu 18.04
I can see in the changelog something related to this was released recently https://github.com/Microsoft/vscode-python/blob/master/CHANGELOG.md#fixes. It points to this PR https://github.com/Microsoft/vscode-python/issues/793
Seems exuberant-ctags in some Linux distributions is pretty old and does not have the
--extra
option (but--extras
). I built and installed manually the master branch from https://github.com/universal-ctags/ in my Ubuntu 18.04 and things work again. http://docs.ctags.io/en/latest/autotools.htmlI’m also having this problem (macOS 10.12.6, brew installed ctags) and this workaround works for me: