What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hi Community, has anyone ever experienced PHPStorm v2020 not finding method usages even though they
Hi Community, has anyone ever experienced PHPStorm v2020 not finding method usages even though they are being used? On my System e.g. usages of QuoteTransfer::getQuoteRequestVersionReference()
are not being found while usages of e.g. QuoteTransfer::getItems()
can be found.
Comments
-
Have you tried to clear the PHPStorm caches? File => βInvalidate Caches/Restartβ¦β
0 -
Yes i have already tried this. Also disabled all plugins, but didn't change anything...
0 -
Maybe the usages are being found only in the code PHPSTORM deems βproject codeβ? Vendor will be excluded usually, so phpstorm wonβt locate them.
0 -
all of the transfer code lives on project level
0 -
that was my first guess too, @UQKSAARKN, but the above examples are from the same class
0 -
maybe a docker sync problem? is the setup from scratch or did you update anything, @UKHGSB6TW?
0 -
@UJN2JRU4F i tried setting up a complete fresh master-suite ( https://github.com/spryker-shop/suite ) and seem to have the same behavior there too
0 -
But it gets even worse π for getItems i only find usages in test files
0 -
Can anyone confirm not having this behavior?
0 -
wait a second. maybe i got it wrong and @UQKSAARKN was right to begin with π
0 -
this is a behaviour (if the assumption is correct) that varies between phpstorm veresions
0 -
so, newer phpstorm versions, by default, exclude indexing of libraries
0 -
when you go to Settings>Directories you will see all the spryker/foo directories being excluded
0 -
unexcluding them might help initially, but due to docker sync this will be reverted to excludeed again
0 -
there is a more permanent way. gimme a second
0 -
iirc, you have to remove this checkbox
0 -
given this is the cause and you have a fairly recent phpstorm version
0 -
Ahhhhhh nice
0 -
thats it
0 -
thank you very much!!
0 -
glad to help π (i learned that one from @UKBTMFXMJ π)
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 73 Spryker News
- 911 Developer Corner
- 771 Spryker Development
- 87 Spryker Dev Environment
- 361 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random