Comments (5)
ctags version? OS? Emacs version? and counsel-etags version? Are you using git?
Currently I can only guess. This package only read the tags file created by ctags. Looks ctags misspell file path. To double check, could you open the file TAGS
with any text editor and double check?
You can either install latest Exuberant Ctags
from HomeBrew
or use etags.el
bundled with Emacs.
from counsel-etags.
Hello,
sorry for the lack of details, I sould have taken the time to make it right.
So I have those versions
OS : archlinux
Emacs 25.3
counsel-etags 20171111.608
project using git
About ctags, I have those two on my system
± % ctags --version Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Oct 24 2014, 14:15:58
Addresses: [email protected], http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex, +internal-sort
And
% ctags.emacs --version !10010
ctags (GNU Emacs 25.3)
Copyright (C) 2017 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README
I've checked inside the TAGS file, the path is also misspelked.
There is an update of counsel-etags so I will try that first.
EDIT updated to latest counsel-etags, rescanned code and same result.
from counsel-etags.
I tested with your sample directory php files without any problem. Looks it's your ctags setup.
You should use Exuberant Ctags
. What's the output of which ctags
?
Run ctags -e -R
in your project to create TAGS file manually. Open it and check if the path is correct.
If the issue is still not resolved, prepare a minimum project and mail to chenbin DOT sh AT gmail
from counsel-etags.
Thanks,
"which ctags" outputs
/usr/bin/ctags
(it is Exuberant Ctags).
Runned from the command line, the paths are correct.
I guess there's some project setup involved in the issue as I have a similar symfony project with the same vendors, and no problem there.
So when I'll have some spare time, I'll try to prepare a project with the issue.
from counsel-etags.
Sure. Take your time.
When running counsel-etags-update-tags-force
, my program will output the full cli into message buffer.
For example, mine is:
find . \( -iwholename "*/.git/*" -or -iwholename "*/.svn/*" -or -iwholename "*/.cvs/*" -or -iwholename "*/.bzr/*" -or -iwholename "*/.hg/*" -or -iwholename "*/bin/*" -or -iwholename "*/fonts/*" -or -iwholename "*/images/*" -or -iwholename "*/.DS_Store/*" -or -iwholename "*/.npm/*" -or -iwholename "*/.tmp/*" -or -iwholename "*/.sass-cache/*" -or -iwholename "*/.idea\*/*" -or -iwholename "*/node_modules/*" -or -iwholename "*/bower_components/*" -or -iwholename "*/.tox/*" -or -iwholename "*/.cask/*" \) -prune -o -type f -not -size +64k -not -name "\*.json" -not -name "\*.log" -not -name "tags" -not -name "TAGS" -not -name "\*.gz" -not -name "\*.zip" -not -name "\*.tar" -not -name "\*.rar" -not -name "GTAGS" -not -name "GPATH" -not -name "GRTAGS" -not -name "cscope.files" -not -name "\*bundle.js" -not -name "\*min.js" -not -name "\*min.css" -not -name "\*.png" -not -name "\*.jpg" -not -name "\*.jpeg" -not -name "\*.gif" -not -name "\*.bmp" -not -name "\*.tiff" -not -name "\*.ico" -not -name "\*.doc" -not -name "\*.docx" -not -name "\*.xls" -not -name "\*.ppt" -not -name "\*.pdf" -not -name "\*.odt" -not -name "\*.obj" -not -name "\*.o" -not -name "\*.a" -not -name "\*.dylib" -not -name "\*.lib" -not -name "\*.d" -not -name "\*.dll" -not -name "\*.exe" -not -name ".metadata\*" -not -name "\*.class" -not -name "\*.war" -not -name "\*.jar" -not -name "\*flymake" -not -name "\#\*\#" -not -name ".\#\*" -not -name "\*.swp" -not -name "\*\~" -not -name "\*.elc" -not -name "\*.pyc" | ctags -e -L - at /home/cb/projs/ms-frontend-sandbox
The default command use both find
and ctags
. Maybe it's the find
setup.
from counsel-etags.
Related Issues (20)
- counsel-etags-grep cant' follow parameters? HOT 6
- Issue with creating a TAGS file when in Tramp mode HOT 2
- counsel-etags did not auto update TAG file. HOT 11
- need CI and tdd HOT 1
- How to color candidate/selection when 'counsel-etags-grep' like swiper does? HOT 8
- could add function name in when looking up tags
- how to do case insensitive grep? HOT 4
- When calling "counsel-etags-find-tag-at-point", rg report separator is error HOT 6
- Unable to use counsel-etags-grep under the windows version of emacs (spacemacs) HOT 3
- Ctags Will Scan Code When Jump Next Tag HOT 12
- How to go back to previous position after I executed counsel-etags-find-tag-at-point ? HOT 2
- 如何指定tag的输出路径 HOT 4
- about ctags cache HOT 4
- counsel-etags-find-tag-at-point-other-window
- How can I append external tags? HOT 4
- Please don't provide a feature in my-byte-compile HOT 2
- "No tag is found." although TAGS file contains this tag HOT 6
- Counsel-etags-grep can only find results in some files HOT 6
- 当tag搜索不到想要的内容时回退到使用ripgrep HOT 4
- 调用 counsel-etags-grep 时可以忽略tag文件 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from counsel-etags.