Skip to content

Conversation

@resolritter
Copy link
Contributor

closes #95

@resolritter resolritter marked this pull request as draft January 7, 2021 17:41
@resolritter resolritter force-pushed the function_signature branch 3 times, most recently from 7656bdc to dc392ff Compare January 7, 2021 18:35
@resolritter resolritter marked this pull request as ready for review January 7, 2021 18:36
@mjambon
Copy link
Contributor

mjambon commented Jan 29, 2021

Looks good to me! @maxbrunsfeld, can we merge this?

Copy link
Contributor

@maxbrunsfeld maxbrunsfeld left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into this @resolritter. Overall, I think your approach of having a special automatic semicolon token is a good one 👍 .

A few questions:

  1. We should continue to distinguish between an actual semicolon (which should appear as a ; node in the tree) and an "automatic semicolon" (which is hidden).

  2. I think the Automatic Semicolon Insertion logic needs to check for a :, because a type signature can appear on the next line, after the parameter list:

    function foo()
      : number;
    
    function foo() {
        return 1;
    }
  3. We probably need to account for comments after the function signature:

    function foo()
       // this is a signature
     
     foo();
     
     function bar()
        // this is a definition
     {
        console.log("the function body");
     }
  4. There is some specific behavior in the above code (for matching normal automatic semicolons) that calls mark_end to make sure that the location of the automatic semicolon is right at the start position. I think we need to do that here too.

Can this logic be more unified with the other automatic semicolon logic? Ideally, instead of checking iswalpha, we would specifically look for a {.

@resolritter
Copy link
Contributor Author

@maxbrunsfeld I find the comment one difficult to work around. My understanding is that, because $.comment is an "extra
and the type annotations are optional in $._call_signature, then a standalone $.comment node will be matched over the longer chain of comment + type_annotation + semicolon.

i.e. because $.comment is an extra, it cannot make part of what would be

      _call_signature: $ => seq(
        field('type_parameters', optional($.type_parameters)),
        field('parameters', $.formal_parameters),
+       optional($.comment)
        field('return_type', optional(
          choice($.type_annotation, $.asserts, $.type_predicate_annotation)
        ))
      ),

it effectively cuts $._call_signature short of matching the optional annotation at the end, which would, then, match the semicolon correctly.

That explanation might not be precise as far as explaining the cause, but I hope the hurdle itself is understandable. I don't know how to work around it.

@maxbrunsfeld
Copy link
Contributor

The existing automatic_semicolon matching logic already looks arbitrarily far ahead beyond both whitespace and comments, before deciding whether it should insert an automatic_semicolon. The mark_end() call at the beginning still causes the automatic_semicolon token to appear before the comments.

It seems like the same logic could apply to function_signature_semicolon.

@resolritter
Copy link
Contributor Author

@maxbrunsfeld I've added your examples to the corpus. npm run build && npm run test seems to be working locally.

),
optional(";")
)
))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand this change to the grammar. Why does _function_signature_semicolon come before the type signature?

Copy link
Contributor Author

@resolritter resolritter Feb 3, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one was tricky as I had to recreate my train-of-thought from yesterday...

_function_signature_semicolon does lexer->mark_end at the start and looks far ahead, thus the position in the tree does not matter significantly. Even more so in this case where there are two optional nodes following.

It appears before the type because it can match regardless of the type being there or not. If it were put in front, it would require that a type proceeded it, which is not necessary. Consider:

function bar();

No type annotation before ;, but still valid syntax nevertheless.

As to why the other more normal-looking rule is needed despite this, it's to catch the remaining cases where { might appear really far forward into the code after a sibling node has already started - which, conversely, means this one must have ended.

I'll take a look later if I can find an example in the wild which parses incorrectly with this approach.

@resolritter resolritter force-pushed the function_signature branch 2 times, most recently from 3d65a92 to 8057c92 Compare February 3, 2021 20:17
@resolritter resolritter marked this pull request as draft February 4, 2021 09:04
@resolritter
Copy link
Contributor Author

Moving to draft while I try to find more examples in the wild which breaks this. Also will try to have it commented more when that's done.

@resolritter
Copy link
Contributor Author

Split the node's logic between

  • _function_signature_semicolon_before_annotation
  • _function_signature_semicolon_after_annotation

It looks saner and more predictable now. Notably, it doesn't "look far into the future" anymore like the old approach did.

Tests are passing for https://github.com/desktop/desktop but I was thinking of running it on another big code base such as https://github.com/microsoft/TypeScript/tree/master/src. I already tried running it on https://github.com/microsoft/TypeScript/tree/master/tests but it lead to lots of errors, some not necessarily related to this use-case; I don't think it's ready to run it on the official test suite just yet, but it would be good to, in the future.

@resolritter
Copy link
Contributor Author

resolritter commented Feb 4, 2021

I've tried to run it on the TypeScript source and it found a lot of errors. Too many to even go through them manually.

