emacsorphanage / helm-gtags

GNU GLOBAL helm interface
203 stars 32 forks source link

support `ggtags-find-tag-continue` like operation #191

Closed yanglimingcn closed 3 years ago

yanglimingcn commented 4 years ago

can helm-gtags support ggtags-find-tag-continue like operation? when i find many tags, then i will edit one of those, then continue find the next one.

jcs090218 commented 4 years ago

Hi, I'm currently the maintainer of this package!

Just to let you know this package is stopped further develop. If you you wish this feature can be implemented to this package, please feel free to open PR to contribute to this package! Thanks! 😄

syohex commented 4 years ago

I don't understand ggtags.el well. Does ggtags-find-tag-continue behave like following snippet ?

(defun helm-gtags-tag-continue ()
  (interactive)
  (unless (get-buffer helm-gtags--buffer)
    (error "Error: helm-gtags buffer is not existed."))
  (let ((next-candidate
         (with-current-buffer (get-buffer helm-gtags--buffer)
           (forward-line 1)
           (when (eobp)
             (error "No more candidate"))
           (buffer-substring-no-properties (point) (line-end-position)))))
    (helm-gtags--action-openfile next-candidate)))
yanglimingcn commented 3 years ago

yes like this

yanglimingcn commented 3 years ago

I found helm-gtags-resume, is the same like continue, thank you.