For development and development, it is increasingly important to master a good IDE. Although I am also a VIM party, the advantages of VIM are hard to reflect as the project grows. VIM is efficient for a single file, but IDE is better for engineering. Eclipse official website and pydev links. PHP first downloads eclipse. Here Eclipse
For development and development, it is increasingly important to master a good IDE. Although I am also a VIM party, the advantages of VIM are hard to reflect as the project grows. VIM is efficient for a single file, but IDE is better for engineering. Eclipse official website and pydev links. PHP first downloads eclipse. Here Eclipse
For development and development, it is increasingly important to master a good IDE. Although I am also a VIM party, the advantages of VIM are hard to reflect as the project grows. VIM is efficient for a single file, but IDE is better for engineering. Eclipse official website and pydev links.
PHP
First download eclipse. Here Eclipse. Based on development requirements. Here we select PHP eclipse. The PHP plug-in has been configured for us. Of course, the premise is that the system has installed PHP.
PYTHON
In addition, we need to download the pydev plug-in. For python development, this is a very good plug-in. Here, I saved the downloaded content. It is also very easy to install pydev after it is downloaded (the latest version is available for the moment, but it may take a day to get an old version ). Decompress the package and there will be two directories. The features and plugin directories will be lost in the corresponding features and plugin under your eclipse home directory. Restart eclipse and create a new project. You can see the project category of pydev and select it.
Eclipse project property Configuration
Then, start to create a new project. If you need to import code from other places to this project, there may be errors and false positives. The performance is that some packages and classes are correct, but eclipse has put a red line on them, and it looks uncomfortable, and the code team cannot jump to the code. This problem is solved in this way. Open the property menu and go to PyDev-PYTHONPATH. Set source folder. Add the main Code Directories and refresh the project directories. These red lines will disappear. It should be because the entire project of the plug-in team has not been fully scanned, and the root cause is that you have not set the variables required by the plug-in (I guess ...).
KDE Eclipse crash
Another problem I encountered was that in Linux, my kde Desktop Often crashes in eclipse. This problem has plagued me for a long time, and I once felt frustrated that Linux was not competent for development. The reason for the eclipse crash is found later, which is the gtk problem. Replace it with gnome. It can also run on kde. It is not a big problem. Therefore, you can use linux for development, but we do not know enough about it. The original post is here. I changed gtk2theme from oxgen-gtk to the default one for gnome, and crash never appeared again.
The only problem is that the project I imported cannot be identified. The package cannot be parsed. When importing other projects, you should first create a project and then import other things. Importing the entire filesystem directly instead of existing projects does not cause any problems. So far, everything is fine. Thanks to ecipse for importing the project.
Note the Eclipse version
In addition, eclipse cannot parse the path of the PHP project, and cannot perform inter-code jump. I recently imported my project and found that eclipse cannot be well parsed. One problem is that php cannot parse the path. I suspect it is a php version problem. I found that the php interpreter version used in eclipse is still 5.3, but I cannot select it if I want to set it to 5.5. I suspect there is a problem with this eclipse plug-in, it turns out that this eclipse version was downloaded a year ago. Of course it is old, and a new version is downloaded. It is OK, and the problem is solved.
So far, all the eclipse problems have been solved. I am used to using git. eclipse also supports git well and does not need to find the git eclipse plug-in myself. Currently, eclipse is good.