Skip to content

"Find reference" feature is also working for pre-defined function "is_int". #722

Open
@Nainabhandari8

Description

@Nainabhandari8

NOTE:
-Download brackets from brackets.io page.
-Install PHP7 as LSP features like diagnostic problem, find references, find symbols, jump to definition, code hints, parameter hints are only supported in PHP7.

code hints: When we start tying function name, e.g: fopen, when we type first letter "f", it will show the list of function who start from that particular letter.

Diagnostic problems: It is a panel which is displayed at the bottom of brackets, all the introduce error should be shown under this panel. If file does not have any error it will be not visible.

Parameter hints : It will be shown on typing "(" after function name. It will show the list of parameters in which first hint will be bold and as we enter first hint then second hints will be bold and so on.

Steps to reproduce:
Step 1: Open attached file.
Step 2: Go to line number 19.
Step 3: Place cursor in "is_int" and right click.
Step 4: Click on "Find all References" and observe the behavior.

Actual Result:
It is showing references for "is_int".
Also tried for "fopen()" but it is not showing reference for it.

Expected Result:
It should not show references for pre-defined function like is_int, fopen(), etc.

Error_paren.txt

Change extension to php of attached file.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions