JetBrains / RiderSourceCodeAccess

Plugin for UE4 to user Rider for Unreal Engine as code editor
Apache License 2.0
112 stars 21 forks source link

Any plans to fix issues with Linux support? #33

Open wolfsprite opened 3 months ago

wolfsprite commented 3 months ago

Came to this repo because I'm having difficulties getting Rider working with Unreal, and I have noticed that there are a few outstanding issues with the same problem: https://github.com/JetBrains/RiderSourceCodeAccess/issues/17 for example.

Rider is not showing up as an option in the source code dropdown. I have attempted a few things so far to no avail. The plugin in engine is installed, and I have found and added the direct path to Rider in the RiderLocations.txt.

Currently running Unreal 5.4.2 and JetBrains Rider 2023.2.2. What might be the next step to get this working?

image

image

image

image

ameaninglessname commented 1 month ago

Open "source file" in Rider Uproject is working on Linux

You should provide the path to rider.sh in /Engine/Plugins/Developer/RiderSourceCodeAccess/Resources/RiderLocations.txt

For example, when I query the rider install location in terminal, my output:

> which rider      

/usr/bin/rider

but it's not a "rider.sh".

It's a symbolink, following it, I got the correct one: /usr/share/rider/bin/rider.sh.

Start the editor and the Rider UProject should appear.

ameaninglessname commented 1 month ago

I also got error from LLDB

python TypeError: 'type' object is not subscriptable at /usr/share/rider/plugins/rider-cpp/scripts/debugger/lldb/jb_symbols_info.py line 30 debugger: lldb.SBDebugger, modules: list[str],

Did a bit search, and followed this:

Remove the [str] from list[str] eliminates the errors.

But the member variables still can't be pretty printed, states "type is incomplete".

wolfsprite commented 1 month ago

Open "source file" in Rider Uproject is working on Linux

You should provide the path to rider.sh in /Engine/Plugins/Developer/RiderSourceCodeAccess/Resources/RiderLocations.txt

For example, when I query the rider install location in terminal, my output:

> which rider      

/usr/bin/rider

but it's not a "rider.sh".

It's a symbolink, following it, I got the correct one: /usr/share/rider/bin/rider.sh.

Start the editor and the Rider UProject should appear.

Thanks, but, my "one month trial" was over a month ago. I gave up after receiving no help and finding no solution myself, so I moved back to Sublime Text where I'm happier.

ameaninglessname commented 1 month ago

Could you debug with Sublime Text? Such as viewing content of an object.

wolfsprite commented 1 month ago

Could you debug with Sublime Text? Such as viewing content of an object.

I haven't tried; I would probably personally do that from within UE though, as it has debug tools for such things.

nmrugg commented 2 weeks ago

FYI: I was able to get rider integration working by manually adding the full path to rider.sh in RiderLocations.txt.