![]() "description": "M圜ustomButton description", "command": "echo " // This will execute the command `myEcho` and echo the result.Ĭustom buttons configuration allows the user to add sections and buttons to the bazel view container, and linkĪ custom button configuration has the following syntax: "bluebazel.customButtons": [ "command": "echo this is my custom shell command" The configuration has the following syntax: "bluebazel.shellCommands": [ ![]() Shell Commands configuration defines a set of functions, which can be called by wrapping the name of the In vscode (Settings -> Extensions -> Blue bazel) and click on the relevant "Edit in settings.json" so as to get theĭefault values filled in in the settings.json file before modifying them: Shell Commands configuration In order to add new buttons and commands to the bazel view container, please open the bazel extension settings The extension introduces two different types of configuration which allows users to define their own shellĬommands with a set of keywords that make it possible to interact with the other user variables such as It is possible to add buttons with custom commands to the bazel view container. bluebazel.buildCurrentFile - Build current active file.bluebazel.refreshRunTargets - Generate run targets.bluebazel.format - Run the format command (set in settings).bluebazel.editTestArgs - Set test arguments for the currently selected test target.bluebazel.editRunArgs - Set run arguments for the currently selected run target.bluebazel.refreshRunTargets - Run the command to refresh the run targets.bluebazel.pickTestTarget - Pick the test target.bluebazel.pickRunTarget - Pick the run target.bluebazel.pickBuildTarget - Pick the build target.bluebazel.test - Test the selected test target.bluebazel.build - Build the selected build target.Add a key shortcut for a command like this:.Open "Preferences: Open Keyboard Shortcuts (JSON)" via Ctrl + Shift + P.Generate vsix file by running vsce package -out=.įollow the steps below to bind keyboard shortcuts to specific commands that are provided by this extension:. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |