Skip to content

ctags command failing on osx because its using ctags distributed with xcode  #294

Description

@breathe

Environment data

VS Code version: 1.18.1
Python Extension version:
Python Version:

bcohen@mac-m6-6014-1 ~/s/m/ai_services> python                                                                                   (dev)
Python 3.6.3 | packaged by conda-forge | (default, Oct  5 2017, 19:18:17)
[GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)] on darwin
Type "help", "copyright", "credits" or "license" for more information.

OS and version:
macOS 10.12.6 (16G1036)

Actual behavior

This appears in Output:Python pane --

----------Generating Tags----------
ctags --options=/Users/bcohen/.vscode/extensions/ms-python.python-0.8.0/resources/ctagOptions --languages=Python --exclude=**/site-packages/** -o /Users/bcohen/software/masslight/ai_services/.vscode/tags .
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ctags: illegal option -- -
usage: ctags [-BFadtuwvx] [-f tagsfile] file ...

Expected behavior

ctags command wouldn't error ...

Steps to reproduce:

  • install latest xcode (and no other ctags)
  • open python file in vscode

On my machine I can resolve this with brew install ctags

Metadata

Metadata

Assignees

No one assigned

    Labels

    info-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions