Incorrect position of text caret with <Alt>+<Page Down> in the constructor

I hope that I can explain this correctly. Steps to reproduce:

  1. Start decorating a parameter of the constructor with Lazy<
  2. Hit <Alt>+<PgDown> to place the text caret at the error that occurs because the Lazy< is not terminated correctly
  3. The text caret is not positioned after the last character of the type name

Take the following example. I have the parameter DomainForContextTypeMatchesCallingDomainValidator in my constructor. I add Lazy< and as you can see from the screen captuer there is an error at the 'r' of my type name:

When I then hit <Alt>+<PgDown> and start typing '>' to close the generic Lazy<> you can see that the text caret was not positioned correctly:

This is in the latest version of R# 2018.2.3.

0
1 comment
Official comment

Hello Gabriel!

 

Thank you for the feedback.

Here's corresponding issue reported - https://youtrack.jetbrains.com/issue/RSRP-471715.

Please feel free to contact us in case of any questions or problems.

Thank you.

Please sign in to leave a comment.