Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Add support of Rider #5

Closed
laurentkempe opened this issue Nov 9, 2022 · 11 comments
Closed

Add support of Rider #5

laurentkempe opened this issue Nov 9, 2022 · 11 comments
Labels
enhancement New feature or request rider

Comments

@laurentkempe
Copy link

I cannot work on my C# projects using GitHub Codespaces as I cannot see Rider listed on JetBrains Gateway
image

@shayneburgess
Copy link
Collaborator

We are actively working on Rider support. Stay tuned

@askpt
Copy link

askpt commented Nov 10, 2022

Cannot wait to start using Rider. As much as I like VSCode, it doesn't have the same level of debugging and tools that Rider has!

@iAmBipinPaul
Copy link

Hi @shayneburgess any ETA?

@thomas-sickert thomas-sickert added the enhancement New feature or request label Nov 15, 2022
@cmuto09
Copy link
Collaborator

cmuto09 commented Nov 15, 2022

Hi @iAmBipinPaul- we do not have an estimate just yet, but when we do I will update the thread. Thanks!

@cmuto09
Copy link
Collaborator

cmuto09 commented Dec 6, 2022

Rider is now available in Preview!

You can follow the instructions here to give it a shot. Props to @AyeshaGagguturi and @thomas-sickert for the work they did on this.

I will leave this issue open as a place to collect feedback. Thank you all!

@mscottford
Copy link

mscottford commented Dec 7, 2022

I'm not sure if I've done anything wrong or not, but I'm still not seeing Rider in the list for "Select IDE".

JetBrains toolbox version: JetBrains Toolbox 1.27.1.13673, macOS 13.0.1
JetBrains Gateway version info:

JetBrains Gateway 2022.3
Build #GW-223.7571.203, built on November 30, 2022
Runtime version: 17.0.5+1-b653.14 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.0.1
GC: G1 Young Generation, G1 Old Generation
Memory: 512M
Cores: 10
Metal Rendering is ON
Non-Bundled Plugins:
    com.github.codespaces.jetbrains.gateway (0.3.0.971)

Contents of JetBrains Gateway.app.vmoptions

-Dide.no.platform.update=true
-Dtoolbox.notification.token=REDACTED
-Dtoolbox.notification.portFile=/Users/mscottford/Library/Application Support/JetBrains/Toolbox/apps/Gateway/ch-0/223.7571.203/JetBrains Gateway.app.vmoptions.port
-Didea.plugins.path=/Users/mscottford/Library/Application Support/JetBrains/Toolbox/apps/JetBrainsGateway/ch-0/222.3739.54/JetBrains Gateway.app.plugins
-Dcodespaces.features.preview.enabled=true

Rider version:

JetBrains Rider 2022.3
Build #RD-223.7571.232, built on December 5, 2022
Licensed to Corgibytes LLC / M. Scott Ford
Subscription is active until December 23, 2022.
Runtime version: 17.0.5+1-b653.14 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 13.0.1
.NET 7.0.0 (Server GC)
GC: G1 Young Generation, G1 Old Generation
Memory: 1504M
Cores: 10
Metal Rendering is ON
Registry:
    ide.experimental.ui=true
    ide.workspace.model.rbs.as.tree=false
    indexing.enable.entity.provider.based.indexing=false
    rdclient.asyncActions=false
    ide.new.project.model.index.case.sensitivity=true
    vcs.empty.toolwindow.show=false
    database.show.search.tab=false
    platform.projectModel.workspace.model.file.index=false

@cmuto09
Copy link
Collaborator

cmuto09 commented Dec 8, 2022

Hmm... those versions look correct. @trent-j @thomas-sickert any ideas as to what might be happening?

@thomas-sickert
Copy link
Collaborator

Just double checking--did you made sure to enable the Rider preview in the Codespaces preferences page on the Gateway?

Other than that, those configurations you have look correct to me.

@mscottford
Copy link

mscottford commented Dec 8, 2022

That magical checkbox! :)

Screenshot in case it helps others. I'm guessing this only shows up after I've set the Java property via the JVM options file.
Screenshot 2022-12-08 at 8 39 34 AM

Although, while it is showing Rider in the list now, it's giving preference to the now expired EAP over the complete 2020.3 release. I can try to uninstall the EAP and see what that does.

Screenshot 2022-12-08 at 8 41 51 AM

Please wait while I try that. ;) I thought of it I was typing this out.

(What follows is a line-by-line log of what I did, and what I encountered along the way. Hopefully, it's helpful and not annoying.)

Strange. I uninstalled the EAP via JetBrains Toolbox, but the EAP version still appears in the list.

It let me connect and then gave me an error about sshd not being installed as a feature. I added it and then tried again.

After connecting, I saw an error message about the "new UI" setting being enabled and that the client and server needed to be restarted, because of that.

Rider launched taking up all of the screen real-estate (not sure if that's a Gateway issue or not). On my ultra-wide screen monitor, that was a bit much.

There is a warning message that "the recommended heap size for a machine this size is 8192 MiB but the current setting is 2048 MiB. Performance may be degraded It is recommended to increase the heap size. (I'm connecting to a 16-core codespace.)

I'm clicking "Update heap size and restart IDE". That gave me an "Unable to update vmoptions file" error message. Again, not sure if this is an issue with the plugin or just a Gateway quirk.

I was able to use the IDE integration to run my test suite. Awesome! Thanks, y'all! I'll keep using this and report any more challenges that I encounter. I'm guessing this is still the best place to do that. If not, please let me know where.

@thomas-sickert
Copy link
Collaborator

Glad you got it working! Thanks for all of this info.

Rider is still in EAP for remote dev. We'll have a release version at some point, but it's out of band of the others at the moment.

The new UI setting setting might have something to do with the EAP tag, but I'm not sure. I've also seen that error message intermittently. I've turned off the new UI for now and I don't see the warning anymore.

I'm curious, does resizing the Rider client after the first launch makes subsequent launches default to that size?

That heap size fix is a bug that we're in the process of fixing now. I'm hoping to get a change out in the immediate future, but if you need to adjust the heap size you can do so from the backend settings panel in the top left (to see it, you may need to enable the navigation bar in the menus--View → Appearance → Navigation Bar) or by going to Help → Edit Custom VM Options... (On Host) and then updating the -Xmx1500m value to be the reflect the memory you'd like.

Thanks again for the feedback!

@cmuto09 cmuto09 added the rider label Feb 15, 2023
@cmuto09
Copy link
Collaborator

cmuto09 commented Feb 24, 2023

Hi all! We are very excited to announce that Rider is now available through the Codespaces plugin in the JetBrains Gateway! Upgrading to the latest plugin version will enable Rider for use.

Check out our change log post for additional information about the release.

Thank you all for the feedback, and excited to hear what you think!

Closing this issue as Rider is now supported 🚀

@cmuto09 cmuto09 closed this as completed Feb 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request rider
Projects
None yet
Development

No branches or pull requests

7 participants