Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom cmd does not seem to work #94

Closed
crucialfelix opened this issue May 27, 2015 · 6 comments
Closed

Custom cmd does not seem to work #94

crucialfelix opened this issue May 27, 2015 · 6 comments

Comments

@crucialfelix
Copy link

Cmd          ctags
Cmd Args: -e -R --languages=python --exclude="__init__.py" -o TAGS . 

Where are you looking for the tags file ? If I make a custom command then where does it output to ? Or is it supposed to not use -o and should just output ?

Ideally I think it should use normal ctags convention and include my ~/.ctags or let me specify a ctags file.

I've also tried setting the command to make ctags which would do the same thing.

I tried setting extra tags files to TAGS

I get an error like this displayed in an Atom ctags panel:

Error: ENOENT: no such file or directory, open 'TAGS'
please create a new issue:
command: @ctags -e -R --languages=python --exclude="__init__.py" --options=/Users/crucial/.atom/packages/atom-ctags/lib/.ctags --fields=+KSn --excmd=p -R -f - /Users/crucial/Sites/nsbuildout@failed to parseTagLine: @"\f"@
failed to parseTagLine: @"/Users/crucial/Sites/nsbuildout/__init__.py,0"@

And it always says "No symbols found" when I do a project-symbols lookup.

thank you !

@yongkangchen
Copy link
Owner

It can not use -o

@crucialfelix
Copy link
Author

Like this?

Cmd          ctags
Cmd Args: -e -R --languages=python --exclude="__init__.py"

@ypresto
Copy link

ypresto commented Jun 4, 2015

--exclude=foobar is also not working. It does not pass any args to ctags command.

There seems to be a mistake on @cmdArgs and cmdArgs (local variable) is right.
https://github.com/yongkangchen/atom-ctags/blob/master/lib/tag-generator.coffee#L45

@yongkangchen
Copy link
Owner

Release in v4.1.1 Thanks @ypresto again

@crucialfelix
Copy link
Author

thanks. I'll try it again

Does this work at all: to use my ~/.ctags or let me specify a ctags file for a project ?

@yongkangchen
Copy link
Owner

@crucialfelix ~/.ctags is supported before this fixed whether with or without Cmd Args.
Of course this fixed Cmd Args, so you can specify a ctags file for a project

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants