Revision 1
Imported lab2/
lab2/.vscode/c_cpp_properties.json | ||
---|---|---|
1 |
{ |
|
2 |
"env": { |
|
3 |
"minix.include": "${workspaceFolder}/../.minix-src/include" |
|
4 |
}, |
|
5 |
"configurations": [{ |
|
6 |
"name": "Minix", |
|
7 |
"compilerPath": "", |
|
8 |
"cStandard": "c11", |
|
9 |
"defines": ["__minix", "_MINIX ", "_NETBSD_SOURCE", "__i386__"], |
|
10 |
"includePath": ["${workspaceFolder}", "${env:minix.include}"], |
|
11 |
"browse": { |
|
12 |
"path": ["${workspaceFolder}", "${env:minix.include}"], |
|
13 |
"limitSymbolsToIncludedHeaders": false, |
|
14 |
"databaseFilename": "" |
|
15 |
} |
|
16 |
}], |
|
17 |
"version": 4 |
|
18 |
} |
|
0 | 19 |
lab2/.vscode/extensions.json | ||
---|---|---|
1 |
{ |
|
2 |
// See http://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. |
|
3 |
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp |
|
4 |
// List of extensions which should be recommended for users of this workspace. |
|
5 |
"recommendations": [ |
|
6 |
"austin.code-gnu-global", |
|
7 |
"ms-vscode.cpptools", |
|
8 |
"xaver.clang-format" |
|
9 |
], |
|
10 |
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. |
|
11 |
"unwantedRecommendations": [] |
|
12 |
} |
|
0 | 13 |
lab2/.vscode/settings.json | ||
---|---|---|
1 |
{ |
|
2 |
"git.ignoreLimitWarning": true, |
|
3 |
"C_Cpp.clang_format_fallbackStyle": "LLVM", |
|
4 |
"diffEditor.ignoreTrimWhitespace": true, |
|
5 |
"editor.formatOnSave": false, |
|
6 |
"editor.tabSize": 2, |
|
7 |
"editor.wordWrap": "bounded", |
|
8 |
"editor.wordWrapColumn": 100, |
|
9 |
"files.associations": { }, |
|
10 |
} |
|
0 | 11 |
lab2/.clang-format | ||
---|---|---|
1 |
BasedOnStyle: LLVM |
|
2 |
AccessModifierOffset: -2 |
|
3 |
AlignAfterOpenBracket: true |
|
4 |
AlignEscapedNewlinesLeft: false |
|
5 |
AlignOperands: true |
|
6 |
AlignTrailingComments: true |
|
7 |
AllowAllParametersOfDeclarationOnNextLine: true |
|
8 |
AllowShortBlocksOnASingleLine: true |
|
9 |
AllowShortCaseLabelsOnASingleLine: true |
|
10 |
AllowShortFunctionsOnASingleLine: All |
|
11 |
AllowShortIfStatementsOnASingleLine: false |
|
12 |
AllowShortLoopsOnASingleLine: true |
|
13 |
AlwaysBreakAfterDefinitionReturnType: false |
|
14 |
AlwaysBreakBeforeMultilineStrings: false |
|
15 |
AlwaysBreakTemplateDeclarations: false |
|
16 |
BinPackArguments: true |
|
17 |
BinPackParameters: true |
|
18 |
BraceWrapping: |
|
19 |
AfterClass: false |
|
20 |
AfterControlStatement: false |
|
21 |
AfterEnum: false |
|
22 |
AfterFunction: false |
|
23 |
AfterNamespace: false |
|
24 |
AfterObjCDeclaration: true |
|
25 |
AfterStruct: false |
|
26 |
AfterUnion: false |
|
27 |
BeforeCatch: true |
|
28 |
BeforeElse: true |
|
29 |
IndentBraces: false |
|
30 |
BreakBeforeBinaryOperators: None |
|
31 |
BreakBeforeBraces: Custom |
|
32 |
BreakBeforeTernaryOperators: true |
|
33 |
BreakConstructorInitializersBeforeComma: false |
|
34 |
ColumnLimit: 0 |
|
35 |
CommentPragmas: '^ IWYU pragma:' |
|
36 |
ConstructorInitializerAllOnOneLineOrOnePerLine: false |
|
37 |
ConstructorInitializerIndentWidth: 2 |
|
38 |
ContinuationIndentWidth: 2 |
|
39 |
Cpp11BracedListStyle: true |
|
40 |
DerivePointerAlignment: false |
|
41 |
DisableFormat: false |
|
42 |
ExperimentalAutoDetectBinPacking: false |
|
43 |
IndentCaseLabels: true |
|
44 |
IndentPPDirectives: AfterHash |
|
45 |
IndentWidth: 2 |
|
46 |
IndentWrappedFunctionNames: false |
|
47 |
KeepEmptyLinesAtTheStartOfBlocks: true |
|
48 |
Language: Cpp |
|
49 |
MaxEmptyLinesToKeep: 1 |
|
50 |
NamespaceIndentation: None |
|
51 |
ObjCBlockIndentWidth: 2 |
|
52 |
ObjCSpaceAfterProperty: false |
|
53 |
ObjCSpaceBeforeProtocolList: true |
|
54 |
PenaltyBreakBeforeFirstCallParameter: 19 |
|
55 |
PenaltyBreakComment: 300 |
|
56 |
PenaltyBreakFirstLessLess: 120 |
|
57 |
PenaltyBreakString: 1000 |
|
58 |
PenaltyExcessCharacter: 1000000 |
|
59 |
PenaltyReturnTypeOnItsOwnLine: 60 |
|
60 |
PointerAlignment: Right |
|
61 |
SpaceAfterCStyleCast: true |
|
62 |
SpaceBeforeAssignmentOperators: true |
|
63 |
SpaceBeforeParens: ControlStatements |
|
64 |
SpaceInEmptyParentheses: false |
|
65 |
SpacesBeforeTrailingComments: 1 |
|
66 |
SpacesInAngles: false |
|
67 |
SpacesInCStyleCastParentheses: false |
|
68 |
SpacesInContainerLiterals: true |
|
69 |
SpacesInParentheses: false |
|
70 |
SpacesInSquareBrackets: false |
|
71 |
Standard: Cpp11 |
|
72 |
TabWidth: 2 |
|
73 |
UseTab: Never |
|
0 | 74 |
Also available in: Unified diff