-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[jb] Add support for JetBrains IDEs v2022.3 #13044
Conversation
7a561cf
to
0c59278
Compare
dd0f5fa
to
bc95669
Compare
GlobalScope.launch { | ||
withContext(Dispatchers.IO) { | ||
CommandLineProcessor.doOpenFileOrProject(file, shouldWait).future.get() | ||
} | ||
} |
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.
@@ -120,7 +120,9 @@ class GitpodClientProjectSessionTracker( | |||
|
|||
// Ignore ports that aren't actually used by the user (e.g. ports used internally by JetBrains IDEs) | |||
val backendPort = BuiltInServerManager.getInstance().waitForStart().port | |||
val serverPort = StartupUtil.getServerFuture().await().port |
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.
ℹ️ This change is because com.intellij.idea.StartupUtil
doesn't exist anymore in 2022.3.
val isForwarded = forwardedPortsList.find { it.hostPort == hostPort } != null | ||
|
||
if (isServed && !forwardedPortsList.containsKey(hostPort)) { | ||
if (isServed && !isForwarded) { |
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.
ℹ️ This was changed because forwaredPortsList
became a List instead of a Map in v2022.3.
5414a1b
to
3c4e378
Compare
3c4e378
to
eb11a75
Compare
eb11a75
to
1c546fb
Compare
Closed in favor of #13400, which is based on a previous commit and should have the Preview Environment working properly. |
Description
Now that IDEA/PyCharm/PhpStorm/GoLand latest version is v2022.3 in Gitpod, we can add support for JetBrains IDEs v2022.3.
All code changes were done to accommodate the API differences between v2022.2 and v2022.3. There were no logic/flow changes in the plugin.
How to test
Release Notes
Werft options:
If enabled this will build
install/preview
Valid options are
all
,workspace
,webapp
,ide