{"id":2877,"date":"2025-09-02T15:34:33","date_gmt":"2025-09-02T19:34:33","guid":{"rendered":"https:\/\/csimmons.dev\/blog\/?p=2877"},"modified":"2025-09-02T16:06:36","modified_gmt":"2025-09-02T20:06:36","slug":"set-commandbox-to-the-default-terminal-profile-in-vscode-terminal","status":"publish","type":"post","link":"https:\/\/csimmons.dev\/blog\/2025\/09\/set-commandbox-to-the-default-terminal-profile-in-vscode-terminal\/","title":{"rendered":"Set CommandBox to the default terminal profile in VSCode terminal"},"content":{"rendered":"<p>Here is a helpful workspace configuration option(s) that allows you to set the default terminal profile (<strong>terminal.integrated.defaultProfile.YOUR_OS<\/strong>) to CommandBox in VSCode terminal.\u00a0 This allows you to launch CommandBox by default when you open a terminal in the workspace.\u00a0 Further, you can specify the current working directory (<strong>terminal.integrated.cwd<\/strong>) so any new terminal you open in the workspace will start in that directory.<\/p>\n<h2>On OSX<\/h2>\n<pre>\"settings\": {\n  \"terminal.integrated.profiles.osx\": {\n    \"CommandBox\": {\n      \"path\": \"\/Users\/csimmons\/.CommandBox\/bin\/box\"\n    }\n  },\n  \"terminal.integrated.defaultProfile.osx\": \"CommandBox\",\n  \"terminal.integrated.cwd\": \"\/Users\/csimmons\/websites\/demos\"\n}\n<\/pre>\n<h2>On Windows<\/h2>\n<pre>\"settings\": {\n  \"terminal.integrated.profiles.windows\": {\n    \"CommandBox\": {\n      \"path\": \"C:\\\\Users\\\\csimmons\\\\.CommandBox\\\\box.exe\"\n    }\n  },\n  \"terminal.integrated.defaultProfile.windows\": \"CommandBox\",\n  \"terminal.integrated.cwd\": \"C:\\\\Users\\\\csimmons\\\\websites\\\\demos\"\n}<\/pre>\n<h2>Note(s)<\/h2>\n<ul>\n<li>These settings are stored in <strong>YOUR_WORKSPACE.code-workspace<\/strong> so you can set them on a per workspace basis.<\/li>\n<li><strong>YOUR_OS<\/strong> = the OS you are running<\/li>\n<li><strong>YOUR_WORKSPACE<\/strong> = whatever the .workspace file is for your current workspace.<\/li>\n<\/ul>\n<p>This post is a follow up to a topic I originally posted titled <a href=\"https:\/\/csimmons.dev\/blog\/2022\/08\/run-commandbox-directly-inside-vscode-terminal\/\">Run CommandBox directly inside VSCode Terminal<\/a> which explained setting up a custom terminal profile (<strong>terminal.integrated.profiles.YOUR_OS<\/strong>) for CommandBox.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here is a helpful workspace configuration option(s) that allows you to set the default terminal profile (terminal.integrated.defaultProfile.YOUR_OS) to CommandBox in VSCode terminal.\u00a0 This allows you to launch CommandBox by default when you open a terminal in the workspace.\u00a0 Further, you can specify the current working directory (terminal.integrated.cwd) so any new terminal you open in the &#8230; <a title=\"Set CommandBox to the default terminal profile in VSCode terminal\" class=\"read-more\" href=\"https:\/\/csimmons.dev\/blog\/2025\/09\/set-commandbox-to-the-default-terminal-profile-in-vscode-terminal\/\" aria-label=\"Read more about Set CommandBox to the default terminal profile in VSCode terminal\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"_cloudinary_featured_overwrite":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[68],"tags":[48,52,53],"class_list":["post-2877","post","type-post","status-publish","format-standard","hentry","category-developer","tag-coldfusion","tag-commandbox","tag-vscode"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pbVg43-Kp","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/2877","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/comments?post=2877"}],"version-history":[{"count":0,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/posts\/2877\/revisions"}],"wp:attachment":[{"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/media?parent=2877"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/categories?post=2877"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/csimmons.dev\/blog\/wp-json\/wp\/v2\/tags?post=2877"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}