examples/TypeScript/src/compiler/builder.ts                                                  	4 ms	(ERROR [26, 57] - [26, 110])
examples/TypeScript/src/compiler/builderPublic.ts                                            	0 ms	(ERROR [139, 69] - [139, 100])
examples/TypeScript/src/compiler/checker.ts                                                  	457 ms	(ERROR [0, 0] - [41109, 0])
examples/TypeScript/src/compiler/commandLineParser.ts                                        	12 ms	(ERROR [2010, 13] - [2010, 44])
examples/TypeScript/src/compiler/core.ts                                                     	42 ms	(ERROR [0, 0] - [2274, 0])
examples/TypeScript/src/compiler/corePublic.ts                                               	0 ms	(ERROR [67, 28] - [67, 80])
examples/TypeScript/src/compiler/debug.ts                                                    	3 ms	(ERROR [203, 113] - [203, 117])
examples/TypeScript/src/compiler/emitter.ts                                                  	18 ms	(ERROR [21, 38] - [21, 74])
examples/TypeScript/src/compiler/factory/emitHelpers.ts                                      	1 ms	(ERROR [15, 114] - [15, 149])
examples/TypeScript/src/compiler/factory/nodeFactory.ts                                      	23 ms	(ERROR [541, 22] - [541, 56])
examples/TypeScript/src/compiler/factory/utilities.ts                                        	2 ms	(ERROR [66, 152] - [66, 187])
examples/TypeScript/src/compiler/perfLogger.ts                                               	0 ms	(MISSING ";" [2, 35] - [2, 35])
examples/TypeScript/src/compiler/program.ts                                                  	16 ms	(ERROR [533, 33] - [533, 96])
examples/TypeScript/src/compiler/sourcemap.ts                                                	2 ms	(ERROR [625, 27] - [625, 66])
examples/TypeScript/src/compiler/sys.ts                                                      	6 ms	(MISSING ";" [1174, 36] - [1174, 36])
examples/TypeScript/src/compiler/tracing.ts                                                  	1 ms	(MISSING ";" [9, 25] - [9, 25])
examples/TypeScript/src/compiler/transformers/declarations.ts                                	7 ms	(ERROR [86, 26] - [86, 66])
examples/TypeScript/src/compiler/transformers/generators.ts                                  	7 ms	(MISSING "]" [137, 87] - [137, 87])
examples/TypeScript/src/compiler/transformers/jsx.ts                                         	2 ms	(ERROR [215, 84] - [215, 117])
examples/TypeScript/src/compiler/transformers/ts.ts                                          	8 ms	(ERROR [973, 22] - [973, 56])
examples/TypeScript/src/compiler/types.ts                                                    	27 ms	(ERROR [0, 0] - [8260, 0])
examples/TypeScript/src/compiler/utilities.ts                                                	25 ms	(ERROR [47, 55] - [47, 64])
examples/TypeScript/src/compiler/utilitiesPublic.ts                                          	5 ms	(ERROR [396, 95] - [396, 99])
examples/TypeScript/src/compiler/watchPublic.ts                                              	2 ms	(ERROR [46, 68] - [46, 99])
examples/TypeScript/src/deprecatedCompat/deprecations.ts                                     	5 ms	(ERROR [167, 22] - [167, 71])
examples/TypeScript/src/harness/compilerImpl.ts                                              	2 ms	(ERROR [46, 11] - [209, 106])
examples/TypeScript/src/harness/documentsUtil.ts                                             	1 ms	(ERROR [3, 20] - [186, 1])
examples/TypeScript/src/harness/fakesHosts.ts                                                	2 ms	(ERROR [386, 44] - [386, 70])
examples/TypeScript/src/harness/fourslashImpl.ts                                             	71 ms	(ERROR [201, 73] - [201, 104])
examples/TypeScript/src/harness/fourslashInterfaceImpl.ts                                    	5 ms	(ERROR [67, 27] - [67, 100])
examples/TypeScript/src/harness/harnessGlobals.ts                                            	0 ms	(MISSING ";" [6, 24] - [6, 24])
examples/TypeScript/src/harness/harnessIO.ts                                                 	6 ms	(ERROR [1053, 177] - [1053, 178])
examples/TypeScript/src/harness/harnessUtils.ts                                              	1 ms	(ERROR [72, 22] - [72, 25])
examples/TypeScript/src/harness/loggedIO.ts                                                  	1 ms	(ERROR [65, 22] - [65, 53])
examples/TypeScript/src/harness/util.ts                                                      	0 ms	(ERROR [12, 72] - [12, 73])
examples/TypeScript/src/harness/vfsUtil.ts                                                   	5 ms	(MISSING "]" [1096, 36] - [1096, 36])
examples/TypeScript/src/harness/virtualFileSystemWithWatch.ts                                	5 ms	(ERROR [113, 48] - [113, 74])
examples/TypeScript/src/jsTyping/jsTyping.ts                                                 	1 ms	(ERROR [7, 78] - [7, 109])
examples/TypeScript/src/lib/dom.generated.d.ts                                               	65 ms	(ERROR [12556, 11] - [12556, 30])
examples/TypeScript/src/lib/dom.iterable.d.ts                                                	0 ms	(MISSING "]" [84, 47] - [84, 47])
examples/TypeScript/src/lib/es2015.collection.d.ts                                           	0 ms	(ERROR [12, 22] - [12, 59])
examples/TypeScript/src/lib/es2015.core.d.ts                                                 	0 ms	(ERROR [10, 90] - [10, 94])
examples/TypeScript/src/lib/es2015.iterable.d.ts                                             	1 ms	(ERROR [213, 70] - [213, 71])
examples/TypeScript/src/lib/es2015.promise.d.ts                                              	2 ms	(MISSING "]" [20, 69] - [20, 69])
examples/TypeScript/src/lib/es2019.array.d.ts                                                	0 ms	(ERROR [2, 39] - [2, 44])
examples/TypeScript/src/lib/es2020.promise.d.ts                                              	0 ms	(ERROR [19, 14] - [28, 111])
examples/TypeScript/src/lib/es5.d.ts                                                         	9 ms	(ERROR [300, 51] - [300, 52])
examples/TypeScript/src/lib/webworker.generated.d.ts                                         	20 ms	(ERROR [2731, 11] - [2731, 30])
examples/TypeScript/src/server/editorServices.ts                                             	13 ms	(ERROR [317, 22] - [317, 84])
examples/TypeScript/src/server/project.ts                                                    	11 ms	(ERROR [372, 41] - [442, 142])
examples/TypeScript/src/server/session.ts                                                    	54 ms	(ERROR [272, 4] - [275, 5])
examples/TypeScript/src/services/codefixes/convertFunctionToEs6Class.ts                      	1 ms	(ERROR [240, 4] - [266, 14])
examples/TypeScript/src/services/codefixes/convertToEs6Module.ts                             	2 ms	(ERROR [259, 129] - [259, 137])
examples/TypeScript/src/services/codefixes/helpers.ts                                        	1 ms	(ERROR [343, 17] - [343, 50])
examples/TypeScript/src/services/codefixes/importFixes.ts                                    	5 ms	(ERROR [140, 61] - [140, 113])
examples/TypeScript/src/services/codefixes/inferFromUsage.ts                                 	6 ms	(ERROR [440, 167] - [578, 29])
examples/TypeScript/src/services/completions.ts                                              	9 ms	(ERROR [111, 76] - [111, 121])
examples/TypeScript/src/services/documentHighlights.ts                                       	6 ms	(ERROR [0, 0] - [516, 0])
examples/TypeScript/src/services/documentRegistry.ts                                         	0 ms	(MISSING "]" [90, 64] - [90, 64])
examples/TypeScript/src/services/findAllReferences.ts                                        	11 ms	(ERROR [250, 4] - [282, 107])
examples/TypeScript/src/services/formatting/rules.ts                                         	3 ms	(ERROR [376, 25] - [376, 61])
examples/TypeScript/src/services/formatting/rulesMap.ts                                      	0 ms	(ERROR [36, 11] - [36, 86])
examples/TypeScript/src/services/goToDefinition.ts                                           	5 ms	(ERROR [2, 4] - [351, 5])
examples/TypeScript/src/services/refactors/convertImport.ts                                  	0 ms	(ERROR [172, 101] - [172, 141])
examples/TypeScript/src/services/refactors/convertStringOrTemplateLiteral.ts                 	0 ms	(MISSING "]" [150, 106] - [150, 106])
examples/TypeScript/src/services/refactors/extractSymbol.ts                                  	8 ms	(ERROR [699, 4] - [717, 13])
examples/TypeScript/src/services/refactors/extractType.ts                                    	3 ms	(ERROR [111, 105] - [227, 45])
examples/TypeScript/src/services/refactors/moveToNewFile.ts                                  	4 ms	(ERROR [778, 4] - [803, 108])
examples/TypeScript/src/services/services.ts                                                 	11 ms	(ERROR [0, 13] - [997, 58])
examples/TypeScript/src/services/stringCompletions.ts                                        	4 ms	(ERROR [549, 4] - [569, 167])
examples/TypeScript/src/services/textChanges.ts                                              	6 ms	(ERROR [884, 140] - [884, 147])
examples/TypeScript/src/services/types.ts                                                    	3 ms	(ERROR [240, 31] - [240, 72])
examples/TypeScript/src/services/utilities.ts                                                	10 ms	(ERROR [242, 172] - [242, 176])
examples/TypeScript/src/shims/collectionShims.ts                                             	4 ms	(ERROR [0, 0] - [267, 0])
examples/TypeScript/src/testRunner/externalCompileRunner.ts                                  	2 ms	(MISSING ";" [1, 27] - [1, 27])
examples/TypeScript/src/testRunner/parallel/host.ts                                          	2 ms	(MISSING "}" [53, 27] - [53, 27])
examples/TypeScript/src/testRunner/unittests/config/configurationExtension.ts                	1 ms	(ERROR [209, 61] - [209, 62])
examples/TypeScript/src/testRunner/unittests/createMapShim.ts                                	3 ms	(ERROR [119, 12] - [253, 43])
examples/TypeScript/src/testRunner/unittests/createSetShim.ts                                	4 ms	(ERROR [0, 0] - [309, 0])
examples/TypeScript/src/testRunner/unittests/semver.ts                                       	1 ms	(ERROR [27, 126] - [27, 127])
examples/TypeScript/src/testRunner/unittests/services/languageService.ts                     	0 ms	(MISSING ";" [1, 30] - [1, 30])
examples/TypeScript/src/testRunner/unittests/tsbuild/amdModulesWithOut.ts                    	0 ms	(ERROR [5, 41] - [5, 48])
examples/TypeScript/src/testRunner/unittests/tsbuild/outFile.ts                              	2 ms	(ERROR [31, 41] - [31, 48])
examples/TypeScript/src/testRunner/unittests/tsbuild/watchMode.ts                            	6 ms	(MISSING "]" [24, 40] - [24, 40])
examples/TypeScript/src/testRunner/unittests/tscWatch/helpers.ts                             	1 ms	(ERROR [165, 72] - [165, 115])
examples/TypeScript/src/testRunner/unittests/tsserver/cachingFileSystemInformation.ts        	4 ms	(ERROR [16, 34] - [16, 91])
examples/TypeScript/src/testRunner/unittests/tsserver/completions.ts                         	0 ms	(ERROR [72, 38] - [72, 83])
examples/TypeScript/src/testRunner/unittests/tsserver/declarationFileMaps.ts                 	2 ms	(ERROR [287, 38] - [287, 70])
examples/TypeScript/src/testRunner/unittests/tsserver/duplicatePackages.ts                   	0 ms	(ERROR [33, 42] - [33, 78])
examples/TypeScript/src/testRunner/unittests/tsserver/dynamicFiles.ts                        	1 ms	(ERROR [48, 38] - [48, 74])
examples/TypeScript/src/testRunner/unittests/tsserver/events/projectLoading.ts               	0 ms	(ERROR [18, 49] - [18, 56])
examples/TypeScript/src/testRunner/unittests/tsserver/getApplicableRefactors.ts              	0 ms	(ERROR [8, 38] - [8, 83])
examples/TypeScript/src/testRunner/unittests/tsserver/inferredProjects.ts                    	1 ms	(MISSING "]" [319, 58] - [319, 58])
examples/TypeScript/src/testRunner/unittests/tsserver/projectReferences.ts                   	9 ms	(ERROR [439, 16] - [439, 17])
examples/TypeScript/src/testRunner/unittests/tsserver/session.ts                             	2 ms	(MISSING ";" [1, 30] - [1, 30])

Then I tried the vscode source - yet again, an astounding number of errors.

