Filter x-ref results with lsp reddit / emacs ---------------------------------------------------------------------- _gjm_ · 2022-10-08 16:14 Hi. I use Doom Emacs with lsp enabled. I develop in PHP using Laravel framework. There's a package called laravel-ide-helper that creates stub classes to help on IDE completion for properties and magic methods. The problem is, when I x-ref-find I get two results, one for the correct method and another for the stub (they are all in a file called _ide_helper.php). Is there a way I can filter out these results? Maybe blacklist the filename somehow? Thanks in advance. Gonçalo ---------------------------------------------------------------------- yyoncho · 2022-10-08 17:21 I rejected this: https://github.com/emacs-lsp/lsp-mode/pull/3733 It has a proposed solution in it. If it doesn't work, ping elken in that same issue. ---------------------------------------------------------------------- _gjm_ · 2022-10-08 17:54 Thanks. The PR solves the exact issue I reported. I'll try to work it out. ---------------------------------------------------------------------- _gjm_ · 2022-10-11 08:16 /u/yyoncho I haven't managed to resolve the issue. Can you give an example of the fix you suggest in the MR adapted to the files we should ignore? Thanks.