kaste / PyTest

pytest runner and view annotator for sublime text
21 stars 6 forks source link

Add a command to hide inline errors annotations from views #5

Closed bofm closed 7 years ago

bofm commented 7 years ago

It would be great to have a shortcut to toggle inline annotations in views.

kaste commented 7 years ago

That's a really good idea. We still should flash the status bar green/red, and keep drawing the regions, just remove what sublime calls phantoms, right?

bofm commented 7 years ago

Here is how I think of it. The command should toggle the phantoms display in Sublime views. A subsequent test run should show the phantoms back or keep them hidden depending on some parameter in the config.

kaste commented 7 years ago

That's exactly how we should do this.

kaste commented 7 years ago

Take a look at my PR. Can you test this?

bofm commented 7 years ago

Will test it next week.

bofm commented 7 years ago

Tested the PR on my Mac. It worked well. Thank you.

kaste commented 7 years ago

Merged and released as version 0.7.0