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

Syntax Error spam in log when Check Syntax is enabled #32

Open
balderm opened this issue Sep 13, 2018 · 1 comment
Open

Syntax Error spam in log when Check Syntax is enabled #32

balderm opened this issue Sep 13, 2018 · 1 comment

Comments

@balderm
Copy link

balderm commented Sep 13, 2018

The following happens as you type something and the extension tries to check the syntax.
I'm using stock settings (400ms delay and CheckSyntax enabled) with latest VSCode x64 (1.27.1), and JAVA_HOME set to jdk 1.8.0 121 x64

[INFO] Executor - # Time taken: 0.004s

Sending CMD: --action=checkSyntax  --projectPath='c:\Dev\workspace\salesforce\ASPI-DEV1' --responseFilePath='c:\Users\vdero\.vscode\extensions\chuckjonas.apex-autocomplete-0.2.13\bin\checkSyntaxResult.json' --pollWaitMillis=1000 --maxPollRequests=1000 --currentFilePath='c:\Dev\workspace\salesforce\ASPI-DEV1\src\triggers\EmailMessageTrigger.trigger' --currentFileContentPath='c:\Users\vdero\.vscode\extensions\chuckjonas.apex-autocomplete-0.2.13\bin\checkSyntaxTmp.cls'  --sf.username='omitted' --sf.password='omitted' --sf.serverurl='https://test.salesforce.com'

Awaiting connection...

received command: --action=checkSyntax  --projectPath='c:\Dev\workspace\salesforce\ASPI-DEV1' --responseFilePath='c:\Users\vdero\.vscode\extensions\chuckjonas.apex-autocomplete-0.2.13\bin\checkSyntaxResult.json' --pollWaitMillis=1000 --maxPollRequests=1000 --currentFilePath='c:\Dev\workspace\salesforce\ASPI-DEV1\src\triggers\EmailMessageTrigger.trigger' --currentFileContentPath='c:\Users\vdero\.vscode\extensions\chuckjonas.apex-autocomplete-0.2.13\bin\checkSyntaxTmp.cls'  --sf.username='omitted' --sf.password='omitted' --sf.serverurl='https://test.salesforce.com'

[ERROR] CheckSyntax - Syntax error:: line: 1, pos: 52, msg: mismatched input 'insert\n                                            ' expecting Identifier


[ERROR] CheckSyntax - Syntax error:: line: 2, pos: 52, msg: mismatched input 'insert\n                                            ' expecting Identifier

[INFO] Executor - # Time taken: 0.01s


Disconnect /127.0.0.1:49996
@ChuckJonas
Copy link
Owner

I think that's expected. The output here is only for debugging purposes (makes reporting issues easier). Can you just hide it?

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

No branches or pull requests

2 participants