Skip to content

v0.15.0 — files open in code or cursor

Choose a tag to compare

@github-actions github-actions released this 18 Aug 07:23
· 112 commits to main since this release

v0.15.0 — files open in code or cursor

dc-files still browses inside the box. Enter / double-click now opens that guest path in the host IDE, attached to this container.

  • VS Code (code, Insiders, VSCodium, Windsurf): attached-container+ — works for Dev Container and compose-kind
  • Cursor: dev-container+{"hostPath"} — kind=devcontainer only. Compose-kind falls back to a bind-mount host path
  • Hatch: DC_FILES_EDITOR=vim keeps guest vim
  • Force one: DC_FILES_EDITOR=code or DC_FILES_EDITOR=cursor
  • o / a unchanged. Folder attach (a) stays N/A on compose-kind
curl -fsSL https://raw.githubusercontent.com/Brasth/dc-cli/main/install.sh | bash -s -- --with-cli
# or
brew tap Brasth/dc-cli && brew install dc-cli
# already tapped
brew update && brew upgrade dc-cli

Then:

dc-up
dc-files                 # Enter on a file
DC_FILES_EDITOR=cursor dc-files
DC_FILES_EDITOR=vim dc-files

Site: https://dc.brasth.com · TUI guide: https://dc.brasth.com/guide/tui/

Full Changelog: v0.14.1...v0.15.0