I’ve installed a Rubocop bundle that lints the code and adds flags to the gutter. If you click one of such flags you get a tooltip with a description. Is there a way to trigger this tooltip without using the mouse?
Screenshot: https://cloudup.com/cVwiwQigyTu Bundle: https://github.com/fazibear/Rubocop.tmbundle
Hi Igor,
On 04 Mar 2015, at 9:00 , Igor me@igorkozlov.me wrote:
I’ve installed a Rubocop bundle that lints the code and adds flags to the gutter. If you click one of such flags you get a tooltip with a description. Is there a way to trigger this tooltip without using the mouse?
I don't think there is a way to show gutter tooltips without using the mouse (yet). You might be interested in an alternative RuboCop [1] bundle which displays warnings in a clickable HTML view. It does not populate the gutter though.
[1]: https://github.com/mrdougal/textmate2-rubocop.git
Screenshot: https://cloudup.com/cVwiwQigyTu Bundle: https://github.com/fazibear/Rubocop.tmbundle
Kind regards, René
I don't think there is a way to show gutter tooltips without using the mouse (yet). You might be interested in an alternative RuboCop [1] bundle which displays warnings in a clickable HTML view. It does not populate the gutter though.
I really like the idea of using gutter for this but thanks for suggestion.
On 2015-03-04 09:00, Igor wrote:
I’ve installed a Rubocop bundle that lints the code and adds flags to the gutter. If you click one of such flags you get a tooltip with a description. Is there a way to trigger this tooltip without using the mouse?
Screenshot: https://cloudup.com/cVwiwQigyTu Bundle: https://github.com/fazibear/Rubocop.tmbundle
I have a fork of TextMate [1] that adds support for inline marks. It's similar to who Xcode shows error messages and warnings in the right margin. It also automatically run Rubocop if no changes have been made in 500ms [2].
I plan to contribute back the inline marks when I get time to clean it up and integrate it with the gutter tooltips. The Rubocop thing might end up as a plugin.
[1] https://github.com/jacob-carlborg/textmate/commits/error_messages [2] https://drive.google.com/file/d/0B7UtafxGD9vEV2VRM0pYTlJrM2c/view?usp=sharin...
On Mar 5, 2015, at 10:29 AM, Jacob Carlborg doob@me.com wrote:
On 2015-03-04 09:00, Igor wrote:
I’ve installed a Rubocop bundle that lints the code and adds flags to the gutter. If you click one of such flags you get a tooltip with a description. Is there a way to trigger this tooltip without using the mouse?
Screenshot: https://cloudup.com/cVwiwQigyTu Bundle: https://github.com/fazibear/Rubocop.tmbundle
I have a fork of TextMate [1] that adds support for inline marks. It's similar to who Xcode shows error messages and warnings in the right margin. It also automatically run Rubocop if no changes have been made in 500ms [2].
I plan to contribute back the inline marks when I get time to clean it up and integrate it with the gutter tooltips. The Rubocop thing might end up as a plugin.
[1] https://github.com/jacob-carlborg/textmate/commits/error_messages [2] https://drive.google.com/file/d/0B7UtafxGD9vEV2VRM0pYTlJrM2c/view?usp=sharin...
Wow, it would be nice to have something like this included in TM. I’m not into using forks, so I hope that you’ll have some time to contribute it back.