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

Сode completion shows irrelevant results in feature files #86

Closed
tkapustina opened this issue May 4, 2021 · 6 comments
Closed

Сode completion shows irrelevant results in feature files #86

tkapustina opened this issue May 4, 2021 · 6 comments
Assignees

Comments

@tkapustina
Copy link

Scenario1:
Preconditions: an empty feature file

STR:

  1. Start typing Feature in .feature
    Fe

ACTUAL: There is no completion popup at all until Feature keyword is not available
image


Scenario2
Preconditions: Feature keyword provided
Feature:<caret>

STR:

  1. Continue typing the feature name
    T
    Test g

ACTUAL: It shows irrelevant results after pressing space. The bug leads to unnecessary popup blinking during typing.
image
image


Scenario3
STR:

  1. Continue typing the feature name
    c

ACTUAL: A live template is available for completion
image


Scenario4
Preconditions: populated table

    Examples:
      | stars | rating |
      | 1     | Poor   |
      | 2     | Rich   |

STR:

  1. Try to type the next row
    |3<space>

ACTUAL: Completion popup with irrelevant results
image

@Socolin Socolin self-assigned this May 11, 2021
@Socolin
Copy link
Collaborator

Socolin commented May 11, 2021

I've fixed on master Scenario 2,3,4, to fix the first one it would require more work and I don't know if this is that important for now.

@tkapustina
Copy link
Author

tkapustina commented Jun 7, 2021

№1
Completion doesn't work if I start typing at the beginning of the line
![image](https://user-images.githubusercontent.com/48007045/121047583-f3a01380-c7be-11eb-87b7-04446304fa6d.png
image

№2
irrelevant nguid template
image

№3
Scenario1 is still actual but I think it might be left as it is for now.

№4
irrelevant ctx template
image

@Socolin
Copy link
Collaborator

Socolin commented Jun 11, 2021

Hello

About 1, this should fix the problem: #141
About 2, I cannot reproduce, but this seems to come from a plugin or a live template
About 3, it would require a lot of change for a scenario that should not happens when using the menu "Add > Specflow Feature File"
About 4, I can reproduce but I have no control over it (like 2)

Do you have any other plugin or live template ?

@nemesv
Copy link
Contributor

nemesv commented Jun 16, 2021

No 1. is fixed in Fixed in version 1.8.0.

@tkapustina
Copy link
Author

No 1 is verified
No 2, 4 are the defaults in Rider, let's skip for now and see if there will be complaints. Here is a similar issue in F# plugin.
No 3 okay, got it

Btw can you make code completion case insensitive?
Rider has a special setting for this, please, check File | Settings | Editor | General | Code Completion - Match case option.

@nemesv
Copy link
Contributor

nemesv commented Jul 19, 2021

I'm closing this now and created a new issue for the case sensitivity feature.

@nemesv nemesv closed this as completed Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants