Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs3-21sp
lab01
Commits
43ade92b
Commit
43ade92b
authored
4 years ago
by
Ethan Ordentlich
Browse files
Options
Download
Email Patches
Plain Diff
Add vscode settings
parent
e038e774
master
1 merge request
!1
Add vscode settings
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+5
-0
.gitignore
.vscode/c_cpp_properties.json
+40
-0
.vscode/c_cpp_properties.json
.vscode/launch.json
+105
-0
.vscode/launch.json
.vscode/settings.json
+13
-5
.vscode/settings.json
with
163 additions
and
5 deletions
+163
-5
.gitignore
0 → 100644
View file @
43ade92b
# Windows build artifacts
*.exe
*.ilk
*.obj
*.pdb
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.vscode/c_cpp_properties.json
0 → 100644
View file @
43ade92b
{
"configurations"
:
[
//
Windows-specific
{
"name"
:
"Win32"
,
"intelliSenseMode"
:
"msvc-x64"
,
"compilerPath"
:
"cl.exe"
,
"cStandard"
:
"c11"
,
"includePath"
:
[
"${workspaceFolder}/**"
,
"C:/Users/${env:USERNAME}/msvc/include"
],
"defines"
:
[
"_USE_MATH_DEFINES"
,
"_WIN32"
,
"_CRT_SECURE_NO_WARNINGS"
]
},
//
Default
to
clang
for
other
systems
{
"name"
:
"Mac"
,
"intelliSenseMode"
:
"clang-x64"
,
"compilerPath"
:
"/usr/bin/clang"
,
"cStandard"
:
"c11"
,
"includePath"
:
[
"${workspaceFolder}/**"
]
},
{
"name"
:
"Linux"
,
"intelliSenseMode"
:
"clang-x64"
,
"compilerPath"
:
"/usr/bin/clang"
,
"cStandard"
:
"c11"
,
"includePath"
:
[
"${workspaceFolder}/**"
]
}
],
"version"
:
4
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.vscode/launch.json
0 → 100644
View file @
43ade92b
{
"version"
:
"0.2.0"
,
"configurations"
:
[
//
Need
to
separate
debug
configurations
because
they
use
different
//
"types"
,
and
we
can't
change
that
with
an
OS-specific
setting.
//
You
will
want
one
config
per
binary-OS
that
you
want
to
debug
//
Windows
binaries
{
"name"
:
"(Windows) Debug task0"
,
"type"
:
"cppvsdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/task0.exe"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"console"
:
"newExternalWindow"
,
},
{
"name"
:
"(Windows) Debug task1"
,
"type"
:
"cppvsdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/task1.exe"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"console"
:
"newExternalWindow"
,
},
{
"name"
:
"(Windows) Debug task2"
,
"type"
:
"cppvsdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/task2.exe"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"console"
:
"newExternalWindow"
,
},
//
OSX
/
Linux
binaries
{
"name"
:
"(OSX / Linux) Debug task0"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/task0"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"miDebuggerPath"
:
"/usr/bin/gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
"text"
:
"-enable-pretty-printing"
,
"ignoreFailures"
:
true
}
],
},
{
"name"
:
"(OSX / Linux) Debug task1"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/task1"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"miDebuggerPath"
:
"/usr/bin/gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
"text"
:
"-enable-pretty-printing"
,
"ignoreFailures"
:
true
}
],
},
{
"name"
:
"(OSX / Linux) Debug task2"
,
"type"
:
"cppdbg"
,
"request"
:
"launch"
,
"program"
:
"${workspaceFolder}/task2"
,
"args"
:
[],
"stopAtEntry"
:
false
,
"cwd"
:
"${workspaceFolder}"
,
"environment"
:
[],
"externalConsole"
:
false
,
"MIMode"
:
"gdb"
,
"miDebuggerPath"
:
"/usr/bin/gdb"
,
"setupCommands"
:
[
{
"description"
:
"Enable pretty-printing for gdb"
,
"text"
:
"-enable-pretty-printing"
,
"ignoreFailures"
:
true
}
],
}
]
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
.vscode/settings.json
View file @
43ade92b
{
"files.associations"
:
{
"sstream"
:
"c"
,
"string.h"
:
"c"
}
}
\ No newline at end of file
//
Easier
to
go
through
VsDevCmd
than
to
hack
PATH
"terminal.integrated.shell.windows"
:
"cmd.exe"
,
"terminal.integrated.env.windows"
:
{
"VsDevCmd"
:
"
\"
C:
\\
Program Files (x86)
\\
Microsoft Visual Studio
\\
2019
\\
Community
\\
VC
\\
Auxiliary
\\
Build
\\
vcvars64.bat
\"
"
},
"terminal.integrated.shellArgs.windows"
:
[
"/k"
,
"%VsDevCmd%"
,
"&&"
,
//
CMD
_sucks_
,
drop
into
PS
immediately
"powershell.exe"
],
}
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help