question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Search results inside packages directories are duplicated for all copies

See original GitHub issue

When opening a file with <kbd>CMD</kbd> + <kbd>p</kbd> it will search all the /packages directories. Which is really noisy.

image

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
DanTupcommented, Dec 8, 2016

I didn’t realise some things still needed them, but I did re-mark this as a bug and think it should be fixed.

Also would be nice to at least not search the current project in the packages/ directories.

Also a good point!

You can mostly fix this yourself for now (excluding packages) by adding search.exclude to your user settings, but I’ll investigate if we can influence the default behaviour.

0reactions
DanTupcommented, Mar 24, 2017

I cannot repro this anymore; I wonder if Code has been updated not to show duplicates when the resolved paths are identical (I can’t find a case about this to confirm unfortunately).

I’m marking this as fixed in Code, but feel free to post back if anyone still sees this (though without --packages-dir it might not be an issue anyway).

Search results

Read more comments on GitHub >

github_iconTop Results From Across the Web

File search results in multiple copies of same files
When I search for a file there are strange things occurings. First, the results display many, too numerous to count duplicate file names....
Read more >
How to Detect Duplicate Content in Your ECM and Why it's ...
There is a logical explanation for the existence of duplicate folder structures. A copy might be created automatically, in the case of a...
Read more >
Find duplicates files and folders in directory and move the ...
I am trying to find duplicate folders and files in a directory and move them to a different folder(called Duplicates)in the same directory...
Read more >
The 5 Best Tools to Find and Remove Duplicate Files in Linux
If your computer is all packed up with duplicate files and folders, check out these five Linux utilities to free up some space....
Read more >
How to find and delete duplicate files on Windows
This message means that the searching of files is done. Open the folder location you have exported or saved. Check for each location...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found