Skip to content

functions from all the PHP files in a folder are shown as part of hints while trying to call a function. #717

@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.

  • 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.

Problem: functions from all the PHP files in a folder are shown as part of hints while trying to call a function.

Steps:

  1. Open the attached folder in Brackets

  2. Open xyz.php

  3. type functionFrom

result:

both "FunctionFromABC" and "FunctionFromPQR" are listed as part of hints

expected:

only "FunctionFromPQR" should be listed as we are including only pqr.php

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions