-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEPTRAC_INTERNAL\___PHPSTORM_HELPERS\object #1436
Comments
The reason is an attempt to make Personally, I am not sure how necessary this is today with https://github.com/bamarni/composer-bin-plugin, which solves this issue on Composer level by creating custom namespaces/environments for dev dependencies. But this approach is useful for other installation methods like Phar and Phive. @dbrumann thoughts? |
If you don't want PHPStorm to suggest https://www.jetbrains.com/help/phpstorm/excluding-files-from-project.html Maybe |
@jon-ht , I know this technique and I use use it for Even if I manually exclude the |
@vudaltsov Indeed, I didn't had your issue because I'm working on a mono-repo, so my path to And what about https://www.jetbrains.com/help/phpstorm/excluding-files-from-project.html#exclude-libraries-from-indexing ? Is it what you mention with red color ? |
I have
"qossmic/deptrac": "^2.0.1"
in my dev requirements. Every time I use theobject
type, PhpStorm importsDEPTRAC_INTERNAL\___PHPSTORM_HELPERS\object
first. This is extremely annoying.I understand that autocomplete is a PhpStorm issue. However I want to ask, why are you including PhpStorm stubs into the package instead of requiring
jetbrains/phpstorm-stubs
via composer (PhpStorm automatically removes this package from autocompletion)? And why do you prepend a custom namespace forobject
?The text was updated successfully, but these errors were encountered: