NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Exclude folders from Code Insight includes


Joined: 05 Sep 2015
Posts: 7
Reply with quote
Hi,

Is it possible to exclude folders from Code Insight includes?

I want to be able exclude some folders from Code Insight includes of my project
I don't want to scan all folder and files.

From this page I understood, that there are some script, that do the job. http://www.nusphere.com/php_script/php_code_completion_script.htm
Can I modify the php-code-completion.php script ?

Thanks,
Lev
View user's profileFind all posts by klevSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8334
Reply with quote
I'm not sure what you're trying to accomplish. IF you want to limit classes/functions/constants or avoid duplication, just add corresponding files and/or directories to the list of files/directories to hide in the project properties.

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 05 Sep 2015
Posts: 7
Reply with quote
My php project contain about 20,000 files, number of different frameworks and a lot of libraries, some of them not in use in developing process, but they should stay in a project folder.
When I press "Refresh" button on project properties -> Code Insight -> Includes page, it take a lot time to process all 20,000 files.

Adding them to "Hide directories" solve my issue,
Thanks
View user's profileFind all posts by klevSend private message


Joined: 23 Dec 2007
Posts: 11
Location: Russia, Krasnodar
Reply with quote
+1 for that feature. sometimes project contains runtime directories or simply heavy libraries in /vendor dir and PhpEd becomes slow as hell Sad Editing HTML code can become a real pain there, because it tries to autocomplete all css selectors after class attribute and it takes about 2 seconds. 2 seconds for every tag! Additionally to make things worse autocomplete is working in "blocking mode" when it calculates something, keyboard input is blocked completely.
View user's profileFind all posts by jabberwockSend private message
Hide directories


Joined: 05 Sep 2015
Posts: 7
Reply with quote
The "Hide directories" option it useful for performance, but it had some downgrades:
1. Very difficult to add new directories, specially, when I have a lot of them, not GUI friendly at all.
2. Directories hide from the auto-complete logic and from project tree, it could be nice to separate these lists.
View user's profileFind all posts by klevSend private message
Exclude folders from Code Insight includes
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic