Scrolling the development log on text?

I find this a bit odd. The server development log tool window -- shouldn't it always scroll to bottom? Since my Rails development.log is being constantly appended to, it seems bad to have to scroll that window to bottom all the time, when I want to look at the latest error. The worst part is I end up clicking an error that is visible in server development log window thinking that that is the cause my latest failure.

Is it just me?

-Kedar

6 comments

Hello Kedar,

The following scrolling logic is used, if you haven't touched output it is being scrolled automatically, because the caret is the end of output.
Once you click some where inside, scrolling stops, and you should scroll down to the end to resume scrolling. You have dedicated action button for this "Scroll to the end".
More details are available here: http://www.jetbrains.com/ruby/webhelp/run-tool-window.html

Regards,
Oleg

0

Oleg,

Thanks for your response. But I am pretty convinced that this is sometimes annoying UX even if you know it. What I am saying is that since the server development log is analogous to the "tail -f" Unix program (-f is such a great option for tail), that tool window should always have the scroll-bar stuck to bottom when it finds anything in development.log. I might want to a temporary "scroll lock" i.e. when I am analyzing the log while making application fill the log. But in my development experience, this is rare. Usually, I do some operation in the app, get an expected/unexpected result and then analyze the log. As such, I always need the latest log to be available in the visible portion of tool window. For the cases where I am doing operations on the app and simultaneouly want to analyze the previous log, I may have to lock the scrolling. But IMO, this is uncommon practice. Common workflow is to scroll the log when the logs are not being populated.

Regards,
Kedar

0

Hello Kedar,

Feel free to submit a feature request for this behavior at http://youtrack.jetbrains.net/issues/RUBY

Regards,
Oleg

0

Oleg,

You mean if my currently visible tool window is "Server development log" and its scroll bar does not get updated as log gets filled is not a __bug__?

-Kedar

0

Kedar,
I guess this is just default behaviour for many applications that are displaying logs. I checked default Mac OS X log viewer (Console) and Adium IM. They do scroll log only if you are on the end of the document and do not if you are somewhere in the middle. Clicking on the line is a good indicator that you have some interest in that particular line and want to examine it more closely, so it seems natural to stop scrolling.

0

Dennis,

Maybe I am not explaining my frustration that well. And I find it surprising that it's only me. So, I am OK with your assessment that this is not something that many users are running into.

But my frustration is very real.

I get an exception on the browser, I come back to RM. My currently visible tab in the tool-windows is "Server development log", but alas, it hasn't scrolled to the bottom. There is a clickable link to some model.rb but again, this was a previous error, not the current one. I am impatient. I end up clicking the now-stale link (anything clickable will be clicked, you know). I have to manually scroll down all the way and then I get the link to the source that shows the latest error.

Regards,
Kedar

0

Please sign in to leave a comment.