PhpStorm doesn't show version control colors correctly

已回答

I recently updated PhpStorm to version 2022.1 and the GIT version control is not working like it used to.
When I create a new file, it turns blue for a while and then goes to the default color. When I do a git push through PhpStorm's terminal, it keeps the blue color in the files. Before, I controlled unadded files with red color and added ones with green color.
How can I solve?

0

What do you have under Preferences | Version Control | Directory Mappings?
Where is project located (OneDrive directory, network share)?
Do you have some antivirus software or monitoring software installed?

0

I use Ubuntu 18.04.6 LTS.
In Directory Mappings: /op/lampp/htdocs/sioepsul
The project is on my local machine and when I make changes, I upload it to GitLab. I don't use any antivirus.
Version control colors had issue after I upgraded to version 2022.1. However, I tried to roll back the update by installing the latest version 2021 and the problem continued.

0

Do you have any symlinks in your project?

0

I don't have any symlinks.

Main project folder:

drwxrwxrwx  6 root   root      4096 mar 18 16:45 adm/
drwxrwxrwx  7 root   root      4096 mar  5 14:44 assets/
-rwxrwxrwx  1 root   root     42736 mar 22 14:30 cadastro-usuario.php*
-rwxrwxrwx  1 root   root       760 mar 12 19:28 composer.json*
-rwxrwxrwx  1 root   root     33180 mar 12 19:30 composer.lock*
-rwxrwxrwx  1 root   root   2180422 out 25 23:10 composer.phar*
-rwxrwxrwx  1 root   root      4556 mar 12 18:34 error.php*
-rwxrwxrwx  1 root   root       686 out 25 23:10 gerencia-erros.php*
drwxrwxrwx  8 rafael rafael    4096 abr 21 10:39 .git/
-rwxrwxrwx  1 root   root       276 nov 15 22:43 .htaccess*
drwxrwxrwx  4 rafael rafael    4096 abr 22 17:50 .idea/
-rwxrwxrwx  1 root   root     18000 mar 22 14:30 index.php*
drwxrwxrwx  2 root   root      4096 abr 19 11:40 logs/
drwxrwxrwx  3 root   root      4096 abr 20 19:42 observatorio/
drwxrwxrwx  5 root   root      4096 abr 14 10:47 source/
-rwxrwxrwx  1 root   root     30271 mar 14 19:16 termo-de-uso-e-politica-de-privacidade.php*
drwxrwxrwx 13 root   root      4096 mar 12 19:18 vendor/

Project .git folder:

drwxrwxrwx   2 rafael rafael   4096 out 25 23:09 branches/
-rwxrwxrwx   1 rafael rafael    127 abr 20 20:32 COMMIT_EDITMSG*
-rwxrwxrwx   1 rafael rafael    265 out 25 23:10 config*
-rwxrwxrwx   1 rafael rafael     73 out 25 23:09 description*
-rwxrwxrwx   1 rafael rafael     23 out 25 23:10 HEAD*
drwxrwxrwx   2 rafael rafael   4096 out 25 23:09 hooks/
-rw-rw-r--   1 rafael rafael 188689 abr 21 10:39 index
drwxrwxrwx   2 rafael rafael   4096 out 25 23:09 info/
drwxrwxrwx   3 rafael rafael   4096 out 25 23:10 logs/
drwxrwxrwx 260 rafael rafael   4096 jan  5 21:49 objects/
-rwxrwxrwx   1 rafael rafael    114 out 25 23:10 packed-refs*
drwxrwxrwx   5 rafael rafael   4096 out 25 23:10 refs/

 

0

I submitted a support ticket yesterday as you indicated. Today, Phpstorm is working normally, without me having changed any settings or updated. Although I don't know how it was resolved, you can close this topic.

0

请先登录再写评论。