PyCharm reindexing when project is stored on a NAS












4















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 ?










share|improve this question



























    4















    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 ?










    share|improve this question

























      4












      4








      4








      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 ?










      share|improve this question














      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 ?







      python pycharm nas






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 21 '18 at 11:58









      XemaXema

      7091818




      7091818
























          2 Answers
          2






          active

          oldest

          votes


















          2














          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.






          share|improve this answer































            1














            I'm using PyCharm both at home and at work with code stored on a Samba share (using its remote interpreter feature). I don't encounter consistent reindexing but by default it does not support file system notifications to know when a file changed.



            However, as a programmer this shouldn't discourage you! You can drop in your own file system notifier that connects to your remote system (assuming your NAS runs Linux and supports SSH) and thus avoid the performance drop.



            I actually wrote such a proxy to run the fsnotifier on a remote system a few years ago and I'm still using it. If you are interested, check out https://github.com/ThiefMaster/fsnotifier-remote



            Some things in the repo are outdated (JetBrains removed this stupid file size check for example), but it should still provide you a good basis to start from if you are interested in using it.






            share|improve this answer


























            • Interesting, I will definitely look into it !

              – Xema
              Nov 23 '18 at 10:04











            Your Answer






            StackExchange.ifUsing("editor", function () {
            StackExchange.using("externalEditor", function () {
            StackExchange.using("snippets", function () {
            StackExchange.snippets.init();
            });
            });
            }, "code-snippets");

            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "1"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53411561%2fpycharm-reindexing-when-project-is-stored-on-a-nas%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            2














            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.






            share|improve this answer




























              2














              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.






              share|improve this answer


























                2












                2








                2







                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.






                share|improve this answer













                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.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Nov 23 '18 at 9:12









                XemaXema

                7091818




                7091818

























                    1














                    I'm using PyCharm both at home and at work with code stored on a Samba share (using its remote interpreter feature). I don't encounter consistent reindexing but by default it does not support file system notifications to know when a file changed.



                    However, as a programmer this shouldn't discourage you! You can drop in your own file system notifier that connects to your remote system (assuming your NAS runs Linux and supports SSH) and thus avoid the performance drop.



                    I actually wrote such a proxy to run the fsnotifier on a remote system a few years ago and I'm still using it. If you are interested, check out https://github.com/ThiefMaster/fsnotifier-remote



                    Some things in the repo are outdated (JetBrains removed this stupid file size check for example), but it should still provide you a good basis to start from if you are interested in using it.






                    share|improve this answer


























                    • Interesting, I will definitely look into it !

                      – Xema
                      Nov 23 '18 at 10:04
















                    1














                    I'm using PyCharm both at home and at work with code stored on a Samba share (using its remote interpreter feature). I don't encounter consistent reindexing but by default it does not support file system notifications to know when a file changed.



                    However, as a programmer this shouldn't discourage you! You can drop in your own file system notifier that connects to your remote system (assuming your NAS runs Linux and supports SSH) and thus avoid the performance drop.



                    I actually wrote such a proxy to run the fsnotifier on a remote system a few years ago and I'm still using it. If you are interested, check out https://github.com/ThiefMaster/fsnotifier-remote



                    Some things in the repo are outdated (JetBrains removed this stupid file size check for example), but it should still provide you a good basis to start from if you are interested in using it.






                    share|improve this answer


























                    • Interesting, I will definitely look into it !

                      – Xema
                      Nov 23 '18 at 10:04














                    1












                    1








                    1







                    I'm using PyCharm both at home and at work with code stored on a Samba share (using its remote interpreter feature). I don't encounter consistent reindexing but by default it does not support file system notifications to know when a file changed.



                    However, as a programmer this shouldn't discourage you! You can drop in your own file system notifier that connects to your remote system (assuming your NAS runs Linux and supports SSH) and thus avoid the performance drop.



                    I actually wrote such a proxy to run the fsnotifier on a remote system a few years ago and I'm still using it. If you are interested, check out https://github.com/ThiefMaster/fsnotifier-remote



                    Some things in the repo are outdated (JetBrains removed this stupid file size check for example), but it should still provide you a good basis to start from if you are interested in using it.






                    share|improve this answer















                    I'm using PyCharm both at home and at work with code stored on a Samba share (using its remote interpreter feature). I don't encounter consistent reindexing but by default it does not support file system notifications to know when a file changed.



                    However, as a programmer this shouldn't discourage you! You can drop in your own file system notifier that connects to your remote system (assuming your NAS runs Linux and supports SSH) and thus avoid the performance drop.



                    I actually wrote such a proxy to run the fsnotifier on a remote system a few years ago and I'm still using it. If you are interested, check out https://github.com/ThiefMaster/fsnotifier-remote



                    Some things in the repo are outdated (JetBrains removed this stupid file size check for example), but it should still provide you a good basis to start from if you are interested in using it.







                    share|improve this answer














                    share|improve this answer



                    share|improve this answer








                    edited Nov 23 '18 at 9:27

























                    answered Nov 23 '18 at 9:18









                    ThiefMasterThiefMaster

                    241k61470561




                    241k61470561













                    • Interesting, I will definitely look into it !

                      – Xema
                      Nov 23 '18 at 10:04



















                    • Interesting, I will definitely look into it !

                      – Xema
                      Nov 23 '18 at 10:04

















                    Interesting, I will definitely look into it !

                    – Xema
                    Nov 23 '18 at 10:04





                    Interesting, I will definitely look into it !

                    – Xema
                    Nov 23 '18 at 10:04


















                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53411561%2fpycharm-reindexing-when-project-is-stored-on-a-nas%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    How to change which sound is reproduced for terminal bell?

                    Can I use Tabulator js library in my java Spring + Thymeleaf project?

                    Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents