intellij-emberjs
intellij-emberjs copied to clipboard
Can't find component with dash in name
Description
When using Navigate->Class I cannot find component (or anything) with dash in a name, which is by convention every component. If type just parts of the name without dashes, component is found.
Steps to Reproduce
Name component 'my-component'. Use Navigate->Class and search by 'my-component'.
Expected behavior: To find component by it's name
Actual behavior: Component is found only if no dashes typed in.
Reproduces how often: 100%
Versions
- The first two lines of the
Help->Aboutoutput:
WebStorm 2018.2.3
Build #WS-182.4323.44, built on September 3, 2018
- The version of
intellij-emberjs(Settings->Plugins->Ember.js):2018.2.4-0
Screenshots
Not found:
Found:

I think it caused by the change from https://github.com/Turbo87/intellij-emberjs/pull/220
Right now it replaces - with spaces https://github.com/Turbo87/intellij-emberjs/blob/master/src/main/kotlin/com/emberjs/navigation/EmberGotoClassContributor.kt#L22
I'll see if one can maybe provide intellij with various separators instead of doing the work manually.