Stephen Samuel (Sam)

- Total activity 47
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 5
- Subscriptions 14
-
Created How to choose when to apply TestGenerator
AnsweredI have a custom TestGenerator that I have registered with language `kotlin`.However it is always applied even for Java classes. I cannot find out how or where to specify whether my custom TestGener... -
Created Hide gutter in diff
AnsweredHi, I'm wanting to hide a line marker / gutter icon when the diff window is open. Is there a way inside LineMarkerProvider to find out if the element passed into getLineMarkerInfo is from a diff wi... -
Created Include jar with plugin
AnsweredWhat is the best way to include a dependency with a plugin? Either 1) Have that dependency be shaded into the plugin jar 2) Have the plugin download the dependency and store it somewhere. -
Created RunLineMarkerContributor loops on package and imports
I must be doing something really wrong, but my RunLineMarkerContributor is only processing the package declaration and the import statements. It gets to PsiElement(class) and the begins again at th... -
Created Module dependencies with gradle implementation
Using this code to bring back module deps: OrderEnumerator.orderEntries(module) Does not include transitive dependencies marked as implementation in the library's gradle build. It makes sense that ... -
Created Refresh action after change
AnsweredI have code which sets the enabled flag of an action like this: templatePresentation.isEnabled = runEnabled But this never seems to redraw the icon (they don't grey out. It works if I hard code it ... -
Created Index access error despite running in smart mode callback
AnsweredI'm running some code inside a smart mode callback. DumbService.getInstance(project).runWhenSmart { ...} Yet I am still getting the following error. Is this because by the time my code runs so... -
Created How to populate "superclass" list in Test Generator
AnsweredIn my plugin I have a `TestGenerator` which works well but I cannot figure out how to set the list of available superclasses. Any ideas ? -
Created Refresh run configurations
AnsweredHi, I am creating a run configuration programmatically via RunManager and then adding this to the list, before executing it. This all works fine, but the drop down list in the toolbar doesn't ref... -
Created Tool window notifications
AnsweredHi, How can I have a custom tool window be notified of changes in the editor / whatever so that it can refresh it's view? I guess there's something I can register a listener with.