examples/vscode/build/lib/monaco-api.ts                                                                                   	2 ms	(ERROR [28, 27] - [28, 40])
examples/vscode/build/lib/nls.ts                                                                                          	1 ms	(ERROR [23, 21] - [23, 34])
examples/vscode/build/lib/treeshaking.ts                                                                                  	3 ms	(ERROR [112, 45] - [112, 58])
examples/vscode/build/monaco/monaco.d.ts.recipe                                                                           	2 ms	(ERROR [36, 0] - [36, 45])
examples/vscode/extensions/css-language-features/client/src/cssClient.ts                                                  	0 ms	(MISSING identifier [68, 34] - [68, 34])
examples/vscode/extensions/css-language-features/client/src/customData.ts                                                 	0 ms	(MISSING identifier [61, 56] - [61, 56])
examples/vscode/extensions/emmet/src/abbreviationActions.ts                                                               	2 ms	(ERROR [329, 137] - [329, 150])
examples/vscode/extensions/emmet/src/util.ts                                                                              	2 ms	(ERROR [403, 66] - [403, 73])
examples/vscode/extensions/git/src/commands.ts                                                                            	10 ms	(MISSING identifier [228, 39] - [228, 39])
examples/vscode/extensions/git/src/model.ts                                                                               	1 ms	(MISSING identifier [154, 41] - [154, 41])
examples/vscode/extensions/git/src/repository.ts                                                                          	10 ms	(MISSING "]" [90, 30] - [90, 30])
examples/vscode/extensions/html-language-features/client/src/customData.ts                                                	0 ms	(MISSING identifier [61, 57] - [61, 57])
examples/vscode/extensions/html-language-features/client/src/htmlClient.ts                                                	1 ms	(MISSING identifier [104, 34] - [104, 34])
examples/vscode/extensions/json-language-features/client/src/jsonClient.ts                                                	1 ms	(MISSING identifier [174, 34] - [174, 34])
examples/vscode/extensions/markdown-language-features/src/features/previewConfig.ts                                       	0 ms	(MISSING identifier [48, 42] - [48, 42])
examples/vscode/extensions/markdown-language-features/src/util/url.ts                                                     	0 ms	(MISSING ";" [7, 32] - [7, 32])
examples/vscode/extensions/merge-conflict/src/contentProvider.ts                                                          	0 ms	(ERROR [25, 81] - [25, 82])
examples/vscode/extensions/simple-browser/src/extension.ts                                                                	0 ms	(MISSING ";" [9, 32] - [9, 32])
examples/vscode/extensions/types/lib.textEncoder.d.ts                                                                     	0 ms	(MISSING ";" [9, 38] - [9, 38])
examples/vscode/extensions/types/lib.url.d.ts                                                                             	0 ms	(MISSING ";" [9, 32] - [9, 32])
examples/vscode/extensions/typescript-language-features/src/languageFeatures/semanticTokens.ts                            	0 ms	(ERROR [282, 42] - [282, 63])
examples/vscode/extensions/typescript-language-features/src/test/smoke/referencesCodeLens.test.ts                         	0 ms	(ERROR [110, 0] - [112, 1])
examples/vscode/extensions/typescript-language-features/src/typescriptService.ts                                          	1 ms	(ERROR [36, 28] - [36, 34])
examples/vscode/extensions/typescript-language-features/src/utils/configuration.ts                                        	0 ms	(MISSING identifier [166, 34] - [166, 34])
examples/vscode/extensions/typescript-language-features/src/utils/plugins.ts                                              	0 ms	(ERROR [64, 50] - [64, 54])
examples/vscode/extensions/vscode-api-tests/src/memfs.ts                                                                  	0 ms	(ERROR [65, 42] - [65, 49])
examples/vscode/extensions/vscode-notebook-tests/src/utils.ts                                                             	0 ms	(ERROR [65, 42] - [65, 49])
examples/vscode/src/vs/base/browser/ui/dropdown/dropdownActionViewItem.ts                                                 	0 ms	(ERROR [35, 30] - [35, 68])
examples/vscode/src/vs/base/browser/ui/grid/gridview.ts                                                                   	4 ms	(ERROR [1262, 98] - [1262, 99])
examples/vscode/src/vs/base/common/arrays.ts                                                                              	2 ms	(MISSING "]" [18, 38] - [18, 38])
examples/vscode/src/vs/base/common/async.ts                                                                               	3 ms	(ERROR [453, 97] - [453, 101])
examples/vscode/src/vs/base/common/diff/diff.ts                                                                           	6 ms	(ERROR [265, 58] - [265, 59])
examples/vscode/src/vs/base/common/event.ts                                                                               	2 ms	(ERROR [71, 75] - [71, 79])
examples/vscode/src/vs/base/common/filters.ts                                                                             	3 ms	(ERROR [549, 57] - [549, 59])
examples/vscode/src/vs/base/common/fuzzyScorer.ts                                                                         	2 ms	(ERROR [14, 52] - [14, 53])
examples/vscode/src/vs/base/common/glob.ts                                                                                	2 ms	(MISSING identifier [656, 50] - [656, 50])
examples/vscode/src/vs/base/common/iterator.ts                                                                            	0 ms	(ERROR [41, 86] - [41, 90])
examples/vscode/src/vs/base/common/keybindingParser.ts                                                                    	0 ms	(MISSING "]" [97, 72] - [97, 72])
examples/vscode/src/vs/base/common/map.ts                                                                                 	3 ms	(ERROR [393, 15] - [393, 16])
examples/vscode/src/vs/base/common/types.ts                                                                               	2 ms	(ERROR [10, 62] - [10, 76])
examples/vscode/src/vs/base/parts/ipc/common/ipc.ts                                                                       	4 ms	(ERROR [1202, 54] - [1202, 55])
examples/vscode/src/vs/base/test/common/glob.test.ts                                                                      	4 ms	(MISSING "]" [840, 124] - [840, 124])
examples/vscode/src/vs/code/node/cliProcessMain.ts                                                                        	0 ms	(ERROR [93, 82] - [93, 83])
examples/vscode/src/vs/editor/browser/controller/textAreaInput.ts                                                         	2 ms	(MISSING "]" [600, 79] - [600, 79])
examples/vscode/src/vs/editor/browser/controller/textAreaState.ts                                                         	1 ms	(MISSING "]" [72, 55] - [72, 55])
examples/vscode/src/vs/editor/browser/core/keybindingCancellation.ts                                                      	0 ms	(ERROR [28, 1] - [28, 8])
examples/vscode/src/vs/editor/browser/services/abstractCodeEditorService.ts                                               	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/editor/browser/services/openerService.ts                                                           	0 ms	(ERROR [95, 1] - [95, 8])
examples/vscode/src/vs/editor/browser/view/domLineBreaksComputer.ts                                                       	1 ms	(MISSING "]" [160, 131] - [160, 131])
examples/vscode/src/vs/editor/browser/viewParts/minimap/minimap.ts                                                        	6 ms	(MISSING "]" [540, 140] - [540, 140])
examples/vscode/src/vs/editor/browser/viewParts/overviewRuler/decorationsOverviewRuler.ts                                 	1 ms	(ERROR [92, 94] - [92, 95])
examples/vscode/src/vs/editor/common/config/editorOptions.ts                                                              	11 ms	(ERROR [4527, 103] - [4527, 104])
examples/vscode/src/vs/editor/common/controller/cursorDeleteOperations.ts                                                 	0 ms	(ERROR [17, 161] - [17, 167])
examples/vscode/src/vs/editor/common/model/textModelTokens.ts                                                             	1 ms	(ERROR [426, 55] - [426, 76])
examples/vscode/src/vs/editor/common/services/editorWorkerServiceImpl.ts                                                  	2 ms	(ERROR [49, 1] - [49, 8])
examples/vscode/src/vs/editor/common/services/markerDecorationsServiceImpl.ts                                             	1 ms	(ERROR [65, 1] - [65, 8])
examples/vscode/src/vs/editor/common/viewModel/splitLinesCollection.ts                                                    	9 ms	(ERROR [62, 107] - [62, 118])
examples/vscode/src/vs/editor/contrib/codelens/codeLensCache.ts                                                           	0 ms	(ERROR [40, 1] - [40, 8])
examples/vscode/src/vs/editor/contrib/codelens/codelens.ts                                                                	0 ms	(MISSING "]" [82, 102] - [82, 102])
examples/vscode/src/vs/editor/contrib/gotoSymbol/link/clickLinkGesture.ts                                                 	0 ms	(MISSING "]" [98, 101] - [98, 101])
examples/vscode/src/vs/editor/contrib/gotoSymbol/symbolNavigation.ts                                                      	0 ms	(ERROR [36, 1] - [36, 8])
examples/vscode/src/vs/editor/contrib/peekView/peekView.ts                                                                	1 ms	(ERROR [36, 1] - [36, 8])
examples/vscode/src/vs/editor/contrib/snippet/test/snippetVariables.test.ts                                               	1 ms	(ERROR [308, 3] - [308, 10])
examples/vscode/src/vs/editor/contrib/suggest/test/suggestModel.test.ts                                                   	3 ms	(ERROR [48, 4] - [48, 11])
examples/vscode/src/vs/editor/contrib/wordHighlighter/wordHighlighter.ts                                                  	2 ms	(MISSING identifier [46, 32] - [46, 32])
examples/vscode/src/vs/editor/contrib/wordOperations/test/wordTestUtils.ts                                                	0 ms	(MISSING "]" [8, 73] - [8, 73])
examples/vscode/src/vs/editor/standalone/browser/quickInput/standaloneQuickInputServiceImpl.ts                            	0 ms	(ERROR [54, 1] - [54, 8])
examples/vscode/src/vs/editor/standalone/browser/simpleServices.ts                                                        	3 ms	(ERROR [164, 1] - [164, 8])
examples/vscode/src/vs/editor/standalone/browser/standaloneThemeServiceImpl.ts                                            	1 ms	(ERROR [190, 1] - [190, 8])
examples/vscode/src/vs/editor/standalone/common/monarch/monarchTypes.ts                                                   	0 ms	(ERROR [59, 41] - [59, 58])
examples/vscode/src/vs/editor/standalone/test/browser/standaloneLanguages.test.ts                                         	0 ms	(ERROR [36, 2] - [36, 9])
examples/vscode/src/vs/editor/test/browser/editorTestServices.ts                                                          	0 ms	(ERROR [28, 1] - [28, 8])
examples/vscode/src/vs/editor/test/browser/services/openerService.test.ts                                                 	1 ms	(ERROR [18, 2] - [18, 9])
examples/vscode/src/vs/editor/test/common/services/testTextResourcePropertiesService.ts                                   	0 ms	(ERROR [12, 1] - [12, 8])
examples/vscode/src/vs/monaco.d.ts                                                                                        	10 ms	(ERROR [4211, 104] - [4211, 105])
examples/vscode/src/vs/platform/accessibility/common/accessibilityService.ts                                              	0 ms	(ERROR [12, 1] - [12, 8])
examples/vscode/src/vs/platform/actions/browser/menuEntryActionViewItem.ts                                                	1 ms	(ERROR [36, 53] - [36, 67])
examples/vscode/src/vs/platform/actions/common/actions.ts                                                                 	2 ms	(ERROR [167, 52] - [167, 58])
examples/vscode/src/vs/platform/actions/common/menuService.ts                                                             	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/platform/backup/electron-main/backupMainService.ts                                                 	1 ms	(ERROR [24, 1] - [24, 8])
examples/vscode/src/vs/platform/clipboard/browser/clipboardService.ts                                                     	0 ms	(ERROR [11, 1] - [11, 8])
examples/vscode/src/vs/platform/configuration/common/configuration.ts                                                     	1 ms	(ERROR [52, 27] - [52, 28])
examples/vscode/src/vs/platform/configuration/common/configurationModels.ts                                               	3 ms	(ERROR [509, 34] - [509, 35])
examples/vscode/src/vs/platform/configuration/common/configurationRegistry.ts                                             	1 ms	(MISSING "]" [499, 56] - [499, 56])
examples/vscode/src/vs/platform/configuration/common/configurationService.ts                                              	0 ms	(ERROR [18, 1] - [18, 8])
examples/vscode/src/vs/platform/contextkey/browser/contextKeyService.ts                                                   	1 ms	(ERROR [246, 1] - [246, 8])
examples/vscode/src/vs/platform/contextview/browser/contextMenuService.ts                                                 	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/platform/contextview/browser/contextViewService.ts                                                 	0 ms	(ERROR [11, 1] - [11, 8])
examples/vscode/src/vs/platform/debug/common/extensionHostDebugIpc.ts                                                     	0 ms	(ERROR [51, 1] - [51, 8])
examples/vscode/src/vs/platform/diagnostics/node/diagnosticsService.ts                                                    	2 ms	(ERROR [226, 1] - [226, 8])
examples/vscode/src/vs/platform/dialogs/electron-main/dialogMainService.ts                                                	1 ms	(ERROR [48, 1] - [48, 8])
examples/vscode/src/vs/platform/dialogs/test/common/testDialogService.ts                                                  	0 ms	(ERROR [10, 1] - [10, 8])
examples/vscode/src/vs/platform/display/electron-main/displayMainService.ts                                               	0 ms	(ERROR [18, 1] - [18, 8])
examples/vscode/src/vs/platform/download/common/downloadIpc.ts                                                            	0 ms	(ERROR [29, 1] - [29, 8])
examples/vscode/src/vs/platform/download/common/downloadService.ts                                                        	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/platform/driver/electron-main/driver.ts                                                            	0 ms	(ERROR [29, 1] - [29, 8])
examples/vscode/src/vs/platform/driver/node/driver.ts                                                                     	1 ms	(ERROR [44, 1] - [44, 8])
examples/vscode/src/vs/platform/encryption/electron-main/encryptionMainService.ts                                         	0 ms	(ERROR [17, 1] - [17, 8])
examples/vscode/src/vs/platform/environment/node/argv.ts                                                                  	1 ms	(MISSING identifier [245, 34] - [245, 34])
examples/vscode/src/vs/platform/environment/node/environmentService.ts                                                    	1 ms	(ERROR [20, 1] - [20, 8])
examples/vscode/src/vs/platform/extensionManagement/common/extensionEnablementService.ts                                  	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/platform/extensionManagement/common/extensionGalleryService.ts                                     	3 ms	(MISSING identifier [245, 55] - [245, 55])
examples/vscode/src/vs/platform/extensionManagement/common/extensionManagementCLIService.ts                               	1 ms	(MISSING "]" [32, 60] - [32, 60])
examples/vscode/src/vs/platform/extensionManagement/common/extensionManagementIpc.ts                                      	1 ms	(ERROR [82, 1] - [82, 8])
examples/vscode/src/vs/platform/extensionManagement/node/extensionManagementService.ts                                    	3 ms	(ERROR [65, 1] - [65, 8])
examples/vscode/src/vs/platform/extensionManagement/node/extensionUrlTrustService.ts                                      	0 ms	(ERROR [12, 1] - [12, 8])
examples/vscode/src/vs/platform/extensionRecommendations/electron-sandbox/extensionRecommendationsIpc.ts                  	0 ms	(ERROR [11, 1] - [11, 8])
examples/vscode/src/vs/platform/files/common/fileService.ts                                                               	4 ms	(ERROR [25, 1] - [25, 8])
examples/vscode/src/vs/platform/instantiation/common/extensions.ts                                                        	0 ms	(ERROR [8, 17] - [8, 41])
examples/vscode/src/vs/platform/instantiation/common/instantiation.ts                                                     	1 ms	(ERROR [74, 32] - [74, 33])
examples/vscode/src/vs/platform/instantiation/common/instantiationService.ts                                              	1 ms	(ERROR [24, 1] - [24, 8])
examples/vscode/src/vs/platform/instantiation/common/serviceCollection.ts                                                 	0 ms	(ERROR [12, 13] - [12, 54])
examples/vscode/src/vs/platform/instantiation/test/common/instantiationService.test.ts                                    	1 ms	(ERROR [19, 1] - [19, 8])
examples/vscode/src/vs/platform/ipc/electron-browser/sharedProcessService.ts                                              	0 ms	(ERROR [28, 1] - [28, 8])
examples/vscode/src/vs/platform/ipc/electron-sandbox/mainProcessService.ts                                                	0 ms	(ERROR [27, 1] - [27, 8])
examples/vscode/src/vs/platform/issue/electron-main/issueMainService.ts                                                   	1 ms	(ERROR [32, 1] - [32, 8])
examples/vscode/src/vs/platform/keyboardLayout/electron-main/keyboardLayoutMainService.ts                                 	0 ms	(ERROR [17, 1] - [17, 8])
examples/vscode/src/vs/platform/launch/electron-main/launchMainService.ts                                                 	1 ms	(ERROR [47, 1] - [47, 8])
examples/vscode/src/vs/platform/lifecycle/electron-main/lifecycleMainService.ts                                           	1 ms	(ERROR [139, 1] - [139, 8])
examples/vscode/src/vs/platform/list/browser/listService.ts                                                               	5 ms	(ERROR [51, 1] - [51, 8])
examples/vscode/src/vs/platform/localizations/node/localizations.ts                                                       	0 ms	(ERROR [31, 1] - [31, 8])
examples/vscode/src/vs/platform/log/browser/log.ts                                                                        	0 ms	(ERROR [18, 1] - [18, 8])
examples/vscode/src/vs/platform/log/common/bufferLog.ts                                                                   	0 ms	(ERROR [26, 1] - [26, 8])
examples/vscode/src/vs/platform/log/common/fileLogService.ts                                                              	1 ms	(ERROR [19, 1] - [19, 8])
examples/vscode/src/vs/platform/log/common/log.ts                                                                         	2 ms	(ERROR [82, 1] - [82, 8])
examples/vscode/src/vs/platform/log/common/logIpc.ts                                                                      	0 ms	(ERROR [75, 1] - [75, 8])
examples/vscode/src/vs/platform/log/node/loggerService.ts                                                                 	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/platform/log/node/spdlogService.ts                                                                 	0 ms	(ERROR [47, 1] - [47, 8])
examples/vscode/src/vs/platform/markers/common/markerService.ts                                                           	1 ms	(ERROR [141, 1] - [141, 8])
examples/vscode/src/vs/platform/menubar/electron-main/menubarMainService.ts                                               	0 ms	(ERROR [19, 1] - [19, 8])
examples/vscode/src/vs/platform/native/electron-main/nativeHostMainService.ts                                             	2 ms	(ERROR [22, 48] - [22, 49])
examples/vscode/src/vs/platform/native/electron-sandbox/nativeHostService.ts                                              	0 ms	(ERROR [12, 1] - [12, 8])
examples/vscode/src/vs/platform/notification/test/common/testNotificationService.ts                                       	0 ms	(ERROR [10, 1] - [10, 8])
examples/vscode/src/vs/platform/quickinput/browser/quickAccess.ts                                                         	0 ms	(MISSING "]" [174, 71] - [174, 71])
examples/vscode/src/vs/platform/quickinput/browser/quickInput.ts                                                          	0 ms	(ERROR [25, 1] - [25, 8])
examples/vscode/src/vs/platform/remote/browser/remoteAuthorityResolverService.ts                                          	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/platform/remote/common/tunnel.ts                                                                   	1 ms	(ERROR [114, 1] - [114, 8])
examples/vscode/src/vs/platform/remote/electron-sandbox/remoteAuthorityResolverService.ts                                 	0 ms	(ERROR [35, 1] - [35, 8])
examples/vscode/src/vs/platform/request/browser/requestService.ts                                                         	0 ms	(ERROR [18, 1] - [18, 8])
examples/vscode/src/vs/platform/request/common/requestIpc.ts                                                              	0 ms	(ERROR [12, 23] - [16, 3])
examples/vscode/src/vs/platform/request/node/requestService.ts                                                            	0 ms	(ERROR [37, 1] - [37, 8])
examples/vscode/src/vs/platform/sign/browser/signService.ts                                                               	0 ms	(ERROR [9, 1] - [9, 8])
examples/vscode/src/vs/platform/sign/node/signService.ts                                                                  	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/platform/state/node/stateService.ts                                                                	0 ms	(ERROR [127, 1] - [127, 8])
examples/vscode/src/vs/platform/storage/common/storage.ts                                                                 	1 ms	(ERROR [222, 1] - [222, 8])
examples/vscode/src/vs/platform/storage/node/storageIpc.ts                                                                	0 ms	(ERROR [156, 1] - [156, 8])
examples/vscode/src/vs/platform/storage/node/storageMainService.ts                                                        	0 ms	(ERROR [88, 1] - [88, 8])
examples/vscode/src/vs/platform/telemetry/common/errorTelemetry.ts                                                        	0 ms	(ERROR [43, 15] - [43, 23])
examples/vscode/src/vs/platform/telemetry/common/telemetryService.ts                                                      	0 ms	(MISSING "," [30, 8] - [30, 8])
examples/vscode/src/vs/platform/telemetry/common/telemetryUtils.ts                                                        	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/platform/telemetry/test/common/telemetryLogAppender.test.ts                                        	0 ms	(ERROR [11, 1] - [11, 8])
examples/vscode/src/vs/platform/theme/electron-main/themeMainService.ts                                                   	0 ms	(ERROR [27, 1] - [27, 8])
examples/vscode/src/vs/platform/theme/test/common/testThemeService.ts                                                     	0 ms	(ERROR [49, 1] - [49, 8])
examples/vscode/src/vs/platform/undoRedo/common/undoRedoService.ts                                                        	9 ms	(ERROR [458, 1] - [458, 8])
examples/vscode/src/vs/platform/update/electron-main/abstractUpdateService.ts                                             	0 ms	(ERROR [26, 1] - [26, 8])
examples/vscode/src/vs/platform/update/electron-main/updateService.darwin.ts                                              	0 ms	(ERROR [21, 1] - [21, 8])
examples/vscode/src/vs/platform/update/electron-main/updateService.linux.ts                                               	0 ms	(ERROR [19, 1] - [19, 8])
examples/vscode/src/vs/platform/update/electron-main/updateService.snap.ts                                                	0 ms	(ERROR [19, 1] - [19, 8])
examples/vscode/src/vs/platform/update/electron-main/updateService.win32.ts                                               	1 ms	(ERROR [51, 1] - [51, 8])
examples/vscode/src/vs/platform/url/common/urlService.ts                                                                  	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/platform/userDataSync/common/extensionsStorageSync.ts                                              	0 ms	(ERROR [32, 1] - [32, 8])
examples/vscode/src/vs/platform/userDataSync/common/ignoredExtensions.ts                                                  	0 ms	(ERROR [24, 1] - [24, 8])
examples/vscode/src/vs/platform/userDataSync/common/settingsMerge.ts                                                      	2 ms	(MISSING identifier [43, 53] - [43, 53])
examples/vscode/src/vs/platform/userDataSync/common/userDataAutoSyncService.ts                                            	2 ms	(MISSING identifier [366, 54] - [366, 54])
examples/vscode/src/vs/platform/userDataSync/common/userDataSync.ts                                                       	1 ms	(ERROR [408, 40] - [408, 61])
examples/vscode/src/vs/platform/userDataSync/common/userDataSyncIpc.ts                                                    	1 ms	(ERROR [156, 1] - [156, 8])
examples/vscode/src/vs/platform/userDataSync/common/userDataSyncLog.ts                                                    	0 ms	(ERROR [11, 1] - [11, 8])
examples/vscode/src/vs/platform/userDataSync/common/userDataSyncService.ts                                                	3 ms	(ERROR [58, 52] - [58, 53])
examples/vscode/src/vs/platform/userDataSync/common/userDataSyncStoreService.ts                                           	2 ms	(MISSING identifier [82, 107] - [82, 107])
examples/vscode/src/vs/platform/webview/electron-main/webviewMainService.ts                                               	0 ms	(ERROR [20, 1] - [20, 8])
examples/vscode/src/vs/platform/windows/electron-main/windowsMainService.ts                                               	4 ms	(ERROR [116, 1] - [116, 8])
examples/vscode/src/vs/platform/workspaces/electron-main/workspacesHistoryMainService.ts                                  	1 ms	(MISSING "," [57, 8] - [57, 8])
examples/vscode/src/vs/platform/workspaces/electron-main/workspacesMainService.ts                                         	0 ms	(ERROR [15, 1] - [15, 8])
examples/vscode/src/vs/platform/workspaces/electron-main/workspacesManagementMainService.ts                               	1 ms	(ERROR [65, 1] - [65, 8])
examples/vscode/src/vs/platform/workspaces/test/electron-main/workspacesManagementMainService.test.ts                     	2 ms	(ERROR [29, 2] - [29, 9])
examples/vscode/src/vs/vscode.d.ts                                                                                        	11 ms	(ERROR [3180, 27] - [3180, 28])
examples/vscode/src/vs/workbench/api/browser/mainThreadDecorations.ts                                                     	0 ms	(ERROR [68, 54] - [68, 59])
examples/vscode/src/vs/workbench/api/browser/mainThreadDiagnostics.ts                                                     	0 ms	(ERROR [37, 41] - [37, 42])
examples/vscode/src/vs/workbench/api/browser/mainThreadNotebook.ts                                                        	2 ms	(ERROR [265, 154] - [265, 155])
examples/vscode/src/vs/workbench/api/common/extHost.api.impl.ts                                                           	5 ms	(ERROR [1292, 1] - [1292, 2])
examples/vscode/src/vs/workbench/api/common/extHost.protocol.ts                                                           	9 ms	(MISSING "]" [108, 49] - [108, 49])
examples/vscode/src/vs/workbench/api/common/extHostApiCommands.ts                                                         	2 ms	(ERROR [134, 22] - [134, 30])
examples/vscode/src/vs/workbench/api/common/extHostApiDeprecationService.ts                                               	0 ms	(ERROR [21, 1] - [21, 8])
examples/vscode/src/vs/workbench/api/common/extHostConfiguration.ts                                                       	1 ms	(ERROR [322, 16] - [322, 64])
examples/vscode/src/vs/workbench/api/common/extHostCustomers.ts                                                           	0 ms	(ERROR [10, 59] - [10, 79])
examples/vscode/src/vs/workbench/api/common/extHostDiagnostics.ts                                                         	2 ms	(ERROR [48, 35] - [48, 39])
examples/vscode/src/vs/workbench/api/common/extHostFileSystem.ts                                                          	1 ms	(ERROR [215, 69] - [215, 75])
examples/vscode/src/vs/workbench/api/common/extHostFileSystemConsumer.ts                                                  	0 ms	(ERROR [30, 52] - [30, 59])
examples/vscode/src/vs/workbench/api/common/extHostFileSystemInfo.ts                                                      	0 ms	(ERROR [11, 1] - [11, 8])
examples/vscode/src/vs/workbench/api/common/extHostNotebook.ts                                                            	3 ms	(MISSING identifier [430, 51] - [430, 51])
examples/vscode/src/vs/workbench/api/common/extHostQuickOpen.ts                                                           	2 ms	(ERROR [235, 1] - [235, 2])
examples/vscode/src/vs/workbench/api/common/extHostSearch.ts                                                              	0 ms	(MISSING ";" [115, 72] - [115, 72])
examples/vscode/src/vs/workbench/api/common/extHostSecrets.ts                                                             	0 ms	(ERROR [14, 10] - [14, 11])
examples/vscode/src/vs/workbench/api/common/extHostStatusBar.ts                                                           	0 ms	(ERROR [20, 1] - [20, 2])
examples/vscode/src/vs/workbench/api/common/extHostTask.ts                                                                	3 ms	(ERROR [343, 10] - [343, 11])
examples/vscode/src/vs/workbench/api/common/extHostTesting.ts                                                             	2 ms	(ERROR [641, 10] - [641, 11])
examples/vscode/src/vs/workbench/api/common/extHostTextEditor.ts                                                          	1 ms	(ERROR [438, 58] - [438, 106])
examples/vscode/src/vs/workbench/api/common/extHostTimeline.ts                                                            	0 ms	(ERROR [24, 1] - [24, 8])
examples/vscode/src/vs/workbench/api/common/extHostTunnelService.ts                                                       	0 ms	(ERROR [53, 1] - [53, 8])
examples/vscode/src/vs/workbench/api/common/extHostTypes.ts                                                               	8 ms	(ERROR [44, 1] - [44, 2])
examples/vscode/src/vs/workbench/api/common/extHostUriTransformerService.ts                                               	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/api/common/extHostWebview.ts                                                             	1 ms	(ERROR [18, 10] - [18, 11])
examples/vscode/src/vs/workbench/api/common/extHostWebviewPanels.ts                                                       	1 ms	(ERROR [24, 10] - [24, 11])
examples/vscode/src/vs/workbench/api/common/extHostWebviewView.ts                                                         	0 ms	(ERROR [16, 10] - [16, 11])
examples/vscode/src/vs/workbench/api/common/jsonValidationExtensionPoint.ts                                               	0 ms	(MISSING identifier [15, 102] - [15, 102])
examples/vscode/src/vs/workbench/api/worker/extHostLogService.ts                                                          	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/browser/actions/workspaceCommands.ts                                                     	0 ms	(ERROR [78, 100] - [78, 130])
examples/vscode/src/vs/workbench/browser/layout.ts                                                                        	5 ms	(ERROR [97, 1] - [97, 8])
examples/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.ts                                             	4 ms	(ERROR [75, 1] - [75, 8])
examples/vscode/src/vs/workbench/browser/parts/editor/breadcrumbs.ts                                                      	1 ms	(ERROR [31, 1] - [31, 8])
examples/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.ts                                              	5 ms	(MISSING "]" [188, 88] - [188, 88])
examples/vscode/src/vs/workbench/browser/parts/editor/editorCommands.ts                                                   	3 ms	(ERROR [429, 146] - [429, 165])
examples/vscode/src/vs/workbench/browser/parts/editor/editorPart.ts                                                       	3 ms	(ERROR [85, 1] - [85, 8])
examples/vscode/src/vs/workbench/browser/parts/panel/panelPart.ts                                                         	3 ms	(MISSING "," [62, 8] - [62, 8])
examples/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.ts                                                     	1 ms	(ERROR [40, 1] - [40, 8])
examples/vscode/src/vs/workbench/browser/parts/statusbar/statusbarPart.ts                                                 	3 ms	(ERROR [376, 1] - [376, 8])
examples/vscode/src/vs/workbench/browser/parts/titlebar/titlebarPart.ts                                                   	1 ms	(MISSING "," [64, 8] - [64, 8])
examples/vscode/src/vs/workbench/browser/parts/views/viewsService.ts                                                      	2 ms	(ERROR [37, 1] - [37, 8])
examples/vscode/src/vs/workbench/contrib/bulkEdit/browser/bulkEditService.ts                                              	1 ms	(ERROR [114, 1] - [114, 8])
examples/vscode/src/vs/workbench/contrib/codeActions/common/codeActions.contribution.ts                                   	0 ms	(MISSING identifier [16, 102] - [16, 102])
examples/vscode/src/vs/workbench/contrib/codeEditor/browser/inspectEditorTokens/inspectEditorTokens.ts                    	2 ms	(ERROR [312, 35] - [312, 53])
examples/vscode/src/vs/workbench/contrib/comments/browser/commentNode.ts                                                  	2 ms	(ERROR [530, 31] - [530, 82])
examples/vscode/src/vs/workbench/contrib/comments/browser/commentService.ts                                               	1 ms	(ERROR [61, 1] - [61, 8])
examples/vscode/src/vs/workbench/contrib/comments/browser/commentsEditorContribution.ts                                   	2 ms	(MISSING "]" [158, 60] - [158, 60])
examples/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.ts                                            	0 ms	(MISSING identifier [88, 114] - [88, 114])
examples/vscode/src/vs/workbench/contrib/debug/browser/breakpointWidget.ts                                                	1 ms	(ERROR [77, 1] - [77, 8])
examples/vscode/src/vs/workbench/contrib/debug/browser/debugService.ts                                                    	4 ms	(ERROR [53, 1] - [53, 8])
examples/vscode/src/vs/workbench/contrib/debug/browser/extensionHostDebugService.ts                                       	0 ms	(ERROR [137, 1] - [137, 8])
examples/vscode/src/vs/workbench/contrib/debug/browser/repl.ts                                                            	3 ms	(ERROR [80, 1] - [80, 8])
examples/vscode/src/vs/workbench/contrib/debug/common/debugSchemas.ts                                                     	0 ms	(MISSING identifier [13, 116] - [13, 116])
examples/vscode/src/vs/workbench/contrib/debug/node/debugHelperService.ts                                                 	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/contrib/experiments/common/experimentService.ts                                          	2 ms	(ERROR [165, 1] - [165, 8])
examples/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationNotificationService.ts                 	2 ms	(ERROR [111, 1] - [111, 8])
examples/vscode/src/vs/workbench/contrib/extensions/browser/extensionRecommendationsService.ts                            	1 ms	(ERROR [31, 1] - [31, 8])
examples/vscode/src/vs/workbench/contrib/extensions/browser/extensionsWorkbenchService.ts                                 	5 ms	(MISSING "," [493, 8] - [493, 8])
examples/vscode/src/vs/workbench/contrib/extensions/common/extensionsUtils.ts                                             	0 ms	(MISSING identifier [95, 44] - [95, 44])
examples/vscode/src/vs/workbench/contrib/extensions/electron-browser/extensionProfileService.ts                           	0 ms	(ERROR [25, 1] - [25, 8])
examples/vscode/src/vs/workbench/contrib/extensions/test/electron-browser/extensionsActions.test.ts                       	12 ms	(MISSING identifier [2382, 54] - [2382, 54])
examples/vscode/src/vs/workbench/contrib/extensions/test/electron-browser/extensionsWorkbenchService.test.ts              	7 ms	(MISSING identifier [1485, 55] - [1485, 55])
examples/vscode/src/vs/workbench/contrib/files/browser/explorerService.ts                                                 	1 ms	(ERROR [28, 1] - [28, 8])
examples/vscode/src/vs/workbench/contrib/issue/browser/issueService.ts                                                    	0 ms	(ERROR [25, 1] - [25, 8])
examples/vscode/src/vs/workbench/contrib/issue/electron-sandbox/issueService.ts                                           	0 ms	(ERROR [22, 1] - [22, 8])
examples/vscode/src/vs/workbench/contrib/markers/browser/markersModel.ts                                                  	0 ms	(ERROR [173, 20] - [173, 54])
examples/vscode/src/vs/workbench/contrib/notebook/browser/extensionPoint.ts                                               	0 ms	(MISSING identifier [135, 116] - [135, 116])
examples/vscode/src/vs/workbench/contrib/notebook/browser/notebookBrowser.ts                                              	2 ms	(ERROR [117, 50] - [117, 58])
examples/vscode/src/vs/workbench/contrib/notebook/browser/notebookServiceImpl.ts                                          	3 ms	(ERROR [242, 1] - [242, 8])
examples/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/cellActionView.ts                                	0 ms	(ERROR [42, 54] - [42, 68])
examples/vscode/src/vs/workbench/contrib/notebook/browser/view/renderers/webviewPreloads.ts                               	2 ms	(ERROR [327, 124] - [327, 127])
examples/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/cellOutputViewModel.ts                                	0 ms	(ERROR [47, 50] - [47, 58])
examples/vscode/src/vs/workbench/contrib/notebook/browser/viewModel/notebookViewModel.ts                                  	3 ms	(MISSING "]" [65, 14] - [65, 14])
examples/vscode/src/vs/workbench/contrib/notebook/common/model/cellEdit.ts                                                	0 ms	(ERROR [57, 47] - [57, 48])
examples/vscode/src/vs/workbench/contrib/notebook/common/model/notebookTextModel.ts                                       	2 ms	(ERROR [420, 97] - [420, 98])
examples/vscode/src/vs/workbench/contrib/notebook/common/notebookCommon.ts                                                	2 ms	(MISSING "]" [278, 2] - [278, 2])
examples/vscode/src/vs/workbench/contrib/notebook/common/services/notebookWorkerServiceImpl.ts                            	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/contrib/notebook/test/testNotebookEditor.ts                                              	1 ms	(ERROR [423, 201] - [423, 202])
examples/vscode/src/vs/workbench/contrib/output/browser/outputServices.ts                                                 	1 ms	(ERROR [58, 1] - [58, 8])
examples/vscode/src/vs/workbench/contrib/output/common/outputChannelModelService.ts                                       	0 ms	(ERROR [9, 1] - [9, 8])
examples/vscode/src/vs/workbench/contrib/output/electron-browser/outputChannelModelService.ts                             	0 ms	(ERROR [201, 1] - [201, 8])
examples/vscode/src/vs/workbench/contrib/preferences/browser/keybindingWidgets.ts                                         	1 ms	(MISSING "]" [42, 71] - [42, 71])
examples/vscode/src/vs/workbench/contrib/preferences/browser/preferencesSearch.ts                                         	2 ms	(ERROR [35, 1] - [35, 8])
examples/vscode/src/vs/workbench/contrib/preferences/browser/settingsTree.ts                                              	7 ms	(MISSING identifier [2061, 60] - [2061, 60])
examples/vscode/src/vs/workbench/contrib/scm/browser/scmViewPane.ts                                                       	8 ms	(ERROR [458, 100] - [458, 101])
examples/vscode/src/vs/workbench/contrib/scm/browser/scmViewService.ts                                                    	0 ms	(ERROR [25, 1] - [25, 8])
examples/vscode/src/vs/workbench/contrib/scm/browser/util.ts                                                              	0 ms	(MISSING "]" [74, 64] - [74, 64])
examples/vscode/src/vs/workbench/contrib/scm/common/scmService.ts                                                         	0 ms	(ERROR [178, 1] - [178, 8])
examples/vscode/src/vs/workbench/contrib/search/browser/replaceService.ts                                                 	1 ms	(ERROR [92, 1] - [92, 8])
examples/vscode/src/vs/workbench/contrib/search/common/search.ts                                                          	0 ms	(ERROR [61, 111] - [61, 157])
examples/vscode/src/vs/workbench/contrib/search/common/searchHistoryService.ts                                            	0 ms	(ERROR [28, 1] - [28, 8])
examples/vscode/src/vs/workbench/contrib/search/common/searchModel.ts                                                     	4 ms	(ERROR [323, 65] - [323, 86])
examples/vscode/src/vs/workbench/contrib/snippets/browser/snippetsService.ts                                              	1 ms	(ERROR [170, 1] - [170, 8])
examples/vscode/src/vs/workbench/contrib/snippets/test/browser/snippetsService.test.ts                                    	2 ms	(ERROR [18, 1] - [18, 8])
examples/vscode/src/vs/workbench/contrib/tags/browser/workspaceTagsService.ts                                             	0 ms	(ERROR [12, 1] - [12, 8])
examples/vscode/src/vs/workbench/contrib/tags/electron-browser/workspaceTags.ts                                           	0 ms	(MISSING identifier [100, 21] - [100, 21])
examples/vscode/src/vs/workbench/contrib/tags/electron-browser/workspaceTagsService.ts                                    	1 ms	(ERROR [122, 1] - [122, 8])
examples/vscode/src/vs/workbench/contrib/tasks/browser/abstractTaskService.ts                                             	21 ms	(ERROR [480, 46] - [480, 47])
examples/vscode/src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts                                              	6 ms	(MISSING "]" [1129, 168] - [1129, 168])
examples/vscode/src/vs/workbench/contrib/tasks/common/taskConfiguration.ts                                                	6 ms	(ERROR [1223, 86] - [1223, 92])
examples/vscode/src/vs/workbench/contrib/tasks/node/processTaskSystem.ts                                                  	1 ms	(MISSING identifier [154, 47] - [154, 47])
examples/vscode/src/vs/workbench/contrib/terminal/browser/terminalConfigHelper.ts                                         	1 ms	(MISSING identifier [219, 73] - [219, 73])
examples/vscode/src/vs/workbench/contrib/terminal/common/environmentVariableService.ts                                    	0 ms	(ERROR [24, 1] - [24, 8])
examples/vscode/src/vs/workbench/contrib/terminal/common/remoteTerminalChannel.ts                                         	1 ms	(MISSING identifier [388, 58] - [388, 58])
examples/vscode/src/vs/workbench/contrib/terminal/common/terminalEnvironment.ts                                           	1 ms	(ERROR [247, 7] - [249, 12])
examples/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerFilter.ts                                         	0 ms	(ERROR [40, 1] - [40, 8])
examples/vscode/src/vs/workbench/contrib/testing/browser/testingExplorerView.ts                                           	2 ms	(ERROR [73, 96] - [73, 97])
examples/vscode/src/vs/workbench/contrib/testing/common/testResultService.ts                                              	0 ms	(ERROR [193, 1] - [193, 8])
examples/vscode/src/vs/workbench/contrib/testing/common/testServiceImpl.ts                                                	1 ms	(ERROR [27, 1] - [27, 8])
examples/vscode/src/vs/workbench/contrib/testing/common/workspaceTestCollectionService.ts                                 	0 ms	(ERROR [71, 1] - [71, 8])
examples/vscode/src/vs/workbench/contrib/timeline/browser/timelinePane.ts                                                 	4 ms	(MISSING identifier [1244, 69] - [1244, 69])
examples/vscode/src/vs/workbench/contrib/timeline/common/timelineService.ts                                               	0 ms	(ERROR [19, 1] - [19, 8])
examples/vscode/src/vs/workbench/contrib/url/browser/trustedDomains.ts                                                    	0 ms	(ERROR [163, 20] - [163, 21])
examples/vscode/src/vs/workbench/contrib/userDataSync/browser/userDataSync.ts                                             	5 ms	(ERROR [170, 30] - [170, 75])
examples/vscode/src/vs/workbench/contrib/webview/browser/webviewService.ts                                                	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/contrib/webview/electron-browser/webviewService.ts                                       	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewWorkbenchService.ts                                  	1 ms	(ERROR [116, 1] - [116, 2])
examples/vscode/src/vs/workbench/contrib/welcome/gettingStarted/browser/gettingStarted.contribution.ts                    	0 ms	(ERROR [17, 0] - [17, 22])
examples/vscode/src/vs/workbench/electron-sandbox/sandbox.simpleservices.ts                                               	3 ms	(ERROR [61, 1] - [61, 8])
examples/vscode/src/vs/workbench/electron-sandbox/window.ts                                                               	2 ms	(MISSING identifier [573, 65] - [573, 65])
examples/vscode/src/vs/workbench/services/accessibility/electron-sandbox/accessibilityService.ts                          	0 ms	(ERROR [28, 1] - [28, 8])
examples/vscode/src/vs/workbench/services/authentication/browser/authenticationService.ts                                 	3 ms	(MISSING identifier [181, 107] - [181, 107])
examples/vscode/src/vs/workbench/services/backup/browser/backupFileService.ts                                             	0 ms	(ERROR [19, 1] - [19, 8])
examples/vscode/src/vs/workbench/services/backup/common/backupFileService.ts                                              	1 ms	(ERROR [109, 1] - [109, 8])
examples/vscode/src/vs/workbench/services/clipboard/electron-sandbox/clipboardService.ts                                  	0 ms	(MISSING "," [16, 8] - [16, 8])
examples/vscode/src/vs/workbench/services/commands/common/commandService.ts                                               	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/services/configuration/common/configurationModels.ts                                     	0 ms	(ERROR [145, 34] - [145, 35])
examples/vscode/src/vs/workbench/services/configurationResolver/common/variableResolver.ts                                	1 ms	(MISSING "," [34, 8] - [34, 8])
examples/vscode/src/vs/workbench/services/configurationResolver/test/electron-browser/configurationResolverService.test.ts	2 ms	(ERROR [646, 1] - [646, 8])
examples/vscode/src/vs/workbench/services/contextmenu/electron-sandbox/contextmenuService.ts                              	0 ms	(ERROR [30, 1] - [30, 8])
examples/vscode/src/vs/workbench/services/credentials/browser/credentialsService.ts                                       	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/credentials/electron-sandbox/credentialsService.ts                              	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/decorations/browser/decorationsService.ts                                       	1 ms	(ERROR [313, 1] - [313, 8])
examples/vscode/src/vs/workbench/services/diagnostics/electron-browser/diagnosticsService.ts                              	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/dialogs/browser/abstractFileDialogService.ts                                    	1 ms	(ERROR [30, 1] - [30, 8])
examples/vscode/src/vs/workbench/services/dialogs/browser/simpleFileDialog.ts                                             	3 ms	(ERROR [224, 28] - [224, 59])
examples/vscode/src/vs/workbench/services/dialogs/electron-sandbox/fileDialogService.ts                                   	0 ms	(ERROR [27, 1] - [27, 8])
examples/vscode/src/vs/workbench/services/editor/browser/editorService.ts                                                 	4 ms	(ERROR [47, 1] - [47, 8])
examples/vscode/src/vs/workbench/services/encryption/browser/encryptionService.ts                                         	0 ms	(ERROR [10, 1] - [10, 8])
examples/vscode/src/vs/workbench/services/encryption/electron-sandbox/encryptionService.ts                                	0 ms	(ERROR [12, 1] - [12, 8])
examples/vscode/src/vs/workbench/services/environment/browser/environmentService.ts                                       	1 ms	(ERROR [94, 1] - [94, 8])
examples/vscode/src/vs/workbench/services/environment/electron-browser/environmentService.ts                              	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/browser/builtinExtensionsScannerService.ts                  	0 ms	(ERROR [24, 1] - [24, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/browser/extensionBisect.ts                                  	1 ms	(ERROR [66, 1] - [66, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/browser/extensionEnablementService.ts                       	1 ms	(ERROR [33, 1] - [33, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/browser/extensionUrlTrustService.ts                         	0 ms	(ERROR [10, 1] - [10, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementServerService.ts                  	0 ms	(ERROR [23, 1] - [23, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/common/extensionManagementService.ts                        	1 ms	(ERROR [30, 1] - [30, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/common/webExtensionManagementService.ts                     	0 ms	(ERROR [17, 1] - [17, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/common/webExtensionsScannerService.ts                       	1 ms	(ERROR [49, 1] - [49, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/electron-browser/extensionManagementServerService.ts        	0 ms	(ERROR [20, 1] - [20, 8])
examples/vscode/src/vs/workbench/services/extensionManagement/electron-browser/extensionTipsService.ts                    	0 ms	(MISSING identifier [36, 53] - [36, 53])
examples/vscode/src/vs/workbench/services/extensionManagement/electron-sandbox/extensionUrlTrustService.ts                	0 ms	(ERROR [12, 1] - [12, 8])
examples/vscode/src/vs/workbench/services/extensionRecommendations/common/extensionIgnoredRecommendationsService.ts       	0 ms	(ERROR [17, 1] - [17, 8])
examples/vscode/src/vs/workbench/services/extensionRecommendations/common/workspaceExtensionsConfig.ts                    	1 ms	(ERROR [45, 1] - [45, 8])
examples/vscode/src/vs/workbench/services/extensionResourceLoader/browser/extensionResourceLoaderService.ts               	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/extensionResourceLoader/electron-sandbox/extensionResourceLoaderService.ts      	0 ms	(ERROR [12, 1] - [12, 8])
examples/vscode/src/vs/workbench/services/extensions/browser/extensionUrlHandler.ts                                       	1 ms	(MISSING "]" [347, 45] - [347, 45])
examples/vscode/src/vs/workbench/services/extensions/browser/webWorkerExtensionHost.ts                                    	1 ms	(MISSING "]" [59, 73] - [59, 73])
examples/vscode/src/vs/workbench/services/extensions/common/extensionHostManager.ts                                       	1 ms	(MISSING "]" [33, 49] - [33, 49])
examples/vscode/src/vs/workbench/services/extensions/common/extensions.ts                                                 	1 ms	(MISSING "]" [97, 39] - [97, 39])
examples/vscode/src/vs/workbench/services/extensions/common/extensionsRegistry.ts                                         	1 ms	(ERROR [80, 34] - [80, 76])
examples/vscode/src/vs/workbench/services/extensions/common/remoteExtensionHost.ts                                        	1 ms	(MISSING "]" [55, 41] - [55, 41])
examples/vscode/src/vs/workbench/services/extensions/electron-browser/cachedExtensionScanner.ts                           	1 ms	(MISSING identifier [262, 63] - [262, 63])
examples/vscode/src/vs/workbench/services/extensions/node/extensionHostProcessSetup.ts                                    	1 ms	(ERROR [323, 2] - [323, 9])
examples/vscode/src/vs/workbench/services/extensions/worker/extensionHostWorker.ts                                        	0 ms	(ERROR [76, 1] - [76, 8])
examples/vscode/src/vs/workbench/services/filesConfiguration/common/filesConfigurationService.ts                          	0 ms	(ERROR [61, 1] - [61, 8])
examples/vscode/src/vs/workbench/services/gettingStarted/common/gettingStartedService.ts                                  	0 ms	(ERROR [48, 1] - [48, 8])
examples/vscode/src/vs/workbench/services/history/browser/history.ts                                                      	3 ms	(ERROR [100, 1] - [100, 8])
examples/vscode/src/vs/workbench/services/host/browser/browserHostService.ts                                              	1 ms	(ERROR [82, 1] - [82, 8])
examples/vscode/src/vs/workbench/services/host/electron-sandbox/nativeHostService.ts                                      	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/services/hover/browser/hoverService.ts                                                   	0 ms	(ERROR [17, 1] - [17, 8])
examples/vscode/src/vs/workbench/services/integrity/browser/integrityService.ts                                           	0 ms	(ERROR [10, 1] - [10, 8])
examples/vscode/src/vs/workbench/services/integrity/node/integrityService.ts                                              	0 ms	(ERROR [59, 1] - [59, 8])
examples/vscode/src/vs/workbench/services/issue/electron-sandbox/issueService.ts                                          	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/keybinding/electron-sandbox/nativeKeyboardLayout.ts                             	0 ms	(ERROR [21, 1] - [21, 8])
examples/vscode/src/vs/workbench/services/label/common/labelService.ts                                                    	1 ms	(MISSING identifier [25, 105] - [25, 105])
examples/vscode/src/vs/workbench/services/lifecycle/browser/lifecycleService.ts                                           	0 ms	(ERROR [15, 1] - [15, 8])
examples/vscode/src/vs/workbench/services/lifecycle/common/lifecycleService.ts                                            	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/workbench/services/lifecycle/electron-sandbox/lifecycleService.ts                                  	0 ms	(MISSING "," [27, 8] - [27, 8])
examples/vscode/src/vs/workbench/services/localizations/electron-browser/localizationsService.ts                          	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/menubar/electron-sandbox/menubarService.ts                                      	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/mode/common/workbenchModeService.ts                                             	0 ms	(MISSING identifier [30, 149] - [30, 149])
examples/vscode/src/vs/workbench/services/notification/common/notificationService.ts                                      	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/services/outline/browser/outlineService.ts                                               	0 ms	(ERROR [15, 1] - [15, 8])
examples/vscode/src/vs/workbench/services/path/common/pathService.ts                                                      	0 ms	(ERROR [64, 1] - [64, 8])
examples/vscode/src/vs/workbench/services/preferences/browser/preferencesService.ts                                       	3 ms	(ERROR [48, 1] - [48, 8])
examples/vscode/src/vs/workbench/services/preferences/common/preferencesModels.ts                                         	4 ms	(MISSING identifier [494, 26] - [494, 26])
examples/vscode/src/vs/workbench/services/progress/browser/progressIndicator.ts                                           	1 ms	(ERROR [63, 1] - [63, 8])
examples/vscode/src/vs/workbench/services/progress/browser/progressService.ts                                             	2 ms	(ERROR [31, 1] - [31, 8])
examples/vscode/src/vs/workbench/services/remote/common/abstractRemoteAgentService.ts                                     	0 ms	(ERROR [25, 1] - [25, 8])
examples/vscode/src/vs/workbench/services/remote/common/remoteAgentEnvironmentChannel.ts                                  	0 ms	(MISSING identifier [84, 62] - [84, 62])
examples/vscode/src/vs/workbench/services/remote/common/remoteAgentFileSystemChannel.ts                                   	0 ms	(MISSING identifier [64, 52] - [64, 52])
examples/vscode/src/vs/workbench/services/search/common/searchService.ts                                                  	2 ms	(ERROR [26, 1] - [26, 8])
examples/vscode/src/vs/workbench/services/search/node/rawSearchService.ts                                                 	1 ms	(ERROR [139, 240] - [139, 241])
examples/vscode/src/vs/workbench/services/telemetry/browser/telemetryService.ts                                           	0 ms	(ERROR [35, 1] - [35, 8])
examples/vscode/src/vs/workbench/services/telemetry/electron-browser/telemetryService.ts                                  	0 ms	(ERROR [22, 1] - [22, 8])
examples/vscode/src/vs/workbench/services/textMate/browser/abstractTextMateService.ts                                     	2 ms	(ERROR [394, 35] - [394, 48])
examples/vscode/src/vs/workbench/services/textMate/common/TMGrammarFactory.ts                                             	0 ms	(ERROR [35, 105] - [35, 118])
examples/vscode/src/vs/workbench/services/textMate/common/TMGrammars.ts                                                   	0 ms	(MISSING identifier [26, 142] - [26, 142])
examples/vscode/src/vs/workbench/services/textfile/browser/textFileService.ts                                             	2 ms	(ERROR [47, 1] - [47, 8])
examples/vscode/src/vs/workbench/services/textmodelResolver/common/textModelResolverService.ts                            	0 ms	(ERROR [173, 1] - [173, 8])
examples/vscode/src/vs/workbench/services/textresourceProperties/common/textResourcePropertiesService.ts                  	0 ms	(ERROR [18, 1] - [18, 8])
examples/vscode/src/vs/workbench/services/themes/browser/browserHostColorSchemeService.ts                                 	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/themes/browser/workbenchThemeService.ts                                         	2 ms	(ERROR [78, 1] - [78, 8])
examples/vscode/src/vs/workbench/services/themes/common/colorExtensionPoint.ts                                            	0 ms	(MISSING identifier [22, 93] - [22, 93])
examples/vscode/src/vs/workbench/services/themes/common/iconExtensionPoint.ts                                             	0 ms	(MISSING identifier [33, 96] - [33, 96])
examples/vscode/src/vs/workbench/services/themes/common/themeExtensionPoints.ts                                           	0 ms	(MISSING identifier [16, 71] - [16, 71])
examples/vscode/src/vs/workbench/services/themes/common/tokenClassificationExtensionPoint.ts                              	0 ms	(MISSING identifier [27, 93] - [27, 93])
examples/vscode/src/vs/workbench/services/themes/electron-sandbox/nativeHostColorSchemeService.ts                         	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/workbench/services/timer/browser/timerService.ts                                                   	1 ms	(ERROR [361, 37] - [361, 42])
examples/vscode/src/vs/workbench/services/untitled/common/untitledTextEditorService.ts                                    	0 ms	(ERROR [117, 1] - [117, 8])
examples/vscode/src/vs/workbench/services/update/browser/updateService.ts                                                 	0 ms	(ERROR [28, 1] - [28, 8])
examples/vscode/src/vs/workbench/services/update/electron-sandbox/updateService.ts                                        	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/uriIdentity/common/uriIdentityService.ts                                        	0 ms	(ERROR [26, 1] - [26, 8])
examples/vscode/src/vs/workbench/services/url/browser/urlService.ts                                                       	0 ms	(ERROR [40, 1] - [40, 8])
examples/vscode/src/vs/workbench/services/userDataSync/browser/userDataSyncWorkbenchService.ts                            	3 ms	(ERROR [743, 25] - [743, 70])
examples/vscode/src/vs/workbench/services/userDataSync/common/userDataSyncUtil.ts                                         	0 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/services/userDataSync/electron-browser/userDataAutoSyncService.ts                        	0 ms	(ERROR [13, 1] - [13, 8])
examples/vscode/src/vs/workbench/services/userDataSync/electron-browser/userDataSyncAccountService.ts                     	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/workbench/services/userDataSync/electron-browser/userDataSyncMachinesService.ts                    	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/workbench/services/userDataSync/electron-browser/userDataSyncService.ts                            	1 ms	(ERROR [16, 1] - [16, 8])
examples/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.ts                                          	3 ms	(ERROR [30, 1] - [30, 8])
examples/vscode/src/vs/workbench/services/workingCopy/common/workingCopyFileService.ts                                    	1 ms	(ERROR [231, 1] - [231, 8])
examples/vscode/src/vs/workbench/services/workingCopy/common/workingCopyService.ts                                        	0 ms	(ERROR [173, 1] - [173, 8])
examples/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.ts                           	1 ms	(ERROR [33, 1] - [33, 8])
examples/vscode/src/vs/workbench/services/workspaces/browser/workspaceEditingService.ts                                   	0 ms	(ERROR [25, 1] - [25, 8])
examples/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.ts                                         	0 ms	(MISSING "," [25, 8] - [25, 8])
examples/vscode/src/vs/workbench/services/workspaces/electron-sandbox/workspaceEditingService.ts                          	0 ms	(ERROR [36, 1] - [36, 8])
examples/vscode/src/vs/workbench/services/workspaces/electron-sandbox/workspacesService.ts                                	0 ms	(ERROR [14, 1] - [14, 8])
examples/vscode/src/vs/workbench/test/browser/api/extHostDiagnostics.test.ts                                              	2 ms	(ERROR [20, 65] - [20, 66])
examples/vscode/src/vs/workbench/test/browser/api/extHostMessagerService.test.ts                                          	0 ms	(ERROR [15, 1] - [15, 8])
examples/vscode/src/vs/workbench/test/browser/api/mainThreadDocumentsAndEditors.test.ts                                   	0 ms	(ERROR [87, 4] - [87, 11])
examples/vscode/src/vs/workbench/test/browser/api/mainThreadEditors.test.ts                                               	1 ms	(ERROR [157, 3] - [157, 10])
examples/vscode/src/vs/workbench/test/browser/workbenchTestServices.ts                                                    	8 ms	(ERROR [357, 1] - [357, 8])
examples/vscode/src/vs/workbench/test/common/workbenchTestServices.ts                                                     	1 ms	(ERROR [26, 1] - [26, 8])
examples/vscode/src/vs/workbench/test/electron-browser/workbenchTestServices.ts                                           	1 ms	(ERROR [148, 1] - [148, 8])
examples/vscode/src/vs/workbench/workbench.web.api.ts                                                                     	0 ms	(ERROR [446, 38] - [446, 75])

From what I saw, some of those errors are related to conditional types, thus the situation could improve with #124.

Anyways, I settled for the Redux code base which is smaller. It did help me find a missing case about export_statement not being adjusted for function_signature.

For running the tests on TypeScript and vscode, since those repositories are big, I've had to improve the script/parse-examples script. Figured I'd include it here since it does no harm and performs better than the old version. @maxbrunsfeld let me know if you want me to remove it.

@resolritter resolritter marked this pull request as ready for review February 4, 2021 20:31
@maxbrunsfeld
Copy link
Contributor

For running the tests on TypeScript and vscode, since those repositories are big, I've had to improve the script/parse-examples script.

This is great, thanks for improving that script, and taking the time to analyze some of the parse errors that you were seeing.

I pushed up a commit that simplifies the function_signature rule back down a bit. Take a look if you get a chance, let me know if you think I've missed anything. Tests pass though, and all the same files parse from Redux and GitHub Desktop.

git pull --ff-only --depth 1 origin "$sha"
if [ "${folder:-}" ]; then
while IFS= read -r file; do
echo "${folder}" "$file"
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a print debugging leftover. Not sure if you mind.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh yeah, I missed that. What is this while loop for?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's for cleaning unrelated folders before the **/*.ts glob. In the TypeScript repository there's the tests folder which has some broken files on purpose, so I thought I only wanted the src folder which is more certain to have only valid syntax.

This loop goes over the files in the directory and removes everything that's not $folder - in this case I was passing src as $folder since that's the only one I'm interested in.

@resolritter
Copy link
Contributor Author

Your change has resulted in a smaller for the same achievement, possibly faster as well due to less branching, so I think that's enough argument to get rid of the old approach no questions asked.

line_sum=0; for line in $(fd --glob "**/*.{c,cc,h}" --type file typescript tsx | xargs -l1 wc -l); do if [[ "$line" =~ ^[[:digit:]]+ ]]; then line_sum=$(( $line_sum + ${BASH_REMATCH[0]} )); fi; done; echo $line_sum

a6f1e71ea8ea983fa67e005f2c6a14c5dcf393a8 (HEAD) yields 343006 lines

789a0d01c8be5db990480e4abbb70f267a84c2c5 yields 345726 lines

I only implemented it that other way because I found it easier to reason about expressing the rules as a separate node... But if it can be unified, that's good. Thanks for taking a look at this.

@maxbrunsfeld maxbrunsfeld merged commit c17fe89 into tree-sitter:master Feb 5, 2021
@maxbrunsfeld
Copy link
Contributor

Thanks @resolritter.

while IFS= read -r file; do
echo "${folder}" "$file"
if [ "$file" != "$folder" ]; then
rm -r "$file"
Copy link
Contributor Author

@resolritter resolritter Feb 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be rm -rf instead of -r only because the ls -A will expose .git and other hidden files which might be write-protected. Otherwise, you'll get prompts like those:

> rm -r .git
rm: remove write-protected regular file '.git/objects/58/7ff082e0b98914788500eae5dd6a33f04883c9'? 

The intention is to remove anything unrelated to the $folder, so it makes sense to force removal with -f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Disable automatic colon insertion before function body

3 participants