Skip to content

Ignore "In front of code" codetool errors - #170

Open
oisanjaya wants to merge 2 commits into
genericptr:trunkfrom
oisanjaya:ignore_infront_code_error
Open

oisanjaya wants to merge 2 commits into
genericptr:trunkfrom
oisanjaya:ignore_infront_code_error

Conversation

@oisanjaya

Copy link
Copy Markdown
Contributor

When check syntax enabled, pasls will try to FindMainDeclaration every identifier, including code/comments that appear before pascal module (unit, program, libraries) header.

CodeToolBoss will emit 'In front of code` error for theese kind of operation.

This PR ignores those error message to prevent polluting publishDiagnostics

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.

1 participant