Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Current PathNew to Visual Studio Code? Get it now.
Current Path

Current Path

Ezz

|
3,306 installs
| (3) | Free
View the path of the current file in the status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Current Path

Atom style current file absolute/relative path in your Status Bar.

Status Bar

feature X

feature X

feature X

Commands

  • currentPath.absolutePath - Copy file absolute path
  • currentPath.relativePath - Copy file path relative to the working directory
  • currentPath.togglePathType - Toggle shown path between absolute and relative
  • currentPath.fileName - Copy file name
  • currentPath.toggleFileIcon - Toggle visibility of file icon

Settings

  • currentPath.useAbsolutePath: Toggle shown path between absolute and relative.
  • currentPath.hideFileIcon: Toggle visibility of file icon.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft