spgennard/vscode_cobol

COBOL word detection regression for intellisense in 7.12.0

kabel opened this issue · 0 comments

kabel commented

Describe the bug
At the 7.12.0 version from c9c7e31#diff-aa2b56a92e06db32d4d5135f1e1ea551706b2420ae2d7fb1d9f32bd12b2f5490R81, words with a - in the COBOL language are getting split causing the intellisense results to truncate those words.

To Reproduce
Give the limited source:

       PARA-1.
           MOVE 1 TO WS-DONE.
       PARA-2.
           PERFORM PARA

Expected behavior
The intellisense complete at the last cursor position should suggest PARA-1 and PARA-2.

Screenshots
7.12.0:
image

7.11.1
image

Desktop (please complete the following information):

  • OS: Windows
  • Version: ?

What user & workspace settings are being used?:
Default/empty COBOL settings.

Additional context
n/a