Bug 451833 - Support to exclude vendor (or other) directory from Class Browser, but still have it parsed for code completion
Summary: Support to exclude vendor (or other) directory from Class Browser, but still ...
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: Language Support: PHP (other bugs)
Version First Reported In: unspecified
Platform: Other All
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-23 19:38 UTC by mail+kde
Modified: 2022-03-23 19:38 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mail+kde 2022-03-23 19:38:26 UTC
SUMMARY
***
It would be great if the Class Browser supported an (Project) Option to exclude code from specific directories.
Those directories should still be parsed for code completion purposes, but ignored otherwise.
(Handled like system include/library directories, if you will).

Typical Usecase would be the vendor directory used in composer projects.
It is usually located within the project folder, but basically consists only of external code which is used within the current project.

It would be great, if code completion, jump to etc would still work on classes and functions defined there but if those would not fill up the class browser of the current project because those classes are not actually "classes in the project" but classes of libraries used by the project.
***


STEPS TO REPRODUCE
1. checkout a or create a composer based project
2. let composer install some external libraries
3. use kdevelop with that project

OBSERVED RESULT
Class Browser lists all classes from vendor/

EXPECTED RESULT
Should only list actual project classes

SOFTWARE/OS VERSIONS: ALL

ADDITIONAL INFORMATION
-