Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PyCharm reindexing when project is stored on a NAS

Tags:

I have been working with PyCharm for quite some time now and I recently upgraded my storing system with a NAS.

Everything is working fine except one : PyCharm scans through my files to reindex them very very often. This makes me losing a lot of time waiting for it to end.

When the reindexing occurs:

  • When a script ends
  • When a debugging session ends
  • When PyCharm loses the focus, i.e. I use another application

So it happens basically ALL the time, taking quite a long time (several minutes sometimes).

Misc.:

  • Windows 10
  • PyCharm Community Edition 2018.1
  • Netgear - ReadyNas 422

Do you have any ideas to solve this issues ?

like image 800
Xema Avatar asked Nov 21 '18 11:11

Xema


1 Answers

So I have contacted the IntelliJ support and here is their response:

Working with network drives/folders is not supported officially yet. Using remote development features is recommended (remote interpreter, deployment etc). Here is more detailed answer https://intellij-support.jetbrains.com/hc/en-us/community/posts/207069145/comments/207464249.

What I end up doing, which is really not ideal, is to create a local copy of my projects environment and syncing it with a folder in my NAS. To do so I used the SyncBackPro software.

like image 110
Xema Avatar answered Oct 06 '22 00:10

Xema