How can I remove a project from the sidebar? - qt-creator

New to Qt Creator. I just want to clean up the sidebar so it only shows the current project. How can I remove (not delete) my other projects?

You can right-click on the project folder and select "close project".

Related

Package Manager Console : Remove Some Projects In Default Project Dropdown

Suppose we have a solution included some projects.
As you know when we open PMC, all of projects in solution are listed in "Default project" dropdwon in this window.
Is there a way to remove some projects from this dropdown (without remove in my solution)?

How to add folders structure in VS2015?

In older versions of VS when you dragged a folder from windows file explorer into your VS solution, it would make a reference to that folder including all the sub folders' structure and files.
In VS2015 when I drag a folder into the solution it simpley makes a reference to all the files in that folder and sub folder but ignore the folder structure.
So it dumps all the files reference under one filter.
Is there a way to get the former behavior in VS2015?
The way that I do this is to add the folders to the project structure (i.e. underneath the .sln file) and then enable "Show All Files" (you may need a "Refresh").
Right click the folders you want to add and click "Include In Project".
(I didn't know about the drag and drop!)
The answer is as follows:
the reason you don't see the "include in project" is : either you created the solution externally to visual studio community or the solution got corrupt
to resolve this:
make a backup the solution (just in case)
in solution explorer - right click the project name , and choose "Rebuil solution"
Press the "show all files" (if not pressed already)
go to the folder you want to include, and now you should see the "include in project" option. Choose it
press again the "show all files" button (on top of the "solution explorer") to once again hide irrelevant files/folders from your solution explorer
Working with VS2015 and SSIS Solution:
Miscellaneous Folder - When I created a Sub-Folder in VS2015 and then Added the files contained therein it added them but not with the Name I Had but the name "Miscellaneous". Not how it worked in previous versions!
I was able to Add a Custom-Named Folder to the Solution but not the Project. When adding existing files to the Project it put them under the aforementioned Miscellaneous Folder.

How to unload project in Xamarin?

I can't find any method to unload project in Xamarin!
My solution was very big and some project can't loaded in Xamarin.
So I want to unload it,they are just some Test Project.
The only way I could find to do this is to leave the project in the solution but actually remove it from your build configuration.
Right click on your solution > Preferences > Genereal > Build > Configurations and un-check your project.
This way the project can stay on the solution but the compiler will not try to compile it.
Projects cannot be unloaded from a Xamarin solution.
The way I "unload" projects from Xamarin is to delete the .sln file from disk. This is a poor method but I think it works for your case since this is a test project.
Xamarin Studio 4.2.4 added this functionality.
Release notes:
Added new Project Unload command, which can be used to disable a project in a solution. To unload a project, right-click on the project in the solution pad and click on Unload. An unloaded project will remain disabled until it is explicitly loaded using the Reload command.
Source: http://docs.xamarin.com/releases/studio/xamarin.studio_4.2/xamarin.studio_4.2/
I'm not 100% sure what you mean by "unload," but you can remove a project from a Xamarin Studio project by right mouse clicking on the project in the solution explorer and select "Delete."
You should then be prompted on whether or not you want to "Delete from Disk," "Cancel," or "Remove." If you select "Remove," the project will be removed from your solution, but will still be left on your hard drive.
You can add the project back in at anytime by right mouse clicking on the solution and selecting "Add Project." If you point XS at the .csproj file it'll show back up in your solution.
I have found that going into the terminal and removing the project folder there like so
rm -rf /Projects/project_to_destory/
And then opening xamarin studios, click on the project you just deleted and it will ask if you want to remove the reference to the project and click yes. The project is now removed
In Visual Studio 2017 you can easily right click on the project and select Unload Project and you reload it by the same way.

How To ReInclude Excluded Folder

So I just performed the coup de gras on my project by accidentally clicking on Exclude From Project instead of Add on my controllers folder.
When trying to add a folder named Controllers I get the error "this folder exists". However, If I try to click on the project -> Add Existing... I cannot select a folder, but only the controllers.
Kind of at a loss here, has anyone had experience with this, or does anyone know how to get the folders back into the solution?
Click on the Show All Files icon in the solution explorer and then simply include the folder:
Visual Studio Express 2012
Select Your Project Folder Click On "Show All Files" icon to show all Excluded Folders And Files
Then Right Click on Excluded Folder or File and Click on "Include In Project"
In my ASP.Net Webforms project after excluding the file I could't find it even under 'Show all files', but they were at project folder so I had to right click on project in Visula Studio then add existing item.
For anyone wanting a different solution, you can also browse to your project in a File Explorer and delete the offending folder (Be sure to copy it somewhere safe first!). Restart Visual Studio and proceed to add the folder as you regularly would.

How to add an existing folder to a Visual Studio project?

I have a web application project made in Visual Studio 2008.
Well, I added a jquery folder and added it to source control and other such things. I forgot to add it to the visual studio project though. How do I add the existing folder now? I've tried just creating a new folder and naming it jquery but it gave me a cryptic error "the directory is already on the disk ... if you want to see this directory then check the Show All Files option in the project file" Yet I looked and saw no such option.
Is the only way around this to rename jquery to jquery2 and then create a new folder via visual studio named jquery and copy all my files into it?
With your project open in Visual Studio, click on your project. Then go to the "Project" menu and select "Show All Files". You should now see any directories or file that are in the directory of the project but not included in the project.
Then, right-click on the folder you want to add, and select "Include in Project" from the context menu.

Resources