Skip to content

Instantly share code, notes, and snippets.

@jt-nti
Last active June 13, 2025 12:02
Show Gist options
  • Save jt-nti/cb17372397059fb8ce2e871dbc1ab7f1 to your computer and use it in GitHub Desktop.
Save jt-nti/cb17372397059fb8ce2e871dbc1ab7f1 to your computer and use it in GitHub Desktop.
Zowe configuration profile VS Code snippets
{
"zosmf profile": {
"scope": "json,jsonc",
"prefix": "zosmf",
"body": [
"\"zosmf\": {",
"\t\"type\": \"zosmf\",",
"\t\"properties\": {",
"\t\t\"port\": ${1:443}",
"\t}",
"}$0",
],
"description": "Zowe zosmf profile"
},
"tso profile": {
"scope": "json,jsonc",
"prefix": "tso",
"body": [
"\"tso\": {",
"\t\"type\": \"tso\",",
"\t\"properties\": {",
"\t\t\"account\": \"$1\",",
"\t\t\"codePage\": \"${2:1047}\",",
"\t\t\"logonProcedure\": \"${3:IZUFPROC}\"",
"\t}",
"}$0",
],
"description": "Zowe tso profile"
},
"ssh profile": {
"scope": "json,jsonc",
"prefix": "ssh",
"body": [
"\"ssh\": {",
"\t\"type\": \"ssh\",",
"\t\"properties\": {",
"\t\t\"port\": ${1:22}",
"\t}",
"}$0",
],
"description": "Zowe ssh profile"
},
"rse profile": {
"scope": "json,jsonc",
"prefix": "rse",
"body": [
"\"rse\": {",
"\t\"type\": \"rse\",",
"\t\"properties\": {",
"\t\t\"port\": ${1:6800},",
"\t\t\"basePath\": \"${2:rseapi}\",",
"\t\t\"protocol\": \"${3:https}\"",
"\t}",
"}$0",
],
"description": "Zowe rse profile"
},
"base profile": {
"scope": "json,jsonc",
"prefix": "base",
"body": [
"\"base\": {",
"\t\"type\": \"base\",",
"\t\"properties\": {",
"\t\t\"host\": \"${1:hostname}\",",
"\t\t\"rejectUnauthorized\": ${2:true}",
"\t},",
"\t\"secure\": [",
"\t\t\"user\",",
"\t\t\"password\"",
"\t]",
"}$0"
],
"description": "Zowe base profile"
},
"parent profile": {
"scope": "json,jsonc",
"prefix": "parent",
"body": [
"\"${1:profile_name}\": {",
"\t\"properties\": {",
"\t\t\"host\": \"${2:hostname}\",",
"\t\t\"rejectUnauthorized\": ${3:true}",
"\t},",
"\t\"profiles\": {$0",
"\t},",
"\t\"secure\": [",
"\t\t\"user\",",
"\t\t\"password\"",
"\t]",
"}"
],
"description": "Zowe parent profile"
}
}
@jt-nti
Copy link
Author

jt-nti commented Jun 13, 2025

To use the snippets in a project, put the zowe.config.code-snippets file in a .vscode directory.

For more information, see:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment