-
Notifications
You must be signed in to change notification settings - Fork 185
Description
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 files and note the time when "Diagnostic problems"
started showing errors in Brackets.
(diagnostic problem panel displayed in bottom of the screen, it will show list of errors. If file does not have any error, panel is not displayed).
Result:
Brackets takes more time to display errors and sometimes does not show list of errors.
Below is the comparison table.
File size | Brackets time | File name | no.of error |
---|---|---|---|
1KB | 4 sec | 01Error_paren.php | |
10KB | 4 sec | 01Classes.php | 6 |
50KB | Waited for more than 10 min, errors shows after switching between the files | 0x7f_ff_functionNames2 | 1K |
100KB | 8 sec | class-phpmailer | 92 |
500KB | Waited for more than 10 min, errors shows after switching between the files | post.php | 2321 |
1 MB | Waited for more than 10 min, errors shows after switching between the files | wp-signup | 32 |
5 MB | Waited for more than 10 min, no error showed in diagonostic problems. | zxcv |
Expected Result:
Diagnostic Problems should show errors and time taken to list errors should not be more.
01Error_paren.txt
01Classes.txt
0x7f_ff_functionNames2.txt
class-phpmailer.txt
post.txt
wp-signup.txt
zxcv.txt
Kindly, change extension to "php" as it does not support upload of ".php" file.