I'm trying to use WebStorm for its debugging ability and want to sync the Project Browser Pane with the file I m editing. Both sublime and eclipse offer some way to do this but I can't seem to find the option in ws.
Alt+F1 (Navigate | Select In...) on file in Editor, choose Project View from the list.
Is it what you are looking for?
Related
I'm in the process of refactoring a project. I've got an entire subfolder which is known to be broken. Is there any declarative way to exclude that folder from the compile temporarily while I test the refactoring thus far?
I realize I could delete the folder, but I'd like to do this through configuration if possible.
You could set the Build Action (in the Properties Window) to None for the files you want excluded. You could also right-click on the folder and choose Exclude from Project.
In VS 2010, right-click on the CPP module, choose Properties.
Then click on Configuration Properties -> General, Exclude from Build = Yes.
"Exclude from Project" is no good, it disappears from the other Configurations as well.
Right click all the files, and select Properties. Now set Action to None. Revert to Compile when you fixed the code :)
Use ExcludeFoldersFromDeployment inside <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> tag, example:
<ExcludeFoldersFromDeployment>FolderToExclude</ExcludeFoldersFromDeployment>
For files, use:
<ExcludeFilesFromDeployment>File1.aspx;File2.aspx</ExcludeFilesFromDeployment>
Select the files that you don't want to have compiled on the Solution Explorer.
Right click and choose Options...
Set the "Build Action" on the files to "None".
That should do the trick for you!
On Visual studio 2010 or later, you can achieve the functionality in two ways.
Right click the file, select 'Exclude From Project'
Right click the file, select 'Properties' --> select 'Configuration Properties' --> select 'General' --> choose 'Yes' from drop down menu for option 'Excluded From Build'
You should just be able to right click on the folder name in your solution explorer, and click "exclude from project".
In a website project type, you can set the files/folders attributes to "hidden" in Explorer to achieve the same effect.
If you have a lot of image files in a folder, so many that compilation is a painfully long task; you can rename the folder in IIS, giving the folder a .exclude extension.
e.g. C:\intetpub\wwwroot\yoursite\images change to C:\intetpub\wwwroot\yoursite\images.exclude
Then when you compile your app, the .exclude folder is excluded from compilation.
This is a method I have found for IIS Website Projects.
Set the "Hidden" attribute for the file/folder which you want to exclude from project, and then refresh the project in Solution Explorer. For example:
1. Open Windows Explorer.
2. Go to the physical folder of your website.
3. Right click the file/folder which you want to exclude, and then select "Properties".
4. Check the "Hidden" attribute.
5. Click the "Refresh" button in the Visual Studio Solution Explorer
Benson Yu
Microsoft Online Community Support
Quoted from: https://forums.asp.net/post/1997766.aspx
I'm quite sure that there should be a "Exclude from build" property on the folder, but I don't have my Visual Studio with me at the moment. At the very least there is such a property on files.
In Rider, right click file in Navigation Bar, click Properties, change Build action to None.
In Visual Studio 2010 you need to right click the project in the Solution Explorer and choose Unload Project
Is there a way to launch Webstorm so it opens a selected folder in Windows Explorer?
Instead of:
launching Webstorm (possibly on a different project from its last session);
closing the current project;
browsing for the desired project in the project wizard panel;
finally, opening it.
Something like:
Setup (a one time thing, per projects) a shortcut to Webstorm with an argument pointing to the given project.
Then you could just double-click that shortcut to start it off from that project!
Is there anything like this that exists? Or a way to register any folder with an .idea subfolder to have an "open with... -> Webstorm" right-click option?
Nevermind, figured it out.
The icon shortcut works by simply adding the whole path to your project as an argument to the Shortcut Target, like so:
(obviously, you can copy-paste it instead of typing it all by hand)
If you have multiple shortcuts setup and you open each ones, as far as I can tell... it opens them in separate Webstorm windows, leaving the previous one open. So you can jump between projects a bit more efficiently this way.
I have a problem with Advanced Installer - cannot build a project! I have a message "Resources referred by the project are missing. ControlCenter\ControlCenter\Icons\system.ico but I cannot find where the configuration it. When I make a search for system.ico in the project I really find the configuration of "Icon - SourcePath=\ccl\Icons\system.ico but if I click on "go to definition" it does nothing! How can I find the configuration?
Thanks.
I had the same problem and I found the way to fix it was to edit the setup project in notepad and fix the path issue there. Low-and-behold it worked!.
There a few places a icon can be found, those are:
Product Details page
Media page
Themes page
Updater page
Java Products page
These are the most used pages, there are still other places were icons can be found.
You can also look in Table Editor page, in Binary table to change the source of your icon.
If you still have problems finding it just mail the project file to the support team.
Using Indigo and a managed build C++ project, I right-clicked on a source file and selected Resource Configurations->Exclude From Build..., and the file promptly disappears. Scrolling down shows it at the bottom of the list of source files with a new dimmed icon. Now how do I get it back? The Reset to Default... option is always dimmed out. Right-clicking on the excluded file still only shows the Exclude From Build... option. Is there an Include in Build option somewhere? I realize I can go to .cproject file and manually edit it back in but I figure there must be a way to do it from the IDE.
Yes this is an old question. But people do go looking for answers years later..
There's an easy way, but it's counter intuitive. Right click the excluded item, select "exclude from build", and on the dialog that appears, uncheck the builds for which you'd like the item back. Note the convenient 'Deselect All' button.
In eclipse there's not a similar way to reinclude resource, like:
Resource Configuration -> Reinclude from build
You need to go in Project Proprerties (Alt+Enter) and go:
C/C++ General -> Paths and Symbols
Select tab
Source Location
and expand your project's folder: here you can select filter that you want to remove and click on "Edit Filter" and then "Remove".
While I still don't know how get back a file that's been excluded. I have discovered that it's much better to just add a new folder, and then mark the folder as excluded. Then files can be excluded by dragging them into this folder and included back by dragging them back to the original folder.
I have an existing C++ project which is built with Gnu Make. I want to develop the source under Geany but am unable find a way to import it.
I know this i a rather old question, but it was first hit on my search for the exact question. Since I have figured it out now, I wanted to give an answer for future searchers.
One should create a new project. Select a name for the project, select a location for the project file, e.g. the root of the project directory and the the root of the project directory. That's it.
But - the documents tab is confusing, so I suggest installing a file browser plugin, by selecting Tools -> Plugin Manager and then select the plugin File Browser. This adds a tab that will enable browsing the files in the project.
Hope it helps.
You don't have to import your project.
In geany go to "Project/New" and you'll be able to create a new project. Select a name for your project, select a file to save its settings and select the base directory where your source files are.
Then you'll be able to build to project with "Build/Make". It will run make within the base directory you selected. You can customise the build commands if you go to "Build/Set build commands".