Folder tree missing

hi jetbrains support.

i created a project with existing code using intellij idea and using git as a source control for that project. the workspace.xml and some of file always conflict with existing branch on git, so i exclude the workspace.xml and .idea folder to git..so, my question is :

  1. is it ok to exclude workspace.xml and .idea folder from git or there are another solution to avoid a conflicted?
  2. how to remove the idea project file, just delete .idea or there are another way?
  3. when i open it using phpstorm, a just see a file, not a folder tree.. a folder tree is missing (screenshoot below), how to solve that?


folder tree.png

thanks..

7 comments
Comment actions Permalink

1. AFAIK only .idea/workspace.xml contains user-specific settings (maybe tasks.xml as well -- http://devnet.jetbrains.net/message/5280486 ). All other files in .idea folder can be shared via VCS (obviously, if you and somebody else make changes to the project settings then you may have a conflict; but simple open project + edit,upload,debug files + close project will only affect workspace.xml file).

2. .idea subfolder is the place where all project settings are stored. If that folder is deleted then there is no more project there. If you are referring to removing project from File | Reopen, then such entry should dissapear next time you start PhpStorm once the .idea subfolder is gone.

3. Known issue .. with unknown reason. Please check these links:

0
Comment actions Permalink

Hello Fattah,

  1. when i open it using phpstorm, a just see a file, not a folder tree.. a folder tree is missing (screenshoot below), how to solve that?

It is a bug. Could you please provide some steps to reproduce the problem (or attach your '.idea' folder, you can send it to Nikolay.Matveev at jetbrains.com)?

Thank you for feedback!

0
Comment actions Permalink

Thanks for the answer.

it's already solve using instruction from this thread : http://devnet.jetbrains.net/thread/432468?tstart=0. Change the /.idea/modules.xml from

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ProjectModuleManager">
    <modules />
  </component>
</project>


to

<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
  <component name="ProjectModuleManager">
    <modules>
      <module fileurl="file://$PROJECT_DIR$/.idea/myProjectNameGoesHere.iml" filepath="$PROJECT_DIR$/.idea/myProjectNameGoesHere.iml" />
    </modules>
  </component>
</project>


but i notice that .iml file not in .idea folder, it's outside the folder.

thanks.

1
Comment actions Permalink

Hello Fattah,

but i notice that .iml file not in .idea folder, it's outside the folder.

Please provide paths to .idea folder and .iml file

Thank you for feedback!

0
Comment actions Permalink

This happens for me when I delete all the files in my project directory and then re-generate them via a cli tool I made. (With the editor still open).

0
Comment actions Permalink

To reproduce the issue:

I was moving package "e" and it's parents from c.d.e to a.b so that the result is a.b.c.d.e

That took a lot of iteration while I got the proper result.

As a final step - I removed redundant empty c.d.e

 

0
Comment actions Permalink

Hi Viktor, we'd like to look at the logs if you don't mind.
Please click Help | Collect and Show Logs in... and attach the resulting archive to a support ticket:

https://intellij-support.jetbrains.com/hc/en-us

0

Please sign in to leave a comment.