mirror of https://github.com/stella-emu/stella.git
Configure vscode to use the official c++ extension for intellisense.
This commit is contained in:
parent
b3228aaad7
commit
d51a9e09d6
|
@ -0,0 +1,83 @@
|
||||||
|
{
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Mac",
|
||||||
|
"includePath": [
|
||||||
|
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
|
||||||
|
"/usr/local/include",
|
||||||
|
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include",
|
||||||
|
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
|
||||||
|
"/usr/include",
|
||||||
|
"${workspaceRoot}",
|
||||||
|
"${workspaceRoot}/src/common",
|
||||||
|
"${workspaceRoot}/src/common/tv_filters",
|
||||||
|
"${workspaceRoot}/src/gui",
|
||||||
|
"${workspaceRoot}/src/emucore",
|
||||||
|
"${workspaceRoot}/src/emucore/tia",
|
||||||
|
"${workspaceRoot}/src/unix",
|
||||||
|
"${workspaceRoot}/src/debugger",
|
||||||
|
"${workspaceRoot}/src/debugger/gui",
|
||||||
|
"${workspaceRoot}/src/cheat",
|
||||||
|
"/usr/local/include/SDL2"
|
||||||
|
],
|
||||||
|
"defines": ["DEBUGGER_SUPPORT"],
|
||||||
|
"intelliSenseMode": "clang-x64",
|
||||||
|
"browse": {
|
||||||
|
"path": [
|
||||||
|
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1",
|
||||||
|
"/usr/local/include",
|
||||||
|
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/9.0.0/include",
|
||||||
|
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include",
|
||||||
|
"/usr/include",
|
||||||
|
"${workspaceRoot}"
|
||||||
|
],
|
||||||
|
"limitSymbolsToIncludedHeaders": true,
|
||||||
|
"databaseFilename": ""
|
||||||
|
},
|
||||||
|
"macFrameworkPath": [
|
||||||
|
"/System/Library/Frameworks",
|
||||||
|
"/Library/Frameworks"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Linux",
|
||||||
|
"includePath": [
|
||||||
|
"/usr/include",
|
||||||
|
"/usr/local/include",
|
||||||
|
"${workspaceRoot}"
|
||||||
|
],
|
||||||
|
"defines": [],
|
||||||
|
"intelliSenseMode": "clang-x64",
|
||||||
|
"browse": {
|
||||||
|
"path": [
|
||||||
|
"/usr/include",
|
||||||
|
"/usr/local/include",
|
||||||
|
"${workspaceRoot}"
|
||||||
|
],
|
||||||
|
"limitSymbolsToIncludedHeaders": true,
|
||||||
|
"databaseFilename": ""
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Win32",
|
||||||
|
"includePath": [
|
||||||
|
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include",
|
||||||
|
"${workspaceRoot}"
|
||||||
|
],
|
||||||
|
"defines": [
|
||||||
|
"_DEBUG",
|
||||||
|
"UNICODE"
|
||||||
|
],
|
||||||
|
"intelliSenseMode": "msvc-x64",
|
||||||
|
"browse": {
|
||||||
|
"path": [
|
||||||
|
"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/include/*",
|
||||||
|
"${workspaceRoot}"
|
||||||
|
],
|
||||||
|
"limitSymbolsToIncludedHeaders": true,
|
||||||
|
"databaseFilename": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"version": 3
|
||||||
|
}
|
|
@ -1,23 +1,16 @@
|
||||||
// Platzieren Sie Ihre Einstellungen in dieser Datei, um Standard- und Benutzereinstellungen zu überschreiben.
|
// Platzieren Sie Ihre Einstellungen in dieser Datei, um Standard- und Benutzereinstellungen zu überschreiben.
|
||||||
{
|
{
|
||||||
"clang.cxxflags": [
|
"editor.tabSize": 2,
|
||||||
"-std=c++11",
|
"files.trimTrailingWhitespace": true,
|
||||||
"-I/home/cnspeckn/git/stella/src/common",
|
"files.exclude": {
|
||||||
"-I/home/cnspeckn/git/stella/src/emucore",
|
"**/.git": true,
|
||||||
"-I/home/cnspeckn/git/stella/src/emucore/tia",
|
"**/.svn": true,
|
||||||
"-I/home/cnspeckn/git/stella/src/debugger",
|
"**/.hg": true,
|
||||||
"-I/home/cnspeckn/git/stella/src/debugger/gui",
|
"**/.DS_Store": true,
|
||||||
"-I/home/cnspeckn/git/stella/src/gui"
|
"src/**/*.o": true
|
||||||
],
|
},
|
||||||
"editor.tabSize": 2,
|
"editor.trimAutoWhitespace": true,
|
||||||
"files.trimTrailingWhitespace": true,
|
"editor.useTabStops": false,
|
||||||
"files.exclude": {
|
"C_Cpp.intelliSenseEngine": "Default",
|
||||||
"**/.git": true,
|
"files.insertFinalNewline": true
|
||||||
"**/.svn": true,
|
}
|
||||||
"**/.hg": true,
|
|
||||||
"**/.DS_Store": true,
|
|
||||||
"src/**/*.o": true
|
|
||||||
},
|
|
||||||
"editor.trimAutoWhitespace": true,
|
|
||||||
"editor.useTabStops": false
|
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue