Open core-ai-bot opened 3 years ago
Comment by schroef Thursday Apr 25, 2019 at 19:47 GMT
I dont quite understand the use of the warning. It opens settings, but not really what to do. There is also no more info given on how to solve this. Probably i need to find out how to install php 7 orso
Comment by shubhsnov Tuesday Apr 30, 2019 at 05:04 GMT
@
schroef It's just there to inform the user that PHP features will not work if we're unable to find the php7 executable.
We prompt the user to install php7 but in case we're unable to pick up the path on our own, the user can search for PHP related settings in the default preferences and override them with his own. You can give a custom php7 executable path there.
Comment by RockStartCrazy Thursday May 02, 2019 at 15:32 GMT
So I have been trying to modify the path but no luck the message keeps showing up. What I am doing wrong? My code on the default preferences page: "php": { // Default: true "enablePhpTooling": true,
// Default: php
// I tried with C:/xampp/php/php.exe
"executablePath": "C://xampp//php//php.exe",
// Default: 4095M
"memoryLimit": "4095M",
// Default: false
"validateOnType": "false"
}
Comment by shubhsnov Thursday May 02, 2019 at 15:40 GMT
@
RockStartCrazy
Go to Debug > Open Preferences File
Copy over the php settings from defaultPreferences.json to brackets.json
Remove the comments since a valid brackets.json
can't have comments. This is important.
Replace the defaults with your own settings. In case of any performance issues, try increasing the default memory limit as per your need.
Also, the path in Win should have \\
instead of /
, so in your case it would be:
"php": {
"enablePhpTooling": true,
"executablePath": "C:\\xampp\\php\\php.exe",
"memoryLimit": "4095M",
"validateOnType": "false"
}
Do let us know in case this doesn't solve your problem.
Comment by RockStartCrazy Thursday May 02, 2019 at 15:45 GMT
Oh I see thank you very much that fixed my problem
Comment by Tagehar Thursday May 02, 2019 at 22:05 GMT
I tried to change it to "executablePath":"C:\\xampp\\php\\php.exe",
but I always get the Error Message and it changed back to "executablePath": "php"
Comment by shubhsnov Friday May 03, 2019 at 01:45 GMT
@
Tagehar
Please give some more information so that we can try replicating the issue on our end.
I feel you might be changing it directly in defaultPreferences.json
rather than brackets.json
.
That won't work.
Also, do make sure that the php executable path you provide is of php 7 and not php 5.
Comment by rodolphorojas Friday Jul 12, 2019 at 06:56 GMT
Good day with everyone. I have read all of your directions above several times, but I do not understand what I am doing wrong. I have entered the code as it indicates that the preferences file does not have the indicated format. The full code of backets.json is: { "brackets-eslint.gutterMarks": true, "brackets-eslint.useLocalESLint": false, "fonts.fontSize": "12px", "fonts.fontFamily": "'SourceCodePro-Medium', MS ゴシック, 'MS Gothic', monospace", "useTabChar": false, "themes.theme": "dark-theme" } "php": { "enablePhpTooling": true, "executablePath": "C:\AppServ\php7\php.exe", "memoryLimit": "4095M", "validateOnType": "false" }
Please help me.
Edit: SOLVED - The correct code is: { "brackets-eslint.gutterMarks": true, "brackets-eslint.useLocalESLint": false, "fonts.fontSize": "12px", "fonts.fontFamily": "'SourceCodePro-Medium', MS ゴシック, 'MS Gothic', monospace", "useTabChar": false, "themes.theme": "dark-theme",
"php": {
"enablePhpTooling": true,
"executablePath": "C:\\AppServ\\php7\\php.exe",
"memoryLimit": "4095M",
"validateOnType": "false"
}
}
Issue by aman-lion Tuesday Apr 23, 2019 at 08:50 GMT Originally opened as https://github.com/adobe/brackets/issues/14716
Problem: General style. The target string does not sound like a part of an error message.
EN Source: Install PHP7 runtime for enabling PHP-related tooling such as Code Hints, Parameter Hints, Jump to Definition and more.
Actual Translation: コードヒント、パラメーターヒント、定義にジャンプなどの PHP 関連のツールを有効化するために、PHP7 ランタイムをインストールします。
Expected Translation: コードヒント、パラメーターヒント、定義にジャンプなどの PHP 関連のツールを有効化するために、PHP7 ランタイムをインストールしてください。
EN Screen:
JP Screen: