Closed citizenmatt closed 10 years ago
Should be general handled like in Visual Studio 2013 .... R# completion sucks in that case .
Just to check - do you mean that the current R# completion behaviour sucks, or the behaviour I've described above? Would you change what I'm suggesting? I was aiming for something like the VS experience - less noise, but still dead easy to get what you want.
R# once ;)
is like the Visual Studio Behavior
Nice! I'd see the aria-...
snippet, but none of the rest. VS is looking pretty good :smile:
When typing in my html file, I am constantly frustrated by the partial searches in the intellisense.
For example.
On a element simply add the attribute style=""
just by typing, the second you hit =
you will have a data-ng-style=""
attribute instead.
This I believe happens because the angular intellisense has some extra words in the search or some sort of partial searching turned on.
This for me is a really bad UX.
Is this primarily an ordering issue, do you think? If the complete match ("style") was first in the list, would this make it ok?
Yep, but then it would not be alphabetical like everything else?
I'm not sure on the rules, I'll have to check. Full match should have higher priority, IMO. I'll open a new issue to track.
@citizenmatt thanks!
I'm concerned that the angular attributes dominate the code completion list, and it's exacerbated by repeating
ng-*
withdata-ng-*
and potentiallyx-ng-*
(#14)This is what I'd like to see:
ng-*
,data-ng-*
orx-ng-*
items. Instead, showng-...
,data-ng-...
andx-ng-...
(abbreviated prefixes)ng-...
and it insertsng-
and invokes code completion. Allng-*
attributes are shown (as are alldata-ng-*
andx-ng-*
due to normal ReSharper middle matching rules)control
, it should showng-controller
,data-ng-controller
andx-ng-controller
ng
,data
orx
. It should only match the abbreviated prefixes. If I typengc
ornc
it should match allng-controller
attributes