I accidentally marked a directory for exclusion, and cannot find the way to restore it.

phpStorm >preferences< is the only location to unmark it as exclude. However, I cannot for the life of me find the way to add an _existing_ folder back into the project navigator.

All I get is default-settings under the File menu. I have no project specific settings apparently.


The project itself was imported from an existing eclipse pdt project.

5 comments

BTW I simply wanted to add a directory for various (shell) scripts that would not be the part of any deployment, just handy bits for _development_. It is entirely unclear how to go about this in contrast to Eclipse.

0

Hi there

I cannot for the life of me find the way to add an _existing_ folder back into the project navigator.

Settings | Directories

All I get is default-settings under the File menu. I have no project specific settings apparently.

If you will take a bit closer look, you will notice that all settings are divided into 2 groups: Project (project specific; on the top) and IDE (IDE-wide; on the bottom)

BTW I simply wanted to add a directory for various (shell) scripts that would not be the part of any deployment

That's a separate settings as excluded folders are still eligible for deployment (as per user requests) -- Settings | Deployment | your deployment server | "Excluded Paths" tab

1

Settings where? If I look under File, I have Default Setttings and Import and Export Settings. These are the only entries in the File menu. Your online documentation refers to Settings from under File, not in Preferences. I did fumble upon settings in Prefs and directories.

This is quite backwards, leading to some irritation and a good half hour of time wasted. Default settings under File seems to apply to all projects, while the preferences are handling project specific settings.

In any case, I unexcluded it, but it did not re-appear in the project navigator, and there is no eclipse equivalent of F5 (refresh), or indeed any option to add existing directories to the project-navigator view.

I fixed it by renaming the directory in a shell, then adding the old directory name via 'New", then mv-ed the contents of the renamed that directory into the newly added directory.

-- how does one refresh directories or their contents? I like to move stuff in a regular cli (bash). It will be greatly inconvenient to have to use the work around for above. I'd rather use Eclipse, if this is the case, but now I've already dropped $99 for storm so I can play with frameworks using php 5.4 constructs.

-- edit 2 --

Mostly I am having a hard time with the fact that your tool tips refer to items under File that are not there at all. EG:  phpdoc header added to a new php file * To change this template use File | Settings | File Templates.

File | Settings doesn't exist.

0
Settings where? If I look under File, I have Default Setttings and Import and Export Settings. These are the only entries in the File menu. Your online documentation refers to Settings from under File, not in Preferences. I did fumble upon settings in Prefs and directories.

So .. I guess that you are a Mac user, right? Stating this small detail can be very helpful sometimes (like today -- I would gave you Mac equivalent of it (at least I would do my best, since I'm not a Mac user myself)).

Default settings under File seems to apply to all projects, while the preferences are handling project specific settings.

"Default settings" apply to a future new projects only -- they do not affect already configured projects. Settings ("Prefernces" on Mac) are for current project / IDE-wide settings.

In any case, I unexcluded it, but it did not re-appear in the project navigator, and there is no eclipse equivalent of F5 (refresh), or indeed any option to add existing directories to the project-navigator view.

... how does one refresh directories or their contents? I like to move stuff in a regular cli (bash). It will be greatly inconvenient to have to use the work around for above.

In IDEA based IDEs it's called "File | Synchronize" (3rd button on main toolbar, if you have it enabled, of course).

0

Thanks for replying, btw.

It's a mac (for how long, given Apple's tendency to remove functionality at this rate, I don't know). I am sorry if I have been gruff. Been juggling a bunch of frameworks and downloading a few versions of eclipse in the hope they can handle php 5.4 synatx checking.

Default Settings is fine, but normally I'd expect that sort of thing in Preferences and project level stuff under File.

The basic problem is I am relying on Storm's tool tips and online documentation. These have all pointed me to File | Settings, not Preferences | Project Settings.

Generally I think the layout of menus is consistent across platoforms. At least I'd hope they are.

0

Please sign in to leave a comment.