Tagged: Angular, formatting, PHP
- This topic has 8 replies, 3 voices, and was last updated 5 years, 11 months ago by Dale.
-
AuthorPosts
-
DaleParticipantSo i’m using angular 6 in the ide and works ok most of the time. I also have php files in the same project.
After formatting the php files the formatter, auto completes stops working for all files.
I have to close and open webclipse ide to get it working again.
I’ve uninstalled, then installed with latest using a new workspace and same thing happens. PHP is linked to xampp running locally.
Any ideas?
Thanks
DaleParticipantAlso i get this:
Exit value: 1Process output:
[main 5:41:41 PM] update#ctor – updates are disabled
support-swapnaModeratorDale,
Sorry that you are seeing this issue.
Can you please give us some more details?
1. Can you please clarify if you have upgraded to the new CodeMix 2.0 or working with Webclipse plugin on Eclipse IDE or with stand alone Angular IDE? If you are working with Eclipse IDE, then please share with us the Eclipse version details from Help > About section.
2. I am not sure how you are linking the PHP file to XAMPP locally. Can you please elaborate on the steps to help me replicate your environment? Also let us know the editor in which the PHP files are being opened. Right click on the PHP file > Open With and check which editor is selected.
3. Please also share with us the log file from the new workspace for further investigation. Click on the ‘Export Log’ icon in the Error Log view, save it as .txt file and attach it. If you do not find the Error Log view, then the log file will be located in your workspace dir/.metadata/.log.
4.
Exit value: 1
Process output:
[main 5:41:41 PM] update#ctor – updates are disabledWhen exactly are you see this error?
Apologies for inconvenience caused.
–Swapna
Genuitec Support
DaleParticipantHi
1) i’m using webclipse ide
eclipse:
Version: 4.9.0.v20180906-1121
Build id: I20180906-0745please see images attached
2) the file is opened with PHP :: Codemix
at first it said it needed php 7 and was linking with 5.
So if you right click on a php file -> properties -> run / debug, then you can see the php executable path in the advanced section: ‘C:\xampp7\php\php.exe’ it might not be related but i changed that.
Also just saw it sets ‘ “runtimeExecutable”: “C:\\xampp7\\php\\php.exe”‘ in launch.json3) attached .log from metadata/.log. i have also attached log_old.log from my other workspace which may also help
4) this pops up on the start up sometimes.
Many Thanks,
DaleAttachments:
You must be logged in to view attached files.
Salvador CabreraMemberHi Dale,
In order to help you resolve this problem, we need to gather more info about what’s going with your Eclipse.
To enable logging this info, you’ll need to:– Edit eclipse.ini, you can find this file in the same dir as your eclipse executable, add the following lines at the bottom:
-Dcom.genuitec.eclipse.engine.log=true -Dcom.genuitec.eclipse.engine.log.verbose=true
– Start Eclipse and replicate the problem
– Close EclipsePlease share the “.log” files located in the “.codemix” in your user directory.
Best Regards,
Sal
DaleParticipantHi Sal
Please find document attached.
So basically i:
1. opened the php file and pressed ctrl + shift + f to format (did this a couple of times as the first line didn’t format but it did in other places)2. opened a typescript file and pressed the same format keys and no longer formats.
On start i got but was working fine after:
-Exit value: 1
-Process output:
-[main 10:44:47 PM] update#ctor – updates are disabledat one point a dialog popped up in the corner when trying to format both files:
– there is no document formatter for ‘php’-files installed
– there is no document formatter for ‘typescript’-files installed
Hope this helps.
Thanks
DaleAttachments:
You must be logged in to view attached files.
Salvador CabreraMemberHi Dale,
Thanks for your help, we have identified a problem when trying to update some extensions at launch but this process always fails and can cause some unexpected behavior.
We are working on a potential fix for you which i estimate it should be ready tomorrow.
As a temporary workaround, when you start Eclipse, please wait until the CodeMix Engine has been restarted (Few seconds after the christian-kohler.npm-intellisense.1.3.0.vsix and linyang95.php-symbols.2.1.0.vsix, see the attached screenshot).
Then you can proceed to use Eclipse as usual.Please let us know how it goes.
Best Regards,
SalAttachments:
You must be logged in to view attached files.
Salvador CabreraMemberHi Dale,
We have released a fix for this recurrent extensions update process problem, christian-kohler.npm-intellisense.1.3.0.vsix and linyang95.php-symbols.2.1.0.vsix extensions had problems with the version in the manifest files, the corrected versions of these extensions are already available to get installed.
In order to get these fixed extensions you just need to restart Eclipse, and this will trigger the extensions update process one more time to pull the fixed extensions, so if you restart Eclipse again, you shouldn’t see these extensions being updated anymore.
Please let us know if you have any remaining issues.
Best Regards,
Sal
DaleParticipantI can confirm it is working now. Even better with the latest release fixes as well.
Cheers
Dale -
AuthorPosts