We would like some parts of the (COBOL) source code not to be analyzed by the (COBOL) Language Server, this in order not to trigger errors or warnings on certain parts of the code, (which disable ZOE features, or pollutes the problems output):
intentionally unreachable code, ("watchdog" to ensure that we do not inadvertently exit in sequence from a performed block)
"exotic" code processed by a preprocessor before compilation, (see issue #439)
syntax not supported or poorly recognized by the Language Server, (in particular when using conditional compilation that cannot be resolved outside of a real compilation process, such as using a DEFINE compilation option)
For this we propose that the (COBOL) Language Server recognizes specific comments which would frame the code which should not be analyzed:
Hi,
Extract from:
439
Description of the enhancement requested
We would like some parts of the (COBOL) source code not to be analyzed by the (COBOL) Language Server, this in order not to trigger errors or warnings on certain parts of the code, (which disable ZOE features, or pollutes the problems output):
For this we propose that the (COBOL) Language Server recognizes specific comments which would frame the code which should not be analyzed:
*>BEGIN-LS-IGNORE
*>END-LS-IGNORE
Thanks.