Skip to content
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

Can't find component with dash in name #236

Open
goroskob opened this issue Oct 3, 2018 · 1 comment
Open

Can't find component with dash in name #236

goroskob opened this issue Oct 3, 2018 · 1 comment
Labels

Comments

@goroskob
Copy link

goroskob commented Oct 3, 2018

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 -> About output:
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:
image
Found:
image

@makepanic
Copy link
Contributor

I think it caused by the change from #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.

@Turbo87 Turbo87 added the bug label Oct 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants