Removal of "Open Lapce Here" from context menu - performance

First of all, I just wanted to mention that I am using the win10 context menu in win11. How I changed it from win11 context menu to win10 context menu, I don't remember. So, few days back I uninstalled Lapce from my lappy, but whenever I right-click anywhere on the desktop, an option for "Open Lapce Here" is also shown in the context menu. This doesn't happen what I right-click on files/folders.
Does anybody have a solution?
I didn't do anything...

Related

Find all references in VS 2013 Pro not an option anymore

I used to be able to right click and select find all references for a method or something and then that box would open and show me all of the places in my code where it was being used. All of the sudden if I right click I no longer get that option.
This is still in all recent versions of Visual Studio. Cntl+K, R is the keyboard shortcut. If it's not appearing in your context menu, it is something specific to your VS configuration/settings.
You can edit your context menu's by the following:
Goto Tools->Customize
Select the Commands tab
Select the Context menu radio button
Select the appropriate context menu from the dropdown list to the right: (Editor Context Menus | Code Window or Other Context Menus | Code Window)
Add or delete context menu items as desired.
When adding a context menu command, the Find All References command is located under the Edit section.

How to define which shortcut appears on the Start Menu after installing?

I'm working on a Windows Setup Project in Visual Studio. In the "File System" editor, below the "User's Programs Menu" node, I have a folder for my application that contains several shortcuts. One shortcut serves to launch the application; a different one restores the application's factory settings (so it also calls the application, but with an argument).
After running the installer, the folder - and shortcuts it contains - are created correctly in the Start Menu. Additionally, without any action on my behalf, the installer creates an additional shortcut at the "top level" of the Start Menu (i.e. it's visible when one opens the Start Menu by clicking the Start button).
This additional shortcut used to be the one for launching the application. That was fine. But since I added the "Factory reset" shortcut, this is the one that appears at the "top level" of the Start Menu. This is pointless, and will just confuse users. Is there any way to change this?
EDIT (clarification): Since I added the "Factory reset" shortcut, only this shortcut appears at the top level of the Start Menu (which I don't want), and the shortcut to launch the application no longer appears (but I want it to). Note that all shortcuts in the Start Menu's subfolder are correct. What I'm referring to here is the single shortcut that appears automatically at the top level of the Start Menu (immediately visible when the Start button is clicked).
You'll have to explicitly mark your "factory reset" shortcut with the System.AppUserModel.ExcludeFromShowInNewInstall property. Raymond Chen shows how to do this in this blog post.
Note that this question was asked before.

Hide items in the right-click context menus in Visual Studio 2010 (08)?

The right-click context menus of the source editor, the project items and the solution item, is getting ridiculously long, and two of them even have scrolling now on my 1680x1050 screen.
Is there any way for me to hide items on these menus, even if I have to add an event to my Visual Studio macro-system and find and hide them manually?
Here's examples, many of these items I never use:
Edit1: The current answer + comments suggest I should use the Customize menu item in the toolbar context menus, go to the second tab, Commands, and use the Context Menus radio selection and find the relevant menus there.
Here are 3, which are suggested by comments:
As you can see, they're all empty.
Edit2: After clicking the "Reset All" button in that dialog, for the Solution and Project menus, I got items in the dialog, that I could edit, but the changes did not affect the actual context menu on either a project or the solution file. Also, after restarting Visual Studio, the dialog contents for those two were again empty.
In Visual Studio 2010 you can:
Goto Tools->Customize
Select the Commands tab
Select the Context menu radio button
Select the appropriate context menu from the dropdown list to the right, and delete away
I believe Visual Studio 2008 is similar.
You will need to choose the correct context menu in the Customise option.
Go to Tool > Customise,
Then choose the Context menu as you did in your Edit1 screenshots but choose "Editor Context Menus | Code Window" from the dropdown menu instead.
From there you should be able to delete whatever command you don't need from your context menu. Next, for the other commands that can't be found in Editor Context Menus | Code Window (mostly plug-ins or extensions related commands) you will have to go through other categories.
For example, I am using CodeMaid and when I right click a file in Solution Explorer the context menu below are shown
In order to remove the 'Cleanup Selected Code' command I will have to choose the Project and Solution Context Menus | Solution Folder dropdown option.
Added: Here is my sample reduced context menu (removed Copy, Cut, Paste, Outline Menu and Create Snippet...)
Hope this helps =)
Edit: In case you want to add back the commands you removed you can either add them back using New Command... or just press Reset All. Keep in mind the later will restore all the commands. Thus unless you are really having trouble finding the removed command use the first method.
I use 3 VS extensions and these 3 are responsible for polluting the context menu:
VSCommands
Power Commands
Power Toys
Using their own options dialogue, it's possible to subject showing those menus to pressing CTRL (in VS Commands) or completely disable them (the other 2 extensions)

Visual Studio: Context Menu on Solution Explorer too long, can I add a sub menu or a toolbar above solution explorer?

My context menu on my solution explorer is way too long, although I am not complaining, this is due to the fact that I have a lot of extensions installed. Most commands I can find... but there is one pesky command that always is difficult to spot and I use it all the time.
"Set as Startup Project"
Is there a way (or an extension) that allows me to add a sub menu to the context menu for commands I use regularly or an extension for adding a toolbar on the solution window?
It doesn't require an extension, you can alter the menu to your heart's content without coding. Use Tools > Customize > Commands tab. Click the Toolbar radio button and select "Context Menus | Project and Solution Context Menus | Solution". You should see your too-long context menu. Move a favorite command in a better spot with the Move Up button. Use the Add New Menu button to add a sub-menu.

.net .vdproj - application shortcut

I'm creating a .vdproj setup for a simple Windows form. I have added a shortcut to the user's program menu (in a folder), but when I click the shortcut, it just opens the install folder. How do I set it up to run the .exe program?
I just tried putting the .exe name in the "Argument" for the shortcut - no luck yet. I thought it might be more intuitive than that. It also seems like "Target" might be the property to set - but it gives me a pick list - and my .exe is not in the list of things to pick.
Thanks,
Neal Walters
Update 1:
I'm using VS2008 SP1.
I added a folder under "User's Program menu" called "RCT" (that's my application name). I right click on that folder and I see "Add" with an arrow to submenu and "Create shortcut to RCT". The first thing I tried was the "Create shortcut to RCT", which is what lead me to post this question. Once the shortcut is there, it looks like the Properties Windows is the only way to configure it.
I set the "Target", and "Working Folder" (all 3 properties) to "Application Folder".
Now when I click the shortcut, it opens disk directory: C:\Users\uxnxw01\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\RCT
If I right click on "User's Program Menu" I see a link "Add shortcut to user's program menu". I really want a shortcut "in" the user's program menu, not "to" the user's program menu.
The "Add" submenu has four options: Folder, Project Output, File, Assembly.
SOLUTION - based on Heinzi's response:
I think I got it now - you right-click on the white space (under "name ... type..."- not on the folder. Then I see "create new shortcut". What a confusing design on the part of Microsoft! Seems like you would click on the folder and "add new shortcut". Instead they give you "Add shortcut to..." the item you click on.
After clicking on Create New Shortcut, instead of selecting the application folder, double-click on the application folder. Then Primary output from <YourApplication> should be selectable.

Resources