Skip to content

ctag generate problem #146

@DonJayamanne

Description

@DonJayamanne

From @MarekLew on July 18, 2017 7:55

Environment data

VS Code version: 1.14.1
Python Extension version: 0.6.7
Python Version: 2.7.13
OS and version: Microsoft Windows 10 Home ,10.0.15063 Compile 15063
ctag Version:
Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Jul 9 2009, 17:05:35
Addresses: dhiebert@users.sourceforge.net, http://ctags.sourceforge.net
Optional compiled features: +win32, +regex, +internal-sort

Actual behavior

ctag not generate when optionsFile have space

Expected behavior

generate ctag when path have space

Steps to reproduce:

  • generate ctag Python: Build Workspace symbols
  • return in console
    ctags.exe: cannot open option file ""C:\Users\User with space\.vscode\extensions\donjayamanne.python-0.6.7\resources\ctagOptions"" : Invalid argument

Settings

Your launch.json (if dealing with debugger issues):

Your settings.json:

Logs

Output from Python output panel

 ctags.exe: cannot open option file ""C:\Users\User with space\.vscode\extensions\donjayamanne.python-0.6.7\resources\ctagOptions"" : Invalid argument

Output from Console window (Help->Developer Tools menu)

In this moment I replace

@generator.js line 29
- const optionsFile = this.optionsFile.indexOf(' ') > 0 ? `"${this.optionsFile}"` : this.optionsFile;
+ const optionsFile = this.optionsFile;

and its work fine, ctag generated.

Copied from original issue: DonJayamanne/pythonVSCode#1097

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue identified by VS Code Team member as probable bug

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions