Bug 52986

Summary: Auto-Indentation for Beanshell and Others.
Product: JMeter Reporter: immanuel.hayden
Component: MainAssignee: JMeter issues mailing list <issues>
Status: RESOLVED WONTFIX    
Severity: enhancement CC: p.mouawad
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: first try on implementing auto-indentation

Description immanuel.hayden 2012-03-26 15:16:36 UTC
Created attachment 28509 [details]
first try on implementing auto-indentation

Hi!

I think it would be awesome if beanshell and maybe other textarea-inputs too (eg. PostBody HTTP Request sampler for json and xml) in  would have auto-indentation.

I attached a clumsy mockup of the idea which implements this for the BeanShellAssertion component when using curly braces. However, this is stricktly a mockup and not meant for any productive use ;)

br,
Imm
Comment 1 Philippe Mouawad 2012-04-30 22:03:23 UTC
Hello,
Thanks for contribution.
If you want to have this feature included in JMeter you will have to provide a complete and tested implementation.
I on my side don't think it's high priority but will be happy to include it if you provide a complete patch for it.

Feel free to reopen issue with patch.
Thanks.
Regards
Philippe