Search Unity

Rider vs Resharper for Unity?

Discussion in 'General Discussion' started by frosted, Aug 6, 2019.

  1. IvanShakhov

    IvanShakhov

    Joined:
    May 19, 2016
    Posts:
    31
    Sad to hear that. Unity just doesn't provide any API to read Console settings :( I opened request for that.
    What is missing in Rider UnityLogView and exists in ConsolePro? Custom filter presets?
     
  2. IvanShakhov

    IvanShakhov

    Joined:
    May 19, 2016
    Posts:
    31
    Is it on Rider 2019.2.2? Definitely looks like a bug. Please check if you have "Focus application on brakepoint" setting in Rider.
    upload_2019-9-9_14-45-49.png
     
  3. frosted

    frosted

    Joined:
    Jan 17, 2014
    Posts:
    3,580
    There is definitely a bug here - wherein it will not always bring focus. I'm not sure why it fails to flash focus sometimes but it does (even with the focus setting toggled).

    The biggest problem for me is really no "clear on play" - the log may not be autoscrolling while I am focused in editor - so may not even be viewing newest lines. The result is that I am working in unity, hit some log line I want to check out - tab into rider and then need to click on log window and scroll down.

    Lets say there I have collected a few hundred lines of console log while doing a few rounds of playtesting. The last time I hit playmode produced 50 lines in console. I want to only see those 50 lines while reviewing output, otherwise it is hard to see only the last play mode session in isolation.

    Basically, in unity editor I almost never ever click the "clear" log button, but in rider - I have to use it regularly (to the extent I wished for a hotkey).


    ps: I don't wish to complain - you really did an excellent job all around, But for my workflow at least, having console log clear on play is very important (as is autoscroll if rider is not focused while new logging occurs)
     
  4. Metron

    Metron

    Joined:
    Aug 24, 2009
    Posts:
    975
    Flag is set and yet, it doesn't blink...
     
  5. IvanShakhov

    IvanShakhov

    Joined:
    May 19, 2016
    Posts:
    31
    There is an issue to follow https://youtrack.jetbrains.com/issue/IDEA-198293 and you may play with registry keys `suppress.focus.stealing`, `suppress.focus.stealing.linux` mentioned in the request.
     
  6. IvanShakhov

    IvanShakhov

    Joined:
    May 19, 2016
    Posts:
    31
    Clear on Play was fixed only for upcoming 2019.3, which is not yet available. Estimation for first EAPs Early October. Fix itself https://github.com/JetBrains/resharper-unity/pull/1294. Thank you for your use-case description.
     
    frosted likes this.
  7. Baste

    Baste

    Joined:
    Jan 24, 2013
    Posts:
    4,224
    @IvanShakhov, since you're here and I'm not having very much luck posting issues on the github repo:

    The install list in Unity is a good idea, but it's impossible to parse:
    upload_2019-9-13_10-12-13.png

    The live templates has some unfortunate behaviour where they change the wanted method signature:

    bug.gif

    You had working support for asmdef files, but had to drop it as something it used was removed from Rider. It'd be really nice to get support back.


    Otherwise the plugin is pretty great. Rider itself seems to be slowing down over time, which is a bigger problem. If you keep the current trend, you'll probably be as slow as Visual Studio in a year or two. You're kinda following this universal trend in software where what the users really need is the current feature set with more performance and less bugs, but you're instead adding features at a steady pace, all the while degrading performance and adding bugs.