atom-goto-definition icon indicating copy to clipboard operation
atom-goto-definition copied to clipboard

Do not let it search through comments

Open GijsGoudzwaard opened this issue 8 years ago • 4 comments

With some function names the first 50 results are comments.

GijsGoudzwaard avatar Feb 27 '16 10:02 GijsGoudzwaard

Can you give me some example for that ?

faceair avatar Feb 27 '16 12:02 faceair

In the Laravel framework (tested on version 5.2) there is a global function called cookie(). Whenever I try the 'goto definition' on it, it will result in a lot of comments (50 is probably exaggerated)

Edit: This only seems to happen in views, in a controller it works just fine.

GijsGoudzwaard avatar Feb 27 '16 12:02 GijsGoudzwaard

I have try, but didn't find the comment. Can you show me one of them? And what the filetype that the opened file is?

faceair avatar Feb 29 '16 14:02 faceair

I tried this in a .blade.php file and I am getting several comments from all sorts of files (.php, .js).

GijsGoudzwaard avatar Feb 29 '16 17:02 GijsGoudzwaard