jacktasia / dumb-jump

an Emacs "jump to definition" package for 50+ languages
GNU General Public License v3.0
1.57k stars 150 forks source link

no definitions found with .ino files #446

Open ahihi opened 7 months ago

ahihi commented 7 months ago

dumb-jump ede6a04 git 2.42.0 Emacs 29.1 macOS 14.2

like #382, i am having trouble using dumb-jump with Arduino .ino files. i use arduino-mode and have (setq dumb-jump-force-searcher 'rg) as a workaround for #428.

there are two cases that i would like to get working:

  1. from the .ino file, find symbols defined in the same file
  2. from the .ino file, find symbols defined in other C++ files (with standard extensions) in the same project

i tried adding (:language "c++" :ext "ino" :agtype nil :rgtype nil) to my dumb-jump-language-file-exts. this fixes case 2, but case 1 still gives me no definitions found.