Coder Social home page Coder Social logo

ctag with space in path about vscode-python HOT 3 CLOSED

MarekLew avatar MarekLew commented on June 14, 2024
ctag with space in path

from vscode-python.

Comments (3)

MarekLew avatar MarekLew commented on June 14, 2024

Relations to #146

from vscode-python.

glutanimate avatar glutanimate commented on June 14, 2024

I can confirm that I'm experiencing the same issue on Ubuntu 14.04 and 17.04 with VS Code 1.18.1 / Python Extension 0.8. Generating the tags using a relative path, as stated in the original report, works for me.

My ctags version info is as follows:

$ ctags --version
Exuberant Ctags 5.9~svn20110310, Copyright (C) 1996-2009 Darren Hiebert
  Compiled: Nov 26 2017, 16:38:57
  Addresses: <[email protected]>, http://ctags.sourceforge.net
  Optional compiled features: +wildcards, +regex, +internal-sort

(I tried recompiling ctags with the --disable-external-sort option, which some users had reported success with in other instances of ctags malfunctioning due to whitespace, but it didn't seem to have any effect in this case)

from vscode-python.

brettcannon avatar brettcannon commented on June 14, 2024

I can verify this is a bug.

Using Build Workspace Symbols:

C:\Users\brettcannon\Downloads\ctags58\ctags58\ctags --options=C:\Users\brettcannon\.vscode-insiders\extensions\vscode-python\resources\ctagOptions --languages=Python --exclude=**/site-packages/** -o "c:\Users\brettcannon\Desktop\some bunk\.vscode\tags" .
ctags: cannot open tag file : Invalid argument

Copying and pasting the exact same command into PowerShell:

PS C:\Users\brettcannon\Desktop\some bunk> C:\Users\brettcannon\Downloads\ctags58\ctags58\ctags --options=C:\Users\brettcannon\.vscode-insiders\extensions\vscode-python\resources\ctagOptions --languages=Python --exclude=**/site-packages/** -o "c:\Users\brettcannon\Desktop\some bunk\.vscode\tags" .
PS C:\Users\brettcannon\Desktop\some bunk>

Maybe it's how we escape characters that we send to the terminal? I know that can be a bit tricky.

from vscode-python.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.