Skip to content

Commit d237149

Browse files
author
echosys
committed
init setting for git vscode mac
init setting for git vscode mac
1 parent dde6fac commit d237149

File tree

5 files changed

+83
-0
lines changed

5 files changed

+83
-0
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
deliver1/.DS_Store
3+
.DS_Store
4+
.DS_Store
5+
.vscode/tasks.json
6+
.vscode/launch.json
7+
.vscode/settings.json
8+
.DS_Store

.gitignore_vscode_mac

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
2+
deliver1/.DS_Store
3+
.DS_Store
4+
.DS_Store
5+
.vscode/tasks.json
6+
.vscode/launch.json
7+
.vscode/settings.json
8+
.DS_Store

.vscode mac/launch.json

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "(lldb) Launch",
6+
"type": "cppdbg",
7+
"request": "launch",
8+
//"program": "${workspaceRoot}/a.out.dSYM/Contents/Resources/DWARF/a.out",
9+
"program": "${workspaceRoot}/a.out",
10+
"args": [ //"< ./tests/test_0.txt"
11+
],
12+
"stopAtEntry": false,
13+
"cwd": "${workspaceRoot}",
14+
"environment": [],
15+
"externalConsole": true,
16+
"MIMode": "gdb",
17+
//"miDebuggerPath": "C:\\mingw\\bin\\gdb.exe",
18+
"setupCommands": [
19+
{
20+
"description": "Enable pretty-printing for gdb",
21+
"text": "-enable-pretty-printing",
22+
"ignoreFailures": true
23+
}
24+
],
25+
//"preLaunchTask": //"build test1",
26+
27+
"linux": {
28+
"MIMode": "gdb",
29+
"miDebuggerPath": "/usr/bin/gdb"
30+
},
31+
32+
}
33+
]
34+
}

.vscode mac/settings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"files.associations": {
3+
"iostream": "cpp",
4+
"__split_buffer": "cpp",
5+
"string": "cpp",
6+
"vector": "cpp",
7+
"__locale": "cpp",
8+
"__bit_reference": "cpp",
9+
"algorithm": "cpp",
10+
"*.tcc": "cpp",
11+
"locale": "cpp",
12+
"stdio.h": "c",
13+
"__functional_03": "cpp",
14+
"functional": "cpp"
15+
}
16+
}

.vscode mac/tasks.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"taskName": "build test1",
6+
"type": "shell",
7+
"command": "g++",
8+
"args": [
9+
"-g","pj1p1.1.c" //"./Pj1_sc/lexerv0.cc", "./Pj1_sc/inputbuf.cc" //, "< ./tests/test_0.txt "
10+
],
11+
"group": {
12+
"kind": "build",
13+
"isDefault": true
14+
}
15+
}
16+
]
17+
}

0 commit comments

Comments
 (0)