chromium / vs-chromium

A Visual Studio extension containing a collection of tools to help contributing code to the Chromium project.
BSD 3-Clause "New" or "Revised" License
310 stars 88 forks source link

Multiple Source Explorer projects in one Visual studio project #63

Open Scotifer opened 4 years ago

Scotifer commented 4 years ago

I have the following project structure:

d:\projects\GameDev d:\projects\GameRel d:\projects\GameTest

Each has its own .sln and vs-chromium-project.txt. I also had vs-chromium-project.txt in d:\projects. When I started working in \GameTest I forgot to copy d:\projects\vs-chromium-project.txt to \GameTest. I then had 3 Directory/Projects indexed for \GameTest. I moved the .txt file to \GameTest and deleted it from d:\projects. I still have 2 projects in \GameTest. One for \GameDev and one for \GameTest. How do I get rid of \GameDev project being used in \GameTest? I tried hitting delete key in solution explorer but get an error.

Searches and Source Explorer show both projects and it makes it difficult to remember to not get the file from the wrong project. I'm not positive it is vs-chromium because Visual assist also shows me files from both projects.

Any help would be appreciated - best search ever in VS, thanks!

Andy-Davidson commented 4 years ago

I just ran into this issue, although I presume it's actually a feature. It seems to be the case that if you have a file from a second project open in the IDE vs chromium responds by indexing that whole project too. This can be undesirable when working across multiple branches as you mention, especially if you're not expecting it. It would be good to get something in the options to either toggle it or limit it to include only the files open in the ide. Ordering results to prioritise those from the primary project and/or highlighting/colouring other project results would also help.