The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

How to use HttpRequestEditorProvider to color highlight and format data like the Pretty tab

cyvk | Last updated: Jul 19, 2023 02:27AM UTC

The content displayed when I write the edit box is too ugly. I want to format it like Pretty, but I can’t find the relevant function in the API. Is there any available solution? Existing library or Demo

Dominyque, PortSwigger Agent | Last updated: Jul 21, 2023 06:56AM UTC

Hi You can use a component such as this to aid in getting this done: https://bobbylight.github.io/RSyntaxTextArea/

cyvk | Last updated: Jul 21, 2023 09:33AM UTC

This doesn't look right because the font and background colors are different from burp. The font and background of MontoyaApi.userInterface().createRawEditor() meet my requirements because it is built from burp, but he can't highlight like Pretty and can't format json. It would be perfect if RawEditor can provide highlight functions and format data

Dominyque, PortSwigger Agent | Last updated: Jul 21, 2023 10:24AM UTC

Hi I will bring this point up to the devs and have a discussion with them about it.

Sascha | Last updated: Jul 03, 2024 02:00PM UTC

Hi, is there any update on this? Would be really nice to have syntax highlighting in extensions too.

Hannah, PortSwigger Agent | Last updated: Jul 04, 2024 01:24PM UTC