Closed heheda123123 closed 11 months ago
还真是counsel代码的问题,windows下面得加上exe后缀才行,
(setq counsel-etags-ctags-program "ctags.exe")
但是出了另外的错
Scan at c:/Users/Administrator/temp/sqlmap/
Tags file is not ready yet.
Failed to create tags file. Error=exited abnormally with code 1
CLI=ctags.exe --exclude="*/.git/*" --exclude=".git/*" --exclude="*/.svn/*" --exclude=".svn/*" --exclude="*/.cvs/*" --exclude=".cvs/*" --exclude="*/.bzr/*" --exclude=".bzr/*" --exclude="*/.hg/*" --exclude=".hg/*" --exclude="*/bin/*" --exclude="bin/*" --exclude="*/dist/*" --exclude="dist/*" --exclude="*/fonts/*" --exclude="fonts/*" --exclude="*/images/*" --exclude="images/*" --exclude="*/.DS_Store/*" --exclude=".DS_Store/*" --exclude="*/.npm/*" --exclude=".npm/*" --exclude="*/.tmp/*" --exclude=".tmp/*" --exclude="*/.sass-cache/*" --exclude=".sass-cache/*" --exclude="*/.idea/*" --exclude=".idea/*" --exclude="*/node_modules/*" --exclude="node_modules/*" --exclude="*/bower_components/*" --exclude="bower_components/*" --exclude="*/.tox/*" --exclude=".tox/*" --exclude="*/.vscode/*" --exclude=".vscode/*" --exclude="*/.cask/*" --exclude=".cask/*" --exclude="*.log" --exclude="rusty-tags.vim" --exclude="rusty-tags.emacs" --exclude="tags" --exclude="TAGS" --exclude="*.tgz" --exclude="*.gz" --exclude="*.xz" --exclude="*.zip" --exclude="*.tar" --exclude="*.rar" --exclude="GTAGS" --exclude="GPATH" --exclude="GRTAGS" --exclude="cscope.files" --exclude="*bundle.js" --exclude="*min.js" --exclude="*min.css" --exclude="*.png" --exclude="*.jpg" --exclude="*.jpeg" --exclude="*.gif" --exclude="*.bmp" --exclude="*.tiff" --exclude="*.ico" --exclude="*.doc" --exclude="*.docx" --exclude="*.xls" --exclude="*.ppt" --exclude="*.pdf" --exclude="*.odt" --exclude=".clang-format" --exclude="*.obj" --exclude="*.so" --exclude="*.o" --exclude="*.a" --exclude="*.ifso" --exclude="*.tbd" --exclude="*.dylib" --exclude="*.lib" --exclude="*.d" --exclude="*.dll" --exclude="*.exe" --exclude=".metadata*" --exclude="*.class" --exclude="*.war" --exclude="*.jar" --exclude="*flymake" --exclude="#*#" --exclude=".#*" --exclude="*.swp" --exclude="*~" --exclude="*.elc" --exclude="*.pyc" -e --exclude="@c:/Users/Administrator/temp/sqlmap/.gitignore" -R
我的需求已解决,定义跳转换用lsp-bridge了。不过windows上ctags无法使用的问题还是存在
cygwin安装的ctags, 在windows7下没有问题. 现在手头没有windows 10,所以没法测.
emacs version
已通过scoop安装ctags
但是按![image](https://github.com/redguardtoo/emacs.d/assets/97490782/0010faa0-8fa1-4e1f-87a0-a44a116ef20b)
C-]
跳转定义,选择当前目录就会提示下面的信息,找不到ctags