Spaces:
Sleeping
Sleeping
File size: 7,198 Bytes
7602670 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 | [
{
"type": "function",
"function": {
"name": "CodeTools.launch_vscode",
"description": "Launches Visual Studio Code with the specified file path or directory",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string",
"description": "The file path or directory to open in VS Code"
}
},
"required": [
"path"
]
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.compare_files",
"description": "Compares two files in VSCode",
"parameters": {
"type": "object",
"properties": {
"file1": {
"type": "string",
"description": "The path to the first file"
},
"file2": {
"type": "string",
"description": "The path to the second file"
}
},
"required": [
"file1",
"file2"
]
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.add_folder",
"description": "Adds a folder to the last active window in VSCode",
"parameters": {
"type": "object",
"properties": {
"folder": {
"type": "string",
"description": "The folder path to add"
}
},
"required": [
"folder"
]
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.goto_file",
"description": "Opens a file at a specific line and character position",
"parameters": {
"type": "object",
"properties": {
"file_path": {
"type": "string",
"description": "The file path to open"
},
"line": {
"type": "integer",
"description": "The line number to navigate to",
"default": 1
},
"character": {
"type": "integer",
"description": "The character position to navigate to",
"default": 1
}
},
"required": [
"file_path"
]
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.remove_folder",
"description": "Removes a folder from the last active window in VSCode",
"parameters": {
"type": "object",
"properties": {
"folder": {
"type": "string",
"description": "The folder path to remove"
}
},
"required": [
"folder"
]
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.install_extension",
"description": "Installs an extension or updates it in VSCode",
"parameters": {
"type": "object",
"properties": {
"extension_id": {
"type": "string",
"description": "The identifier of the extension"
},
"pre_release": {
"type": "boolean",
"description": "Whether to install the pre-release version",
"default": false
}
},
"required": [
"extension_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.uninstall_extension",
"description": "Uninstalls an extension from VSCode",
"parameters": {
"type": "object",
"properties": {
"extension_id": {
"type": "string",
"description": "The identifier of the extension"
}
},
"required": [
"extension_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.list_extensions",
"description": "Lists installed extensions in VSCode",
"parameters": {
"type": "object",
"properties": {
"show_versions": {
"type": "boolean",
"description": "Whether to show extension versions",
"default": false
},
"category": {
"type": "string",
"description": "The category to filter extensions by"
}
}
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.update_extensions",
"description": "Updates all installed extensions in VSCode to the latest version",
"parameters": {
"type": "object",
"properties": {}
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.disable_extension",
"description": "Disables a specific extension for the next instance of VSCode",
"parameters": {
"type": "object",
"properties": {
"extension_id": {
"type": "string",
"description": "The identifier of the extension"
}
},
"required": [
"extension_id"
]
}
}
},
{
"type": "function",
"function": {
"name": "CodeTools.toggle_sync",
"description": "Toggles synchronization on or off in VSCode",
"parameters": {
"type": "object",
"properties": {
"state": {
"type": "string",
"description": "The state to set ('on' or 'off')",
"enum": [
"on",
"off"
]
}
},
"required": [
"state"
]
}
}
}
] |