Shared Scopes (really Shared anything)?

What is this feature and how does it work? The Shared function. How do I share a Scope with my team?

11 comments

Shared means that it will be stored in project meta info and thus visible by all team members, and non-shared will be stored in workspace file and is visible for its owner only.

0

"project meta info"

What does that mean? How would they access the "project meta info"? I mean, we all have separate workspaces. I'm confused.

0

Okay, take a few steps back %)

Did you noticed .idea folder in your project folder? That's the project meta data. If you include it in your source control all the team members will be able to share various settings including code style and inspection profile and scopes and some other settings.

The personal, non shared stuff resides inside workspace.xml and it SHOULD NOT be included in SC unless you're single person working on project.

0

Well, by default it's ignored (CVS), but you are saying that I should add the .idea folder to CVS, but ignore the workspace.xml file? Is that the only file we should ignore in that directory? I just want to be certain. We've tried that before with other apps, and had problems out the wazoo.

0

"add the .idea folder to CVS, but ignore the workspace.xml file"
that's exactly what I'm talking about.

Its designed to be used like that %)

0

I'm curious, if this is the designed method to "share" these, why doesn't PHPStorm show the .idea folder in the Project view

or allow for CVS to Add/Commit the files in this folder? To add these to CVS, I'll have to use a different client. I just want to make sure we are on the same page.

0

In case anyone else has this issue.

Because we have a huge project, and some developers only work within a branch and because we check out our branches into different folders to keep them straight, I found that I have to ignore:

workspace.xml
modules.xml
*.iml

As the .iml file name varies and points to different folder names, etc..

0

It's still not going to work correctly. Look at the misc.xml file:

<?xml version="1.0" encoding="UTF-8"?>

<project version="4">

<component name="DependencyValidationManager">

<scope name="CollectionsQueue" pattern="file[Intranet_Local]:library/classes/apps/Collections.php||file[Intranet_Local]:library/classes/DailyReports.php||file[Intranet_Local]:library/classes/RM5_Data_Update.php||file[Intranet_Local]:collections_queue_edit.php||file[Intranet_Local]:collections_queue.php||file[Intranet_Local]:rm5_data_update.php" />

<option name="SKIP_IMPORT_STATEMENTS" value="false" />

</component>

<component name="ProjectResources">

<default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>

</component>

<component name="ProjectRootManager" version="2" />

<component name="SvnBranchConfigurationManager">

<option name="mySupportsUserInfoFilter" value="true" />

</component>

</project>

Intranet_Local is the folder name and that changes (Intranet_TEAM1 for TEAM1 branch, etc.) So, this scope is not transportable. Is there a way to make the scope work on the CURRENT FOLDER?

0

Of course, I post and then figure it out:

file:library/classes/apps/Collections.php||file:library/classes/DailyReports.php||file:library/classes/RM5_Data_Update.php||file:collections_queue_edit.php||file:collections_queue.php||file:rm5_data_update.php

0

Please sign in to leave a comment.