Skip to content

Commit 48f371b

Browse files
release 0.0.0
0 parents  commit 48f371b

25 files changed

+5508
-0
lines changed

.clang-format

Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
---
2+
BasedOnStyle: Google
3+
AccessModifierOffset: -1
4+
AlignAfterOpenBracket: Align
5+
AlignArrayOfStructures: Right
6+
AlignConsecutiveAssignments:
7+
Enabled: false
8+
AcrossEmptyLines: false
9+
AcrossComments: false
10+
AlignCompound: false
11+
AlignFunctionPointers: false
12+
PadOperators: true
13+
AlignConsecutiveBitFields:
14+
Enabled: false
15+
AcrossEmptyLines: false
16+
AcrossComments: false
17+
AlignCompound: false
18+
AlignFunctionPointers: false
19+
PadOperators: false
20+
AlignConsecutiveDeclarations:
21+
Enabled: false
22+
AcrossEmptyLines: false
23+
AcrossComments: false
24+
AlignCompound: false
25+
AlignFunctionPointers: false
26+
PadOperators: false
27+
AlignConsecutiveMacros:
28+
Enabled: false
29+
AcrossEmptyLines: false
30+
AcrossComments: false
31+
AlignCompound: false
32+
AlignFunctionPointers: false
33+
PadOperators: false
34+
AlignConsecutiveShortCaseStatements:
35+
Enabled: false
36+
AcrossEmptyLines: false
37+
AcrossComments: false
38+
AlignCaseColons: false
39+
AlignEscapedNewlines: Left
40+
AlignOperands: Align
41+
AlignTrailingComments:
42+
Kind: Always
43+
OverEmptyLines: 0
44+
AllowAllArgumentsOnNextLine: true
45+
AllowAllParametersOfDeclarationOnNextLine: true
46+
AllowBreakBeforeNoexceptSpecifier: Never
47+
AllowShortBlocksOnASingleLine: Always
48+
AllowShortCaseLabelsOnASingleLine: true
49+
AllowShortCompoundRequirementOnASingleLine: true
50+
AllowShortEnumsOnASingleLine: true
51+
AllowShortFunctionsOnASingleLine: All
52+
AllowShortIfStatementsOnASingleLine: WithoutElse
53+
AllowShortLambdasOnASingleLine: All
54+
AllowShortLoopsOnASingleLine: true
55+
AlwaysBreakAfterDefinitionReturnType: None
56+
AlwaysBreakAfterReturnType: None
57+
AlwaysBreakBeforeMultilineStrings: true
58+
AlwaysBreakTemplateDeclarations: MultiLine
59+
AttributeMacros:
60+
- __capability
61+
BinPackArguments: true
62+
BinPackParameters: true
63+
BitFieldColonSpacing: Both
64+
BraceWrapping:
65+
AfterCaseLabel: false
66+
AfterClass: false
67+
AfterControlStatement: Never
68+
AfterEnum: false
69+
AfterFunction: false
70+
AfterNamespace: false
71+
AfterObjCDeclaration: false
72+
AfterStruct: false
73+
AfterUnion: false
74+
AfterExternBlock: false
75+
BeforeCatch: false
76+
BeforeElse: false
77+
BeforeLambdaBody: false
78+
BeforeWhile: false
79+
IndentBraces: false
80+
SplitEmptyFunction: true
81+
SplitEmptyRecord: true
82+
SplitEmptyNamespace: true
83+
BreakAdjacentStringLiterals: true
84+
BreakAfterAttributes: Leave
85+
BreakAfterJavaFieldAnnotations: false
86+
BreakArrays: true
87+
BreakBeforeBinaryOperators: None
88+
BreakBeforeBraces: Attach
89+
BreakBeforeConceptDeclarations: Always
90+
BreakBeforeInlineASMColon: OnlyMultiline
91+
BreakBeforeTernaryOperators: true
92+
BreakConstructorInitializers: BeforeColon
93+
BreakInheritanceList: BeforeColon
94+
BreakStringLiterals: true
95+
ColumnLimit: 80
96+
CommentPragmas: '^ IWYU pragma:'
97+
CompactNamespaces: false
98+
ConstructorInitializerIndentWidth: 4
99+
ContinuationIndentWidth: 4
100+
Cpp11BracedListStyle: true
101+
DerivePointerAlignment: true
102+
DisableFormat: false
103+
EmptyLineAfterAccessModifier: Never
104+
EmptyLineBeforeAccessModifier: LogicalBlock
105+
ExperimentalAutoDetectBinPacking: false
106+
FixNamespaceComments: true
107+
ForEachMacros:
108+
- foreach
109+
- Q_FOREACH
110+
- BOOST_FOREACH
111+
IfMacros:
112+
- KJ_IF_MAYBE
113+
IncludeBlocks: Regroup
114+
IncludeCategories:
115+
- Regex: ^<ext/.*\.h>
116+
Priority: 2
117+
SortPriority: 0
118+
CaseSensitive: false
119+
- Regex: ^<.*\.h>
120+
Priority: 1
121+
SortPriority: 0
122+
CaseSensitive: false
123+
- Regex: ^<.*
124+
Priority: 2
125+
SortPriority: 0
126+
CaseSensitive: false
127+
- Regex: .*
128+
Priority: 3
129+
SortPriority: 0
130+
CaseSensitive: false
131+
IncludeIsMainRegex: ([-_](test|unittest))?$
132+
IncludeIsMainSourceRegex: ''
133+
IndentAccessModifiers: false
134+
IndentCaseBlocks: false
135+
IndentCaseLabels: true
136+
IndentExternBlock: AfterExternBlock
137+
IndentGotoLabels: true
138+
IndentPPDirectives: None
139+
IndentRequiresClause: true
140+
IndentWidth: 2
141+
IndentWrappedFunctionNames: false
142+
InsertBraces: false
143+
InsertNewlineAtEOF: false
144+
InsertTrailingCommas: None
145+
IntegerLiteralSeparator:
146+
Binary: 0
147+
BinaryMinDigits: 0
148+
Decimal: 0
149+
DecimalMinDigits: 0
150+
Hex: 0
151+
HexMinDigits: 0
152+
JavaScriptQuotes: Leave
153+
JavaScriptWrapImports: true
154+
KeepEmptyLinesAtEOF: false
155+
KeepEmptyLinesAtTheStartOfBlocks: false
156+
LambdaBodyIndentation: Signature
157+
Language: Cpp
158+
LineEnding: DeriveLF
159+
MacroBlockBegin: ''
160+
MacroBlockEnd: ''
161+
MaxEmptyLinesToKeep: 1
162+
NamespaceIndentation: None
163+
ObjCBinPackProtocolList: Never
164+
ObjCBlockIndentWidth: 2
165+
ObjCBreakBeforeNestedBlockParam: true
166+
ObjCSpaceAfterProperty: false
167+
ObjCSpaceBeforeProtocolList: true
168+
PPIndentWidth: -1
169+
PackConstructorInitializers: NextLine
170+
PenaltyBreakAssignment: 2
171+
PenaltyBreakBeforeFirstCallParameter: 1
172+
PenaltyBreakComment: 300
173+
PenaltyBreakFirstLessLess: 120
174+
PenaltyBreakOpenParenthesis: 0
175+
PenaltyBreakScopeResolution: 500
176+
PenaltyBreakString: 1000
177+
PenaltyBreakTemplateDeclaration: 10
178+
PenaltyExcessCharacter: 1000000
179+
PenaltyIndentedWhitespace: 0
180+
PenaltyReturnTypeOnItsOwnLine: 200
181+
PointerAlignment: Left
182+
QualifierAlignment: Leave
183+
RawStringFormats:
184+
- Language: Cpp
185+
Delimiters:
186+
- cc
187+
- CC
188+
- cpp
189+
- Cpp
190+
- CPP
191+
- c++
192+
- C++
193+
CanonicalDelimiter: ''
194+
BasedOnStyle: google
195+
- Language: TextProto
196+
Delimiters:
197+
- pb
198+
- PB
199+
- proto
200+
- PROTO
201+
EnclosingFunctions:
202+
- EqualsProto
203+
- EquivToProto
204+
- PARSE_PARTIAL_TEXT_PROTO
205+
- PARSE_TEST_PROTO
206+
- PARSE_TEXT_PROTO
207+
- ParseTextOrDie
208+
- ParseTextProtoOrDie
209+
- ParseTestProto
210+
- ParsePartialTestProto
211+
CanonicalDelimiter: pb
212+
BasedOnStyle: google
213+
ReferenceAlignment: Pointer
214+
ReflowComments: true
215+
RemoveBracesLLVM: false
216+
RemoveParentheses: Leave
217+
RemoveSemicolon: false
218+
RequiresClausePosition: OwnLine
219+
RequiresExpressionIndentation: OuterScope
220+
SeparateDefinitionBlocks: Leave
221+
ShortNamespaceLines: 1
222+
SkipMacroDefinitionBody: false
223+
SortIncludes: CaseSensitive
224+
SortJavaStaticImport: Before
225+
SortUsingDeclarations: LexicographicNumeric
226+
SpaceAfterCStyleCast: false
227+
SpaceAfterLogicalNot: false
228+
SpaceAfterTemplateKeyword: true
229+
SpaceAroundPointerQualifiers: Default
230+
SpaceBeforeAssignmentOperators: true
231+
SpaceBeforeCaseColon: false
232+
SpaceBeforeCpp11BracedList: false
233+
SpaceBeforeCtorInitializerColon: false
234+
SpaceBeforeInheritanceColon: false
235+
SpaceBeforeJsonColon: false
236+
SpaceBeforeParens: ControlStatements
237+
SpaceBeforeParensOptions:
238+
AfterControlStatements: true
239+
AfterForeachMacros: true
240+
AfterFunctionDeclarationName: false
241+
AfterFunctionDefinitionName: false
242+
AfterIfMacros: true
243+
AfterOverloadedOperator: false
244+
AfterPlacementOperator: true
245+
AfterRequiresInClause: false
246+
AfterRequiresInExpression: false
247+
BeforeNonEmptyParentheses: false
248+
SpaceBeforeRangeBasedForLoopColon: true
249+
SpaceBeforeSquareBrackets: false
250+
SpaceInEmptyBlock: false
251+
SpacesBeforeTrailingComments: 2
252+
SpacesInAngles: Never
253+
SpacesInContainerLiterals: true
254+
SpacesInLineCommentPrefix:
255+
Minimum: 1
256+
Maximum: -1
257+
SpacesInParens: Never
258+
SpacesInParensOptions:
259+
InConditionalStatements: false
260+
InCStyleCasts: false
261+
InEmptyParentheses: false
262+
Other: false
263+
SpacesInSquareBrackets: false
264+
Standard: Auto
265+
StatementAttributeLikeMacros:
266+
- Q_EMIT
267+
StatementMacros:
268+
- Q_UNUSED
269+
- QT_REQUIRE_VERSION
270+
TabWidth: 8
271+
UseTab: Never
272+
VerilogBreakBetweenInstancePorts: true
273+
WhitespaceSensitiveMacros:
274+
- BOOST_PP_STRINGIZE
275+
- CF_SWIFT_NAME
276+
- NS_SWIFT_NAME
277+
- PP_STRINGIZE
278+
- STRINGIZE

.eslintrc.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"plugins": ["@typescript-eslint"],
9+
"rules": {
10+
"@typescript-eslint/naming-convention": "warn",
11+
"@typescript-eslint/semi": "warn",
12+
"eqeqeq": "warn",
13+
"no-throw-literal": "warn",
14+
"semi": "off"
15+
},
16+
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
17+
}

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
out
2+
dist
3+
node_modules
4+
.vscode-test/
5+
*.vsix
6+
library/test.bin
7+
.yarn/

.vscode/extensions.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": ["dbaeumer.vscode-eslint", "amodio.tsl-problem-matcher"]
5+
}

.vscode/launch.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
13+
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
14+
"preLaunchTask": "${defaultBuildTask}"
15+
}
16+
]
17+
}

.vscode/settings.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6+
},
7+
"search.exclude": {
8+
"out": true, // set this to false to include "out" folder in search results
9+
"dist": true // set this to false to include "dist" folder in search results
10+
},
11+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12+
"typescript.tsc.autoDetect": "off",
13+
"files.associations": {
14+
"limits": "cpp"
15+
}
16+
}

.vscode/tasks.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$ts-webpack-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never",
13+
"group": "watchers"
14+
},
15+
"group": {
16+
"kind": "build",
17+
"isDefault": true
18+
}
19+
}
20+
]
21+
}

.vscodeignore

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.vscode/
2+
.yarn/
3+
node_modules/
4+
src/
5+
.clang-format
6+
.eslintrc.json
7+
.gitignore
8+
.yarnrc.yml
9+
tsconfig.json
10+
webpack.config.js
11+
yarn.lock
12+
library/test/
13+
library/test.bin

.yarnrc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

0 commit comments

Comments
 (0)