refine vsc example instruction

This commit is contained in:
Siheng Zhao
2024-01-23 14:45:22 +08:00
parent 6bdc0fb3e2
commit 8942ef410d
13 changed files with 11 additions and 73 deletions

View File

@@ -1,7 +1,7 @@
{
"id": "0ed39f63-6049-43d4-ba4d-5fa2fe04a951",
"snapshot": "vscode",
"instruction": "Please change all the places that say \"text\" to \"test\" in this document for me.",
"instruction": "Please help me change all the places in this document that say \"text\" to \"test\".",
"source": "https://www.quora.com/How-do-you-find-and-replace-text-in-Visual-Studio-Code",
"config": [
{

View File

@@ -1,7 +1,7 @@
{
"id": "276cc624-87ea-4f08-ab93-f770e3790175",
"snapshot": "vscode",
"instruction": "Could you help me set the line length to 50 characters for current user in VS Code?",
"instruction": "Please help me set the current user's line length to 50 characters in VS Code.",
"source": "https://www.quora.com/unanswered/How-do-you-set-the-line-length-in-Visual-Studio-Code",
"config": [
{

View File

@@ -1,7 +1,7 @@
{
"id": "4e60007a-f5be-4bfc-9723-c39affa0a6d3",
"snapshot": "vscode",
"instruction": "Install autoDocstring extension.",
"instruction": "Please help me install the autoDocstring extension in VS Code.",
"source": "https://campbell-muscle-lab.github.io/howtos_Python/pages/documentation/best_practices/vscode_docstring_extension/vscode_docstring_extension.html#:~:text=Type%2C%20Ctrl%20%2B%20Shift%20%2B%20P,select%20the%20NumPy%20docstring%20format.",
"config": [
{

View File

@@ -1,7 +1,7 @@
{
"id": "53ad5833-3455-407b-bbc6-45b4c79ab8fb",
"snapshot": "vscode",
"instruction": "I'd like the \"project\" in the \"user\" folder under \"home\" to be opened with VS Code, please.",
"instruction": "Please help me use VS Code to open the \"project\" in the \"user\" folder under \"home\".",
"source": "https://www.youtube.com/watch?v=VqCgcpAypFQ",
"config": [
{

View File

@@ -1,50 +0,0 @@
{
"id": "59ed65c7-e9a6-43db-833f-76d6730c0004",
"snapshot": "vscode",
"instruction": "Could you help me start debugging with the breakpoint at line 100?",
"source": "https://www.youtube.com/watch?v=7qZBwhSlfOo",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1eLlB7UqRjh55vm0SIxb96aU1WbbK3H3T&export=download&authuser=0&confirm=t&uuid=379d1cbf-cca1-454a-a5a6-c5389024f728&at=APZUnTWn4vJZhfvrdfYZ6byVfaSj:1705159150342",
"path": "Desktop/main.py"
}
]
}
},
{
"type": "launch",
"parameters": {
"command": ["code", "Desktop/main.py"]
}
},
{
"type": "activate_window",
"parameters": {
"window_name": "Visual Studio Code"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"vscode"
],
"evaluator": {
"func": "compare_config",
"expected": {
"type": "rule",
"rules": {
"expect": "1"
}
},
"result": {
"type": "vscode_config",
"vscode_extension_command": "GetBreakPoint",
"path": "GetBreakPoint.txt",
"dest": "GetBreakPoint.txt"
}
}
}

View File

@@ -1,7 +1,7 @@
{
"id": "930fdb3b-11a8-46fe-9bac-577332e2640e",
"snapshot": "vscode",
"instruction": "I want to create a shortcut to shift my focus cursor from terminal to Editor in VS Code. Please help me create this shortcut to be 'ctrl+j'.",
"instruction": "Please help me create a shortcut \"ctrl+j\" to move cursor focus from terminal to editor in VS Code.",
"source": "https://superuser.com/questions/1270103/how-to-switch-the-cursor-between-terminal-and-code-in-vscode",
"config": [
{

View File

@@ -1,7 +1,7 @@
{
"id": "9439a27b-18ae-42d8-9778-5f68f891805e",
"snapshot": "vscode",
"instruction": "I want to keep my cursor focus in debug console when debugging in VS Code, instead of focusing back to Editor. So please help me modify the setting of VS Code accordingly.",
"instruction": "Please help me modify the setting of VS Code to keep my cursor focused on the debug console when debugging in VS Code, instead of automatically focusing back on the Editor.",
"source": "https://stackoverflow.com/questions/75832474/how-to-keep-cursor-in-debug-console-when-debugging-in-visual-studio-code",
"config": [
{

View File

@@ -1,7 +1,7 @@
{
"id": "982d12a5-beab-424f-8d38-d2a48429e511",
"snapshot": "vscode",
"instruction": "Could you help me change the color theme to Dark?",
"instruction": "Please help me change the color theme of VS Code to Dark.",
"source": "https://www.youtube.com/watch?v=ORrELERGIHs",
"config": [
{

View File

@@ -1,7 +1,7 @@
{
"id": "9d425400-e9b2-4424-9a4b-d4c7abac4140",
"snapshot": "vscode",
"instruction": "I want to make tabs wrapped over multiple lines when exceeding available space, please help modify the setting of VS Code.",
"instruction": "I want to make the tabs wrapped over multiple lines when exceeding available space, please help modify the setting of VS Code.",
"source": "https://superuser.com/questions/1466771/is-there-a-way-to-make-editor-tabs-stack-in-vs-code",
"config": [
{

View File

@@ -1,7 +1,7 @@
{
"id": "ae506c68-352c-4094-9caa-ee9d42052317",
"snapshot": "vscode",
"instruction": "Could you store the full terminal history of my VS Code terminal into '/home/user/Desktop/history.txt'?",
"instruction": "Please help me store the full terminal history of my VS Code terminal into \"/home/user/Desktop/history.txt\".",
"source": "",
"config": [
{

View File

@@ -1,12 +0,0 @@
{
"id": "b421106e-b282-4c41-af72-37c95493f95f",
"snapshot": "vscode",
"instruction": "Help me modify settings to launch VScode with new.txt file",
"source": "https://stackoverflow.com/questions/74153883/launch-vscode-with-new-txt-file",
"config": [],
"trajectory": "trajectories/",
"related_apps": [
"vscode"
],
"evaluator": "evaluation_dir"
}

View File

@@ -1,7 +1,7 @@
{
"id": "e2b5e914-ffe1-44d2-8e92-58f8c5d92bb2",
"snapshot": "vscode",
"instruction": "I want to disable the missing imports reporting of python error, please modify the setting of VS Code for me.",
"instruction": "Please modify VS Code's settings to disable error reporting for Python missing imports.",
"source": "https://superuser.com/questions/1386061/how-to-suppress-some-python-errors-warnings-in-vs-code",
"config": [
{

View File

@@ -1,7 +1,7 @@
{
"id": "ea98c5d7-3cf9-4f9b-8ad3-366b58e0fcae",
"snapshot": "vscode",
"instruction": "I want to remove the shortcut 'cmd+f' for Tree view Find (Explorer search) in VS Code explorer view due to shortcut conflict. Can you help me remove this shortcut?",
"instruction": "Please help me remove the shortcut \"cmd+f\" for Tree view Find (Explorer search) in VS Code Explorer view to avoid shortcut conflict.",
"source": ["https://superuser.com/questions/1748097/vs-code-disable-tree-view-find-explorer-search",
"https://superuser.com/questions/1417361/how-to-disable-file-filtering-in-vs-code-sidebar-explorer?rq=1"
],