Skip to content

Commands for VSCode to make it easier to use in a keyboard-only workflow

License

Notifications You must be signed in to change notification settings

julwrites/VSCodeCmder

Repository files navigation

VSCodeCmder

status: active

VSCodeCmder adds some commands to make VSCode easier to use in a keyboard-only workflow

Features

Navigate:

  • Provides a few basic commands to navigate around file system and select files/directory
  • Allows selecting of bookmarked files/directory
  • Allows selecting of recently used files/directory

Navigate

Jump to Path:

  • Allows user to type a path to open

Jump to Path

Bookmark:

  • Add:
    • Adds a bookmark tagged to a name
  • Remove:
    • Removes a bookmark tagged to a name
  • Clear:
    • Clears all bookmarks

bookmarks

Build C++ Project:

  • Build:
    • Searches the workspace for C++ project files and runs build

cppbuild_command cppbuild_status cppbuild_output

By default, VSCodeCmder searches the system and user Path env, but this can be overwritten in settings

"codecmder.buildTools": {
    "msbuild": "C:\\Program Files (x86)\\Microsoft Visual Studio\\ ... \\MSBuild.exe", 
    "make" : "/bin/make"
    ... 
}

Similarly, ignore patterns can be specified much like in .gitignore

"codecmder.ignore": [
    "CmakeFiles", 
    "*.vcxproj.filters",
    ...
]

Run Command:

  • Run Command:
    • Runs a command from a list of commands, giving options for cwd and parameters

Similar to C++ Build, the output from the command is listed in VSCodeCmder output channel command_output

Commands can be specified in settings

"codecmder.commands": {
    "list": "dir",
    ...
}

Run Command Line:

  • Run CLI:
    • Runs the program found at terminal.external.windowsExec/osxExec/linuxExec depending on platform

The option is given to specify a CWD, but this can be skipped to select the default location that is the workspace

Requirements

Recommended to also install IBM.OutputColorizer

On MacOS, XCode Command Line Tools must be available to build XCode projects

Extension Settings

No extension settings

Known Issues

  • Output channel is not colored. While this can be fixed, it may make more sense to install Output Colorizer

Issues or requests are welcome on Github

Contributing

Contributions are welcome at the GitHub Repository

License

This uses the MIT License

About

Commands for VSCode to make it easier to use in a keyboard-only workflow

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published