intersystems / language-server

Repository for the VS Code Language Server
https://marketplace.visualstudio.com/items?itemName=intersystems.language-server
Other
16 stars 6 forks source link

Outline shows routine labels that don't appear in the first column #319

Closed isc-bsaviano closed 7 months ago

isc-bsaviano commented 7 months ago

Consider the following command:

 DO loadGroupData(grp.%Id(), 0),
       saveGroup

This is a valid command with a valid arg list, but the Outline reports that saveGroup is a routine label definition. This is incorrect because labels that define code blocks must appear in the first column.

Moved from https://github.com/intersystems-community/vscode-objectscript/issues/1347#issuecomment-2056603821