Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: FILE_SEARCH() hover help is misleading #62

Open
1 of 4 tasks
steinhh opened this issue Jan 15, 2025 · 1 comment
Open
1 of 4 tasks

[Bug]: FILE_SEARCH() hover help is misleading #62

steinhh opened this issue Jan 15, 2025 · 1 comment
Labels
type: bug Something isn't working

Comments

@steinhh
Copy link

steinhh commented Jan 15, 2025

Current Behavior

Hover help for FILE_SEARCH() shows this even though FILE_SEARCH() never accepts 3 parameters:
Screenshot 2025-01-15 at 15 54 28

Expected Behavior

The correct syntax should be something like this:

  FILE_SEARCH( File_Specification | Path_Specification [, Recur_Pattern])

Or something like in the offline help:

Result = FILE_SEARCH(Path_Specification)

or for recursive searching,

Result = FILE_SEARCH(Dir_Specification, Recur_Pattern) 

GitHub Repo

No response

Steps to Reproduce

  1. Hover over call to FILE_SEARCH()

Failure Logs

No response

Operating System

  • macOS (Intel x86_64)
  • macOS (ARM64)
  • Linux
  • Windows

IDL Version

N/A

Additional Information

No response

@steinhh steinhh added the type: bug Something isn't working label Jan 15, 2025
@ct6502
Copy link
Contributor

ct6502 commented Jan 16, 2025

It looks like the IDL help has this correctly, but it's one of those functions with two syntaxes with an "or" between them. The extension is probably getting confused with the two syntaxes and combining them?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants