-
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
Fix JetBrains Rider integration #20141
Conversation
4572040
to
4e1dc41
Compare
c2b58bf
to
221b1dd
Compare
2769cc5
to
2b1a7c3
Compare
dfc8bb1
to
6e5fe0d
Compare
77daafc
to
6e5fe0d
Compare
@@ -1,7 +1,7 @@ | |||
pluginVersion=0.0.1 | |||
gitpodVersion=dev | |||
# Supported environments: stable, latest (via https://github.com/stevesaliman/gradle-properties-plugin) | |||
environmentName=latest | |||
environmentName=stable-rider |
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 file seems generic.
Should this value be something generic, too...like stable or latest?
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.
In other words, being specific to rider seems odd.
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 file seems generic.
It's not, we don't use file unless we want to write code for backend-plugin, then we need to follow steps wrote in BUILD.yaml to build proper plugin (latest / stable / latest-rider /stable-rider)
README.md is kind of outdated because of the breaking changes of Intellij Platform Plugin 2.0. I don't plan to update them until all stable IDEs are 2024.2
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.
Got it, thank you, @mustard-mh ! 🫶
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.
Btw, environmentName=xxx
will be rewrite when building
} | ||
} | ||
} | ||
|
||
tasks.named<ProcessResources>("processResources") { | ||
duplicatesStrategy = DuplicatesStrategy.WARN |
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.
It seems the default value is INHERIT, and if there's no parent it defaults to INCLUDE (ref).
By setting warn, it means we'll take the most recent file.
Is it okay to take the most recent file? What files are we going to skip/ignore by taking the latest?
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.
You can try to comment these lines, build complains logo.svg duplicated, which with sourceSet
settings, this should no happen. This change is about to fix it
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.
Hi @mustard-mh, I added questions inline, starting testing now.
Description
Latest Rider still not supported, as there's a bug on JetBrains Rider 2024.2 and 2024.2.1 that plugin build will complain
codeWithMe
plugin is not found (its plugin.xml incompatible) [internal chat] [YouTrack]Related Issue(s)
Fixes #20132 , ENT-56
How to test
Rider integration
gp open README.md
(touch one if it doesn't exist) andgp preview --external https://google.com
in RiderGitpod
related actions (double shift)❗ Oldest pinnable Rider is working with current build of backend plugin
2024.1
's backend-plugin 's image (first image inside imageLayers) to use what stable rider using2024.1
2024.1
Integration tests
Should pass to prove it doesn't affect other editors.
❗And do smoke test latest stable GoLand, WebStorm. They should all work well
✅ Shared Test Results
Documentation
Preview status
Gitpod was successfully deployed to your preview environment.
Build Options
Build
Run the build with werft instead of GHA
Run Leeway with
--dont-test
Publish
Installer
Add desired feature flags to the end of the line above, space separated
Preview Environment / Integration Tests
If enabled this will build
install/preview
If enabled this will create the environment on GCE infra
Saves cost. Untick this only if you're really sure you need a non-preemtible machine.
Valid options are
all
,workspace
,webapp
,ide
,jetbrains
,vscode
,ssh
. If enabled,with-preview
andwith-large-vm
will be enabled./hold