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.
Find references: It will show list of variable, class, function name whose reference is present in whole project. Shortcut (Shift +F12)
Steps to reproduce:
Step 1 : Launch Brackets.
Step 2: Open any or attached php file and place cursor in any variable name or class name.
Step 3: Press shift + F12. (It will show all the reference of that particular variable or class name)
Step 4: Go to task bar> kill "CLI" under Brackets. (LSP server is down now).
Step 5: Place cursor in front of any variable name or class name, right click on that and select "Find all References" and observe the behavior.
Actual Result:
Step 4: It is showing, "No References available for current cursor position" message.
Expected Result:
Step 4: When the LSP server is down, it should not display any message which is related to Find references.
Otherwise, it should show message related to LSP server down.
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.
Find references: It will show list of variable, class, function name whose reference is present in whole project. Shortcut (Shift +F12)
Steps to reproduce: Step 1 : Launch Brackets. Step 2: Open any or attached php file and place cursor in any variable name or class name. Step 3: Press shift + F12. (It will show all the reference of that particular variable or class name) Step 4: Go to task bar> kill "CLI" under Brackets. (LSP server is down now). Step 5: Place cursor in front of any variable name or class name, right click on that and select "Find all References" and observe the behavior.
Actual Result: Step 4: It is showing, "No References available for current cursor position" message.
Expected Result: Step 4: When the LSP server is down, it should not display any message which is related to Find references. Otherwise, it should show message related to LSP server down.