-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for syntax highlighting #6297
Comments
This'll make a nice extension in the future. It's adjacent to search v2, but different enough that it warrants a separate explanation. |
Link: #4000 |
Is there any update about this feature? I still can not find any config that enable custom keywords highlight. |
I can double that. The only reason i still use moba is because of syntax highlight. |
@kolbasky can't agree more. I'll give up moba if this feature was developed. |
Following. Currently using an overpriced paid alternative but would drop it in a heartbeat if this feature were introduced in Windows Terminal. |
@StrangePeanut So, I've kinda got a spec for "regex matching + colorize the matched text" over in #15700. Would something like: "triggers":[
{
"match": "[Ee][Rr][Rr][Oo][Rr]",
"action": "experimental.colorSelection",
"foreground": "#ff0000"
},
] work for your use case? (just trying to figure out how exactly you're using the "overpriced alternative" 😉 ) |
@zadjii-msft Oh wow that's brilliant, thanks! This would fully cover my use case actually. |
This is exactly what I've been hoping to have, an effectively client side grcat, a program that takes stdout, runs it through a regex filter and colourizes output. |
👍 for this feature. There are various tools to do this for individual command output, but nothing I can see that can do it for the entire interactive session without messing up how stdin/out/err and control sequences work. Perhaps use the TextMate language specification for highlighting rules (*.tmLanguage)? This is widely supported in text/code editors, including VS Code, and has a large library of rules already. |
any update? |
Description of the new feature/enhancement
Add support for syntax highlighting specific words like MobaXterm has:
This makes finding errors/issues much easier and it's something that I immediately miss when using terminal :-)
The text was updated successfully, but these errors were encountered: