VSIX: Open standard "add reference" dialog - visual-studio-2010

I'd like to open the standard "add reference" dialog from my VS extension with "Browse" tab activated and set to a specific folder. Is this doable?

Related

Single click in "Find Results" to open file in Visual Studio

In the "Find Results", I double click an item to open the file.
How can I open a file in this panel with single click?
The only single click option I found for this opens it in a preview tab. By default, I believe this setting is enabled (perhaps you turned it off at some point or you have the preview tab settings completely turned off?)
Under Tools → Options → Environment → Tabs and Windows there is a "Preview Tab" section. Enable the "Preview selected files in Find Results" option:
This should make it so that when you click once on one of those file paths, it will open in a preview tab. From there, you can look over the file as if its any other tab.

Prevent "Open Project" Dialog from showing

In last versions of Visual Studio IDE, if I open it without specifying a ".sln" or ".vbproj" file as parameter, it immediately opens a "Open Project" dialog. But most of times I do this, that's because I want to start a new project. Can I prevent "Open Project" dialog from showing on VS IDE Startup?
Sounds like you need to change your Visual Studio Startup options. Click Tools->Options. Under Environment, select Startup. Change the At Startup option:

Xcode "link with editor" option?

There is an option in Eclipse, which when activated, updates the selection in the project navigator, according to currently opened / focused file. In Eclipse this is a button in the project navigator called "link with editor".
Is there something similar in Xcode?
In Eclipse:
what does "link with editor " feature do in Eclipse?
Link with editor is useful when you open many files in your project. When you select a file in the editor, the Project Explorer or the Navigator show you the same file in its document tree.
In XCode,
Reveal in Project Navigator Keyboard shortcut is ⇧⌘J
Even right click on the file will give you the option to Reveal.

Visual Studio 2012 "Show All Files" button missing

In my solution I have three projects: Console application, class library, and a website project.
The Show All Files button is visible on the console and class library project, but soon as I click on the website project the button disappears.
I am running Visual Studio 2012.
I just got the same problem "Solution Explorer toolbar missing" eg. "Show all files". Here's what I did:
Right click your "Solution".
Select "New Solution Explorer View". This will pop-up a new "Solution Explorer" window with toolbars in it.
Close you original "Solution Explorer" window.
Click on folder which must contain target file and Solution explorer properties will be changed. There you can find Refresh button and Show all files button.
Check this post:
Improved Solution Explorer in Visual Studio 2012 to Improve Productivity
"Show All Files" is not shown in a Web Site Project because it's not needed and all files are already shown in the Solution Explorer. I think that this behavior is the same for older versions of VS
In Solution Explorer, click on a project, and then the 'Show All Files' button will appear.
If you are in a WebSite project all files are shown by default. If there are some missing (added during debugging etc), just hit the refresh button on the top of the solution explorer and they should appear.
None of the above answers worked for me. If this is the case for you try right-clicking on any file in your project, then choosing "Show all files". The "Show all files" icon should now appear on this and all subsequent Solution Explorer windows.
YMMV, be kind. :-)
The "Show All Files" auto hides.
Click on the folder that has the hidden file, the button should show up.
By clicking on the project (the folder under the solution) the solution explore checks if all sub folders has hidden file, this will prompt the button to be revealed.
If you want to get Show all file menu just hide the solution explorer and open it fom view=>Other Windows=>Solution Explorer and clik it it will show all files menu
if you click on solution name in "solution explorer" maybe you will can't see "Show all files" button. because maybe added F# or website project in solution.
if you want see "Show all files" button, you must click on project name which is C# or native C++ or C++.net.
try to open any file use ctrl+alt+a . once a file will open "show all" button will appear automatically.

Visual Studio 2010 "Open With..." is missing?

I'm trying to change Visual Studio to open my code instead of designer by default. This question tells me to right click on a file and go to "Open With..."
However, when I try to right click on a file in my solution explorer I have no "Open With..." option. I'm not sure if this is caused by an extension (I have the CodeRush Xpress, VSCommands, Productivity Power tools, and VCS tools for SVN, Git, and Hg), or what, but I would like to be able to configure what my files open with.
Where do I need to go to either get the menu option back or change these settings?
The context menu can be modified. If you haven't heavily customized your command bars and menus then a full reset is wise. Tools + Import/Export, "Reset all settings" radio button.
Or fix the context menu. Tools + Customize, Commands tab, click the "Context menu" radio button. Select the "Project and Solution Context Menu | Item" option from the combobox. Click the Add Command button.
This MSDN link might help you:
How to: Change or Add a Default Editor
It's not the most intuitive method, but from the link:
On the File menu in Visual Studio, choose Open and then select File.
In the Open File dialog box, select a file of the type you want to change.
Still in the Open File dialog box, click the down arrow next to the Open button, and then select Open With.
In the Open With dialog box, choose an editor from the Select a program to open list.
Click the Set as Default button and then click the Open button to open the file.

Resources