zed-industries / extensions

Extensions for the Zed editor
874 stars 375 forks source link

Code coverage #517

Open credondocr opened 8 months ago

credondocr commented 8 months ago

Check for existing issues

Describe the feature

As a Golang developer, I want to show the code coverage inline when a function is covered or missing to be tested, the following image is just to add the expected behavior thinking that exists in Visual Studio code and other modern text editors

image

Visual Studio

If applicable, add mockups / screenshots to help present your vision of the feature

image image from https://marketplace.visualstudio.com/items?itemName=markis.code-coverage

image Image from https://marketplace.visualstudio.com/items?itemName=ryanluker.vscode-coverage-gutters

fmartingr commented 1 week ago

Just to add more suggestions, I'd rather go with gutter display rather than line highlight. From VSCode I feel line highlight to be useful for errors/warnings (#4901).

CleanShot 2024-10-12 at 11 59 58@2x