Closed scarf005 closed 1 year ago
In case of a class SomeTest
the test shortcut will work only when the text cursor is in the range "before the 'c' of class" and "before the second 's' of class".
IntelliJs RunLineMarkerContributor only allows us to contribute this info for a single PSI element, and the action is attached to that element. There's no such element that encompasses both the keyword and identifier (and supertype), so we have to settle for either having it on class/object
or the name itself.
To reproduce
test shortcut
to run test (in this caseCtrl + Shift + F10
)test shortcut
will not work. pressingtest shortcut
inside test body will not work, either.test shortcut
will work.it's frustrating because of constant cursor moving.