PHPStorm 2020.3: Vue mutations no longer resolved in Nuxt.js
PHPStorm 2020.3 is no longer able to resolve mutations in Nuxt.js.
What is going on guys? I feel like you're breaking stuff in the Vue module every time you make a new release. Can you please write some unit tests for the module, because at this point it seems incredibly unstable.
请先登录再写评论。
Well... Nuxt was not supported before 2020.3, so I'm not sure what regression you are talking about.
Please could you share files/code snippets the issue can be repeated with?
I am having the same issue. I just updated to 2020.3 and now I can't click name spaced vuex items. They all worked before the update, but now it's broken. It's a vue.js issue, since nuxt is a vue.js framework.
Example: this.$store.getters['user/settings'] -> Before PHPStorm would allow me to click the settings part of the code and it would take me to that code. Now it says: "Cannot find declaration to go to"
I see this problem on both Linux and Mac OS
please check https://youtrack.jetbrains.com/issue/WEB-48478 - does it look similar?
If not, please share a sample project the issue can be repeated with
That looks like exactly the problem I'm having. I invalidated the cache and restarted, but it still isn't working.
I just downgraded to 2020.2 and everything started working again, so it's not that there wasn't support for this issue in the previous version.
I guess I'll just stick with 2020.2 for now.
The example project from that issue is a great example of what is broken.
https://youtrack.jetbrains.com/issue/WEB-48478 is fixed in the upcoming WebStorm 2020.3.1