Enable version control intergration

Hi,
I am new in PhpStorm and I am not sure what is the rigth way to use Git.
So, I have a directory, which is under the Git and has some commits already. In NetBeans it works well as I expect.
But when I open it in PhpStorm and make some changes, I cant find the Git context menu(right click on the file) to make commit or show diffs. Also color of the file in the file list is not changed as uncommited...
Some older projects works me also in PhpStorm but new project doesnt. I found in the main menu VCS->Enable version control integration->Git  item, which enable me to work with Git. After that it works well.

My questions are:
Is it necessary to click that "enable version control integration" to work with VCS?
PhpStorm cant recognize that directory is under the Git?
Can I set that in settings as default?

Thank you.

2 comments
Comment actions Permalink

Hi there,

Is it necessary to click that "enable version control integration" to work with VCS?
PhpStorm cant recognize that directory is under the Git?

https://youtrack.jetbrains.com/issue/IDEA-118475
https://youtrack.jetbrains.com/issue/IDEA-89259

Can I set that in settings as default?

Possibly. Try setting it uo via "File | Default Settings..."

Some general links:

0
Comment actions Permalink

Thanks for the answer.

Today everything works as I expect. I dont understant it.
Hope that it will be ok in future.

Have a nice day.

0

Please sign in to leave a comment.