An extension for VS Code which provides support for the Progress OpenEdge ABL language. https://marketplace.visualstudio.com/items?itemName=chriscamicas.openedge-abl
MIT License
50
stars
37
forks
source link
Query using hover doesn't support multiple indexes #87
When hovering over a FOR EACH, or OPEN QUERY block that references multiple indexes, only the first index is reported in the popup.
The example query is below. A COMPILE XREF (and the .xref file in .builder) reports it should be using three (3) indexes: Comments, CountryPost and Name. But only Comments is shown in the hover. Note if I remove the Comments contains clause, it reports CountryPost. It appears it is using only the first SEARCH line from the XREF, and not all of the items on the same line.
for each Customer
where Customer.Country eq ""
and Customer.PostalCode eq ""
and Customer.Comments contains "Foo"
and Customer.Name eq ""
no-lock:
end. /* for each Customer */
When hovering over a
FOR EACH
, orOPEN QUERY
block that references multiple indexes, only the first index is reported in the popup.The example query is below. A
COMPILE XREF
(and the.xref
file in.builder
) reports it should be using three (3) indexes:Comments
,CountryPost
andName
. But onlyComments
is shown in the hover. Note if I remove theComments contains
clause, it reportsCountryPost
. It appears it is using only the firstSEARCH
line from the XREF, and not all of the items on the same line.XREF output:
Using v1.6.0 on VS Code v1.85.2.