microsoft / microsoft/aspire

File Content Viewer for Bind Mounts

Open
#8,146 0 comments 0 reactions 0 assignees View on GitHub
area-dashboard
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

### Is there an existing issue for this?

- [x] I have searched the existing issues

### Is your feature request related to a problem? Please describe the problem.

When adding bind mounts that refers to a file, and not a directory, it can be really useful to see what the file contents that actually got mounted into teh container is - particularly when combined with `IAspireStore` which generates random file names as the contents change, so you can't just keep the file open in another VS Code window.

### Describe the solution you'd like

When viewing a bind mount in the Resource details pane
![Image](https://github.com/user-attachments/assets/8395fa9a-4464-4bef-b988-30e2252ff426)

It would be amazing if a visualiser could show the file contents, rather than the string of the file path - something like:
![Image](https://github.com/user-attachments/assets/9ef7390e-623d-456b-a42f-f23fe82207ad)

### Additional context

It would be awesome if the visualiser allowed editing the file, but I could see that being more trouble than it's worth.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.