Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect incremental sync states still exists #1061

Closed
iamcco opened this issue Aug 4, 2019 · 0 comments
Closed

Incorrect incremental sync states still exists #1061

iamcco opened this issue Aug 4, 2019 · 0 comments

Comments

@iamcco
Copy link
Contributor

iamcco commented Aug 4, 2019

According to #596 (comment)


I'm still having this problem, and I found an example which will consistently reproduce the problem on my machine
#ifndef _CHAINING_  
#define _CHAINING_                                                       
  
typedef struct ch_anchor_t {  
                                                                         
} ch_anchor_t;  
  
#endif  

So suppose you have a file like the above code snippet

Then you put your cursor on the line: typedef ...

Then press O to insert a line above.

Enter: /*<cr><cr><cr><backspace>/
So your comment should be completed, your code will look like the snippet below.

#ifndef _CHAINING_  
#define _CHAINING_                                                       
  
/**  
 *  
 */  
typedef struct ch_anchor_t {  
                                                                         
} ch_anchor_t;  
  
#endif 

And then you exit the insert mode using , you will be seeing a red mark marking the beginning of the comment. It says something about your comment is not finished correctly. However, the error message is incorrect.

The way I remove this error is to write the file and reload it using ":e" command, or using ":CocRestart"

It's not a big problem, but it's annoying.

I'm using clangd-8 BTW.

Maybe this type of comments will shadow everything afterward before it's completed, and after completing the comments, the language server will need to process a lot more new symbols that slow it down, this might be the reason why I can constantly reproduce the problem.


Also reproduce with below javascript code.

const fs = require('fs')

function test () {
}

Cursor on the line: function ...

Then press O to insert a line above.

