PyTest icon indicating copy to clipboard operation
PyTest copied to clipboard

Wrap long lines in the annotations/phantoms

Open chenbotao828 opened this issue 7 years ago • 2 comments

Sometimes, I need to read the full error message. But, in the image below for example, the last line of output pannel, which begin with self, is partly covered because of no line wrap. So , can anyone tell me how to wrap lines in output pannel? Image

chenbotao828 avatar Nov 08 '17 07:11 chenbotao828

These panels here are like HTML overlays (or inlays). Sublime calls them Phantoms. AFAIR there is no built-in method to wrap them. So you had to scroll the whole view. I'm open to a PR of course.

kaste avatar Nov 08 '17 08:11 kaste

Note: Basically, the formatting of these annotations can be found in https://github.com/kaste/PyTest/blob/master/formatters.py

kaste avatar Nov 14 '17 09:11 kaste