Skip to content

Code generation: skip trailing white spaces suffix

What does this MR do and why?

Addresses use case when code generation is not properly detected if user moves to a new line and inserts white space character

Thanks to report from @rasheed

I just tested it out and I noticed something; when i use #, it only works (code creation) if I (carriage) return to the very next line but if I include an extra line space, it spits out only 4 lines (code suggestion)

image

image

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports