warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.54k stars 378 forks source link

Add highlighting for logfiles #4719

Open MarkusvonStaden opened 7 months ago

MarkusvonStaden commented 7 months ago

Discord username (optional)

No response

Describe the solution you'd like?

My ssh tool, termius, which i hope to replace soon, highlights logs based on log level. (error:red info:blue etc.) I would love to see that here too.

Is your feature request related to a problem? Please describe.

No response

Additional context

No response

How important is this feature to you?

3

Warp Internal (ignore) - linear-label:39cc6478-1249-4ee7-950b-c428edfeecd1

None

dannyneira commented 7 months ago

hey @MarkusvonStaden thanks for submitting. There are a couple of features in Warp which may help for your use case.

  1. You can use Find to highlight text in either blocks or alt-screen apps like vim. https://docs.warp.dev/features/find
  2. On Blocks only, you can also use Block Filtering to filter the output to matching/inverse and even add context around the results. https://docs.warp.dev/features/blocks/block-filtering

Demo of the features below:

https://github.com/warpdotdev/Warp/assets/16809145/33a3ecbe-c0c3-4d73-b008-bff844f9c27f

Hope this helps!

hniehorster commented 3 months ago

I'm down for this as well. Jetbrains just added this to their built in terminal and it is pretty useful.

VIS89 commented 2 months ago

Hello, It would be great if you have such a feature for warp as well, useful when you debug something, check logs etc. https://support.royalapps.com/support/discussions/topics/17000019887 Royal, iTerm2, and MobaXTerm have this feature integrated with pre-defined patterns (except iTerm2, but have the feature Triggers to configure it manually if you like).

Thank you.