Logan May
- Total activity 14
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 2
- Subscriptions 5
-
Edited Which code deletes the editor selection when you type a character?
AnsweredI've implemented a TypedHandlerDelegate in Kotlin like internal class TypedHandler : TypedHandlerDelegate() { override fun beforeCharTyped(c: Char, project: Project, editor: Editor, file: PsiFil... -
Edited Why does the BasePlatformTestCase throw an IllegalStateException: Attempt to modify PSI for non-committed Document! on backspace?
AnsweredI have a unit test set up for my plugin like: class MyTest : BasePlatformTestCase() { // setup stuff here... fun testCharBeforeCaret() { myFixture.configureByFiles("$currentTestNam... -
Edited Why does the BasePlatformTestCase fixture change the formatting of the file under test?
AnsweredStarting from the JetBrains plugin template, I've created a basic plugin that helps modify text written in comments. It works by overriding a `beforeCharTyped` function on a `TypedHandler`. I've cr...