-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Idea 201.6073.9 #501
Support for Idea 201.6073.9 #501
Conversation
@@ -979,4 +980,15 @@ public static void invalidatePluginCaches() { | |||
public static List<String> parseCmdParameters(Optional<String> cmdArgsLine) { | |||
return cmdArgsLine.map(ParametersListUtil::parse).orElse(ContainerUtil.newArrayList()); | |||
} | |||
|
|||
public static void invokeLater(Runnable task) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe let's rename it if it's not always "later"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Renamed to invokeLaterIfNeeded
to maintain compatibility with the underlying idea method
Invoking the task later on EDT prevents the exception from being propagated and therefore one cannot verify it was thrown in a test
src/com/twitter/intellij/pants/components/impl/PantsActionConfigurationCustomizer.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good overall, modulo https://virtuslab.slack.com/archives/GPW0LR35H/p1584407182117200
Not sure if it's relevant here, but got a message from the Scala plugin team that there have been some internal breaking changes
|
I haven't noticed anything unusual when working on this update, so let's hope those don't affect us here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, @marek1840 !
No description provided.