Is there a way to stop NetBeans scanning projects?

前端 未结 21 1882
孤街浪徒
孤街浪徒 2020-12-07 18:34

I don\'t have much memory on my PC and a pretty weak processor. Although netbeans is by far my favorite IDE it is almost unbearable to use on my present computer because of

21条回答
  •  有刺的猬
    2020-12-07 19:16

    This below solved it for me. One project when opened would cause never ending background scanning... this would also mean the code completion etc could never work. My machine was devoting a huge amount of resources to this.

    Someone here gave me the clue: right click the project, choose properties, then "Ignored Folders".

    Essentially I used this to determine which (specific) folder was the cause of the scanning. I selected the first half, then the second half of the remaining etc a process of elimination... and out of hundreds of folders, I found a (php HMVC view folder that caused it) ... I needed to stop and kill the scanning, then re-start many times...

    Here is the easiest way for various reasons:

    In the "ignore folders" area, select all the folders and add them all (fairly individually) to the ignore list. Then shut down the ide, and restart. When all background scanning is absent (it starts and runs for a few seconds/minutes normally), begin removing one or a few of the folders. After each removal, close the properties window..... the IDE will quickly scan those folders you removed and will IF no issue with those stop scanning. IF you have just removed the culprit folder, then the scanning will never end...

提交回复
热议问题