This extension allows you to open Total Commander in path of an actively edited file.
Path to Total Commander must be set before the extension can work. Check Settings.
Extension will try to auto-detect the path based on environment variables which Total Commander sets itself. If you open VS Code from Total Commander (which is 90% of cases for me) it will inherit its environment which will allow auto-detection to work.
Extension contributes one command:
Open in Total Commander
: opens Total Commander window/tab in current file's pathNote: If the command cannot infer filepath from current document (untitled unsaved files) it opens the project folder.
This command can be executed directly from Command Pallete or from keyboard shortcut It's also available from few other places shown below:
This extension is meant to be used only on Windows as obviously Total Commander is available there. It won't crash on other systems though, but won't work there as well.
This extension contributes the following settings:
TotalCommander.path
: full path to Total Commander executable (TotalCmd.exe/TotalCmd64.exe)TotalCommander.reuseInstance
: open in existing instance of Total CommanderTotalCommander.showTitlebarIcon
: show button in title bar (default: false)TotalCommander.createNewTab
: open path in new tabTotalCommander.panel
: which panel to open path in (left/right)Enjoy!