Allow Multiple Folders (like Win7 libraries) for "My Queries"
It would be nice to have the ease-of-access of folders in different locations throughout your computer within the "My Queries" window.
Similar to WIndows 7 Libraries that allow you to add multiple music directories to "My Music" etc. This would be in case you have a folder that you store work queries that you share with others but also a personal folder for your own queries.
I want to use a folder under our project to contain the queries related to that project so they can be source controlled and shared among the members of the team. But I also have other queries that are truly just mine and I don't want them clogging up the common folder. Also, I'm sometimes on multiple projects at a time. Being able to open multiple different folders would address all of these issues.
Gaute Grastveit commented
Thanks for the tip below. mklink /D makes both personal and shared source-controlled queries easily accessible inside LINQPad. @Piers: Search also works.
Piers Williams commented
I really struggle to find queries I need to repurpose for something else, because I have them spread across multiple projects/repos, and not all in My queries.
If My Queries were to include additional folders, then the 'Go to' search function would work for this, which would be a massive help.
Eduard Muradov commented
Can we add ability to create folders in MyQueries window also? So you can group queries.
Alan Hemmings commented
In order for linqpad to be usable as a deployment tool, in addition to command line interface, we'd need to be able to have seperate linqpad settings (and folder locations) for different projects. For example, when I'm working on a client project I currently have to "set folder" so that linqpad scripts that I write get checked into source control, then when I want to work on my own personal projects, I have to "set folder" again, so that I don't accidentally check in my personal linqpad scripts into my clients project when I'm at home. The same goes for my extensions, and plugins, which should be able to be project (or solution) specific. The suggestion to support multiple "folders" would fix this, as I could choose to add a linq script to either my personal project, or to a specific customer project.
Dag Christensen commented
Some queries are local, others are shared with others in the team (stored in TFS). Would be nice if I could simply separate several folders with semicolon.
Very cool. Thanks for the pointer on mklink!
I was able to use mklink in Win7 to do this.
You could create a junction point to link the other folder into your My Queries folder.