Enter: /*<cr><cr><cr><cr><backspace>/<esc>

then got the follow diagnostic:

屏幕快照 2019-08-03 上午9 47 07

tsserver channel output

[Info  - 上午9:55:03] Forking TSServer
PATH: /Users/aioiyuuko/go/bin:/Users/aioiyuuko/.rbenv/shims:/Users/aioiyuuko/google-cloud-sdk/bin:/Users/aioiyuuko/.pub-cache/bin:/Users/aioiyuuko/sdk/flutter/bin/cache/dart-sdk/bin:/Users/aioiyuuko/sdk/flutter/bin:/Users/aioiyuuko/.cargo/bin:/Users/aioiyuuko/.config/npm/bin:/Users/aioiyuuko/Library/Android/sdk/platform-tools:/Users/aioiyuuko/Library/Android/sdk/tools:/Library/Java/JavaVirtualMachines/jdk1.8.0_162.jdk/Contents/Home/bin:/Users/aioiyuuko/.pyenv/shims:/Users/aioiyuuko/.fzf/bin:/Applications/kitty.app/Contents/MacOS:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin 
[Info  - 上午9:55:04] Started TSServer
{
  "path": "/Users/aioiyuuko/.config/coc/extensions/node_modules/coc-tsserver/node_modules/_typescript@3.5.1@typescript/lib",
  "_pathLabel": "",
  "_api": {
    "versionString": "3.5.1",
    "version": "3.5.1"
  }
}
[Trace  - 上午9:55:04] Sending request: compilerOptionsForInferredProjects (0). Response expected: no. Current queue length: 0
Arguments: {
    "options": {
        "module": "commonjs",
        "target": "es2016",
        "jsx": "preserve",
        "allowJs": true,
        "allowSyntheticDefaultImports": true,
        "allowNonTsExtensions": true
    }
}
[Trace  - 上午9:55:04] Sending request: updateOpen (1). Response expected: no. Current queue length: 0
Arguments: {
    "openFiles": [
        {
            "file": "/Users/aioiyuuko/my/test/t.js",
            "fileContent": "const fs = require('fs')\n\nfunction test () {\n}\n",
            "scriptKindName": "JS",
            "projectRootPath": "/Users/aioiyuuko/my/test"
        }
    ]
}
[Trace  - 上午9:55:04] Sending request: configurePlugin (2). Response expected: no. Current queue length: 0
Arguments: {
    "pluginName": "typescript-tslint-plugin",
    "configuration": {
        "alwaysShowRuleFailuresAsWarnings": true,
        "packageManager": "npm"
    }
}
[Trace  - 上午9:55:04] Sending request: configure (3). Response expected: yes. Current queue length: 0
Arguments: {
    "hostInfo": "nvim-coc",
    "formatOptions": {
        "tabSize": 2,
        "indentSize": 2,
        "convertTabsToSpaces": true,
        "newLineCharacter": "\n",
        "insertSpaceAfterCommaDelimiter": true,
        "insertSpaceAfterConstructor": false,
        "insertSpaceAfterSemicolonInForStatements": true,
        "insertSpaceBeforeAndAfterBinaryOperators": true,
        "insertSpaceAfterKeywordsInControlFlowStatements": true,
        "insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
        "insertSpaceBeforeFunctionParenthesis": false,
        "insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
        "insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
        "insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
        "insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
        "insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
        "insertSpaceAfterTypeAssertion": false,
        "placeOpenBraceOnNewLineForFunctions": false,
        "placeOpenBraceOnNewLineForControlBlocks": false
    },
    "preferences": {
        "disableSuggestions": false,
        "importModuleSpecifierPreference": "non-relative",
        "quotePreference": "single",
        "allowRenameOfImportPath": true,
        "allowTextChangesInNewFiles": true
    }
}
[Trace  - 上午9:55:04] Event received: typingsInstallerPid (0).
Data: {
    "pid": 70094
}
[Trace  - 上午9:55:05] Event received: projectsUpdatedInBackground (0).
Data: {
    "openFiles": [
        "/Users/aioiyuuko/my/test/t.js"
    ]
}
[Trace  - 上午9:55:05] Response received: configure (3). Request took 1232 ms. Success: true 
[Trace  - 上午9:55:05] Sending request: configure (4). Response expected: yes. Current queue length: 1
Arguments: {
    "hostInfo": "nvim-coc",
    "formatOptions": {
        "tabSize": 2,
        "indentSize": 2,
        "convertTabsToSpaces": true,
        "newLineCharacter": "\n",
        "insertSpaceAfterCommaDelimiter": true,
        "insertSpaceAfterConstructor": false,
        "insertSpaceAfterSemicolonInForStatements": true,
        "insertSpaceBeforeAndAfterBinaryOperators": true,
        "insertSpaceAfterKeywordsInControlFlowStatements": true,
        "insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
        "insertSpaceBeforeFunctionParenthesis": false,
        "insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
        "insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
        "insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces": false,
        "insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
        "insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces": false,
        "insertSpaceAfterTypeAssertion": false,
        "placeOpenBraceOnNewLineForFunctions": false,
        "placeOpenBraceOnNewLineForControlBlocks": false
    },
    "preferences": {
        "disableSuggestions": false,
        "importModuleSpecifierPreference": "non-relative",
        "quotePreference": "single",
        "allowRenameOfImportPath": true,
        "allowTextChangesInNewFiles": true
    }
}
[Trace  - 上午9:55:05] Event received: projectsUpdatedInBackground (0).
Data: {
    "openFiles": [
        "/Users/aioiyuuko/my/test/t.js"
    ]
}
[Trace  - 上午9:55:05] Response received: configure (4). Request took 1234 ms. Success: true 
[Trace  - 上午9:55:05] Sending request: geterr (5). Response expected: yes. Current queue length: 0
Arguments: {
    "delay": 0,
    "files": [
        "/Users/aioiyuuko/my/test/t.js"
    ]
}
[Trace  - 上午9:55:05] Event received: syntaxDiag (0).
Data: {
    "file": "/Users/aioiyuuko/my/test/t.js",
    "diagnostics": []
}
[Trace  - 上午9:55:05] TypeScript Server: trying to cancel ongoing request with sequence number 5
[Trace  - 上午9:55:05] Sending request: geterr (6). Response expected: yes. Current queue length: 0
Arguments: {
    "delay": 0,
    "files": [
        "/Users/aioiyuuko/my/test/t.js"
    ]
}
[Trace  - 上午9:55:05] Event received: semanticDiag (0).
Data: {
    "file": "/Users/aioiyuuko/my/test/t.js",
    "diagnostics": []
}
[Trace  - 上午9:55:05] Event received: syntaxDiag (0).
Data: {
    "file": "/Users/aioiyuuko/my/test/t.js",
    "diagnostics": []
}
[Trace  - 上午9:55:05] Event received: semanticDiag (0).
Data: {
    "file": "/Users/aioiyuuko/my/test/t.js",
    "diagnostics": []
}
[Trace  - 上午9:55:05] Event received: suggestionDiag (0).
Data: {
    "file": "/Users/aioiyuuko/my/test/t.js",
    "diagnostics": [
        {
            "start": {
                "line": 1,
                "offset": 7
            },
            "end": {
                "line": 1,
                "offset": 9
            },
            "text": "'fs' is declared but its value is never read.",
            "code": 6133,
            "category": "suggestion",
            "reportsUnnecessary": true
        },
        {
            "start": {
                "line": 1,
                "offset": 12
            },
            "end": {
                "line": 1,
                "offset": 25
            },
            "text": "File is a CommonJS module; it may be converted to an ES6 module.",
            "code": 80001,
            "category": "suggestion"
        },
        {
            "start": {
                "line": 3,
                "offset": 10
            },
            "end": {
                "line": 3,
                "offset": 14
            },
            "text": "'test' is declared but its value is never read.",
            "code": 6133,
            "category": "suggestion",
            "reportsUnnecessary": true
        }
    ]
}
[Trace  - 上午9:55:05] Async response received: requestCompleted (6). Request took 325 ms.

[Trace - 上午9:55:10] Event received: setTypings (0).
Data: {
"projectName": "/dev/null/inferredProject1*",
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"compilerOptions": {
"module": 1,
"target": 3,
"jsx": 1,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"allowNonTsExtensions": true,
"noEmitForJsFiles": true,
"maxNodeModuleJsDepth": 2
},
"typings": [
"/Users/aioiyuuko/Library/Caches/typescript/3.5/node_modules/@types/node/ts3.2/index.d.ts"
],
"unresolvedImports": [
"fs"
],
"kind": "action::set"
}
[Trace - 上午9:55:10] Sending request: documentHighlights (7). Response expected: yes. Current queue length: 0
Arguments: {
"file": "/Users/aioiyuuko/my/test/t.js",
"line": 3,
"offset": 1,
"filesToSearch": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:10] Event received: projectsUpdatedInBackground (0).
Data: {
"openFiles": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:10] Response received: documentHighlights (7). Request took 151 ms. Success: true
Result: [
{
"file": "/Users/aioiyuuko/my/test/t.js",
"highlightSpans": [
{
"start": {
"line": 3,
"offset": 10
},
"end": {
"line": 3,
"offset": 14
},
"kind": "writtenReference"
}
]
}
]
[Trace - 上午9:55:10] Event received: setTypings (0).
Data: {
"projectName": "/dev/null/inferredProject1*",
"typeAcquisition": {
"enable": true,
"include": [],
"exclude": []
},
"compilerOptions": {
"module": 1,
"target": 3,
"jsx": 1,
"allowJs": true,
"allowSyntheticDefaultImports": true,
"allowNonTsExtensions": true,
"noEmitForJsFiles": true,
"maxNodeModuleJsDepth": 2
},
"typings": [
"/Users/aioiyuuko/Library/Caches/typescript/3.5/node_modules/@types/node/ts3.2/index.d.ts"
],
"unresolvedImports": [
"fs"
],
"kind": "action::set"
}
[Trace - 上午9:55:10] Sending request: geterr (8). Response expected: yes. Current queue length: 0
Arguments: {
"delay": 0,
"files": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:10] Event received: syntaxDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:10] Event received: semanticDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:10] Event received: suggestionDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 1,
"offset": 7
},
"end": {
"line": 1,
"offset": 9
},
"text": "'fs' is declared but its value is never read.",
"code": 6133,
"category": "suggestion",
"reportsUnnecessary": true
},
{
"start": {
"line": 1,
"offset": 12
},
"end": {
"line": 1,
"offset": 25
},
"text": "File is a CommonJS module; it may be converted to an ES6 module.",
"code": 80001,
"category": "suggestion"
},
{
"start": {
"line": 3,
"offset": 10
},
"end": {
"line": 3,
"offset": 14
},
"text": "'test' is declared but its value is never read.",
"code": 6133,
"category": "suggestion",
"reportsUnnecessary": true
}
]
}
[Trace - 上午9:55:10] Async response received: requestCompleted (8). Request took 29 ms.
[Trace - 上午9:55:11] Event received: projectsUpdatedInBackground (0).
Data: {
"openFiles": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:11] Sending request: updateOpen (9). Response expected: no. Current queue length: 0
Arguments: {
"changedFiles": [
{
"fileName": "/Users/aioiyuuko/my/test/t.js",
"textChanges": [
{
"newText": "\n",
"start": {
"line": 2,
"offset": 1
},
"end": {
"line": 2,
"offset": 1
}
}
]
}
]
}
[Trace - 上午9:55:11] Sending request: geterr (10). Response expected: yes. Current queue length: 0
Arguments: {
"delay": 0,
"files": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:11] Event received: syntaxDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:11] Event received: semanticDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:11] Event received: suggestionDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 1,
"offset": 7
},
"end": {
"line": 1,
"offset": 9
},
"text": "'fs' is declared but its value is never read.",
"code": 6133,
"category": "suggestion",
"reportsUnnecessary": true
},
{
"start": {
"line": 1,
"offset": 12
},
"end": {
"line": 1,
"offset": 25
},
"text": "File is a CommonJS module; it may be converted to an ES6 module.",
"code": 80001,
"category": "suggestion"
},
{
"start": {
"line": 4,
"offset": 10
},
"end": {
"line": 4,
"offset": 14
},
"text": "'test' is declared but its value is never read.",
"code": 6133,
"category": "suggestion",
"reportsUnnecessary": true
}
]
}
[Trace - 上午9:55:11] Async response received: requestCompleted (10). Request took 25 ms.
[Trace - 上午9:55:11] Sending request: updateOpen (11). Response expected: no. Current queue length: 0
Arguments: {
"changedFiles": [
{
"fileName": "/Users/aioiyuuko/my/test/t.js",
"textChanges": [
{
"newText": " /",
"start": {
"line": 3,
"offset": 1
},
"end": {
"line": 3,
"offset": 1
}
}
]
}
]
}
[Trace - 上午9:55:11] Sending request: completionInfo (12). Response expected: yes. Current queue length: 0
Arguments: {
"file": "/Users/aioiyuuko/my/test/t.js",
"line": 3,
"offset": 4,
"includeExternalModuleExports": true,
"includeInsertTextCompletions": true,
"triggerCharacter": "/"
}
[Trace - 上午9:55:11] Response received: completionInfo (12). Request took 12 ms. Success: false . Message: No content available.
[Trace - 上午9:55:12] Sending request: geterr (13). Response expected: yes. Current queue length: 0
Arguments: {
"delay": 0,
"files": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:12] Event received: syntaxDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:12] Event received: semanticDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:12] Event received: suggestionDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 1,
"offset": 7
},
"end": {
"line": 1,
"offset": 9
},
"text": "'fs' is declared but its value is never read.",
"code": 6133,
"category": "suggestion",
"reportsUnnecessary": true
}
]
}
[Trace - 上午9:55:12] Async response received: requestCompleted (13). Request took 12 ms.
[Trace - 上午9:55:12] Sending request: updateOpen (14). Response expected: no. Current queue length: 0
Arguments: {
"changedFiles": [
{
"fileName": "/Users/aioiyuuko/my/test/t.js",
"textChanges": [
{
"newText": "",
"start": {
"line": 3,
"offset": 4
},
"end": {
"line": 3,
"offset": 4
}
}
]
}
]
}
[Trace - 上午9:55:12] Sending request: geterr (15). Response expected: yes. Current queue length: 0
Arguments: {
"delay": 0,
"files": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:12] Event received: syntaxDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 5,
"offset": 3
},
"end": {
"line": 5,
"offset": 3
},
"text": "'
/' expected.",
"code": 1010,
"category": "error"
}
]
}
[Trace - 上午9:55:12] Event received: semanticDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:12] Event received: suggestionDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 1,
"offset": 12
},
"end": {
"line": 1,
"offset": 25
},
"text": "File is a CommonJS module; it may be converted to an ES6 module.",
"code": 80001,
"category": "suggestion"
}
]
}
[Trace - 上午9:55:12] Async response received: requestCompleted (15). Request took 15 ms.
[Trace - 上午9:55:13] Sending request: updateOpen (16). Response expected: no. Current queue length: 0
Arguments: {
"changedFiles": [
{
"fileName": "/Users/aioiyuuko/my/test/t.js",
"textChanges": [
{
"newText": "/\n * ",
"start": {
"line": 3,
"offset": 1
},
"end": {
"line": 3,
"offset": 5
}
}
]
}
]
}
[Trace - 上午9:55:13] Sending request: geterr (17). Response expected: yes. Current queue length: 0
Arguments: {
"delay": 0,
"files": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:13] Event received: syntaxDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 6,
"offset": 3
},
"end": {
"line": 6,
"offset": 3
},
"text": "'
/' expected.",
"code": 1010,
"category": "error"
}
]
}
[Trace - 上午9:55:13] Event received: semanticDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:13] Event received: suggestionDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 1,
"offset": 12
},
"end": {
"line": 1,
"offset": 25
},
"text": "File is a CommonJS module; it may be converted to an ES6 module.",
"code": 80001,
"category": "suggestion"
}
]
}
[Trace - 上午9:55:13] Async response received: requestCompleted (17). Request took 13 ms.
[Trace - 上午9:55:13] Sending request: updateOpen (18). Response expected: no. Current queue length: 0
Arguments: {
"changedFiles": [
{
"fileName": "/Users/aioiyuuko/my/test/t.js",
"textChanges": [
{
"newText": " \n * \n",
"start": {
"line": 4,
"offset": 4
},
"end": {
"line": 5,
"offset": 1
}
}
]
}
]
}
[Trace - 上午9:55:13] Sending request: geterr (19). Response expected: yes. Current queue length: 0
Arguments: {
"delay": 0,
"files": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:13] Event received: syntaxDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 7,
"offset": 3
},
"end": {
"line": 7,
"offset": 3
},
"text": "'
/' expected.",
"code": 1010,
"category": "error"
}
]
}
[Trace - 上午9:55:13] Event received: semanticDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:13] Event received: suggestionDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 1,
"offset": 12
},
"end": {
"line": 1,
"offset": 25
},
"text": "File is a CommonJS module; it may be converted to an ES6 module.",
"code": 80001,
"category": "suggestion"
}
]
}
[Trace - 上午9:55:13] Async response received: requestCompleted (19). Request took 14 ms.
[Trace - 上午9:55:14] Sending request: updateOpen (20). Response expected: no. Current queue length: 0
Arguments: {
"changedFiles": [
{
"fileName": "/Users/aioiyuuko/my/test/t.js",
"textChanges": [
{
"newText": "",
"start": {
"line": 6,
"offset": 3
},
"end": {
"line": 6,
"offset": 4
}
}
]
},
{
"fileName": "/Users/aioiyuuko/my/test/t.js",
"textChanges": [
{
"newText": "/",
"start": {
"line": 6,
"offset": 3
},
"end": {
"line": 6,
"offset": 3
}
}
]
}
]
}
[Trace - 上午9:55:14] Sending request: completionInfo (21). Response expected: yes. Current queue length: 0
Arguments: {
"file": "/Users/aioiyuuko/my/test/t.js",
"line": 6,
"offset": 4,
"includeExternalModuleExports": true,
"includeInsertTextCompletions": true,
"triggerCharacter": "/"
}
[Trace - 上午9:55:14] Response received: completionInfo (21). Request took 12 ms. Success: false . Message: No content available.
[Trace - 上午9:55:14] Sending request: geterr (22). Response expected: yes. Current queue length: 0
Arguments: {
"delay": 0,
"files": [
"/Users/aioiyuuko/my/test/t.js"
]
}
[Trace - 上午9:55:14] Event received: syntaxDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 7,
"offset": 3
},
"end": {
"line": 7,
"offset": 3
},
"text": "'*/' expected.",
"code": 1010,
"category": "error"
}
]
}
[Trace - 上午9:55:14] Event received: semanticDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": []
}
[Trace - 上午9:55:14] Event received: suggestionDiag (0).
Data: {
"file": "/Users/aioiyuuko/my/test/t.js",
"diagnostics": [
{
"start": {
"line": 1,
"offset": 12
},
"end": {
"line": 1,
"offset": 25
},
"text": "File is a CommonJS module; it may be converted to an ES6 module.",
"code": 80001,
"category": "suggestion"
}
]
}
[Trace - 上午9:55:14] Async response received: requestCompleted (22). Request took 8 ms.

@chemzqm chemzqm added the bug Something isn't working label Aug 4, 2019
@chemzqm chemzqm added Can't reproduce and removed bug Something isn't working labels Aug 17, 2019
chemzqm added a commit that referenced this issue Aug 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants