Stephen Samuel (Sam)
- Total activity 47
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 5
- Subscriptions 14
-
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. -
Created Trying to create a Kotlin Intention
AnsweredInside my intention I want to create some code that is valid Kotlin but not valid Java. override fun invoke(project: Project, editor: Editor?, element: PsiElement) { val factory = JavaPsiFacade.ge... -
Created Override JUnit Run Provider
I am writing a plugin to run tests for a custom test library. My RunConfigurationProducer correctly creates a RunConfiguration from the context when the user clicks run on an individual test case. ...