


Zend Studio/Ecliplse plug-in EasyExplorer, open the folder where the resource file is located
Time 2013-08-19 14:27:45 PHP Blog | JAVA Web Blog
Original text http://www.qianyunlai.com/post-145.html
ThemeZend Studio Eclipse
The core of Zend Studio is Ecliplse. It is not so much a plug-in for Zend Studio as it is a plug-in for Ecliplse.
If you often need to open the folder where the relevant resource files are located in Eclipse, it is troublesome. You need to right-click, select Properties, copy the folder in the Location column, and then enter the path in the resource manager. Hit Enter and open it.
Solution:
Use the Easy Explorer plug-in. With this plug-in, you can easily open the folder where the resource file is located.
Installation:
Enter the download page: http://sourceforge.net/projects/easystruts/files/Easy%20Explorer%20for%20Eclipse
After downloading, it is a jar compressed file. The latest version is 1.04, which has not been updated for a long time, but it still supports the latest eclipse 3.* platform.
In Eclipse, place the jar file directly in the plugin directory of Eclipse, and then restart the Eclipse platform. You can see the East Explorer menu item in the right-click, and you can open the directory where the resource is located.
But in Zend Studio, it is a little troublesome. After all, Zend company has transformed Eclipse. The operation method is as follows:
Step 1: Put the downloaded "org.sf.easyexplore_1.0.4.jar" Copy the file to the plugins folder of Zend Studio’s installation directory;
Step 2: Open the plug-in configuration file “Zend Studio’s installation directory/configuration/org.eclipse.equinox.simpleconfigurator/bundles.info” , append the following configuration after it:
org.sf.easyexplore,1.0.4,plugins/org.sf.easyexplore_1.0.4.jar,4,false
Step 3: Restart Zend Studio , in the "PHP Explorer" panel, right-click the file/folder and see if there is an additional "Easy Explore..." option.
Step 4: Configure the Easy Explorer plug-in;
By default, when the Easy Explorer plug-in opens the file explorer, the selected file will not be selected, but it can be selected through parameter settings , first understand what parameters are available.
Explorer.exe parameters are as follows:
Command format Explorer [/n][/e][[,/root],[path]][[,/select],[path filename]]
Parameters Note:
/n means opening a new window in "My Computer" mode, usually opening the root directory of the Windows installation partition.
/e means opening a new window in "Explorer" mode, which usually opens the root directory of the Windows installation partition.
/root, [path] means opening the specified folder, /root means only displaying the files (folders) under the specified folder, and not displaying other disk partitions and folders; [path] means the specified path.
If you do not add the /root parameter and only use the [path] parameter, you can display the contents of other disk partitions and folders. In addition, [path] can also specify a network shared folder.
/select,[path filename] means opening the specified folder and selecting the specified file, [path filename] means the specified path and file name.
If you do not add the /select parameter, the system will use the corresponding associated program to open the file. If [path filename] does not follow the file name, the upper-level directory of the folder will be opened and the folder will be selected.
Through the above parameter analysis of explorer.exe, we may have hope that it can display the file tree on the left and also locate the selected file or folder on the right.
That should be set to: explorer.exe /e,/select,{0} However, through experiments, I found that Easy Explore will only open it for you at the folder instead of the corresponding one. file above.
So the final parameter setting is determined as:
explorer.exe /select,{0}
through the menu item: Window --> Preferences --> Easy Explore --> Enter in Target Enter "explorer.exe /select,{0}" in the box --> Click Save, restart Zend Studio, and you're done! ! !
The above introduces the Zend Studio / Ecliplse plug-in EasyExplorer, which opens the folder where the resource file is located, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

PHP and Python each have their own advantages, and the choice should be based on project requirements. 1.PHP is suitable for web development, with simple syntax and high execution efficiency. 2. Python is suitable for data science and machine learning, with concise syntax and rich libraries.

PHP is not dying, but constantly adapting and evolving. 1) PHP has undergone multiple version iterations since 1994 to adapt to new technology trends. 2) It is currently widely used in e-commerce, content management systems and other fields. 3) PHP8 introduces JIT compiler and other functions to improve performance and modernization. 4) Use OPcache and follow PSR-12 standards to optimize performance and code quality.

The future of PHP will be achieved by adapting to new technology trends and introducing innovative features: 1) Adapting to cloud computing, containerization and microservice architectures, supporting Docker and Kubernetes; 2) introducing JIT compilers and enumeration types to improve performance and data processing efficiency; 3) Continuously optimize performance and promote best practices.

In PHP, trait is suitable for situations where method reuse is required but not suitable for inheritance. 1) Trait allows multiplexing methods in classes to avoid multiple inheritance complexity. 2) When using trait, you need to pay attention to method conflicts, which can be resolved through the alternative and as keywords. 3) Overuse of trait should be avoided and its single responsibility should be maintained to optimize performance and improve code maintainability.

Dependency Injection Container (DIC) is a tool that manages and provides object dependencies for use in PHP projects. The main benefits of DIC include: 1. Decoupling, making components independent, and the code is easy to maintain and test; 2. Flexibility, easy to replace or modify dependencies; 3. Testability, convenient for injecting mock objects for unit testing.

SplFixedArray is a fixed-size array in PHP, suitable for scenarios where high performance and low memory usage are required. 1) It needs to specify the size when creating to avoid the overhead caused by dynamic adjustment. 2) Based on C language array, directly operates memory and fast access speed. 3) Suitable for large-scale data processing and memory-sensitive environments, but it needs to be used with caution because its size is fixed.

PHP handles file uploads through the $\_FILES variable. The methods to ensure security include: 1. Check upload errors, 2. Verify file type and size, 3. Prevent file overwriting, 4. Move files to a permanent storage location.

In JavaScript, you can use NullCoalescingOperator(??) and NullCoalescingAssignmentOperator(??=). 1.??Returns the first non-null or non-undefined operand. 2.??= Assign the variable to the value of the right operand, but only if the variable is null or undefined. These operators simplify code logic, improve readability and performance.


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Zend Studio 13.0.1
Powerful PHP integrated development environment

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft

ZendStudio 13.5.1 Mac
Powerful PHP integrated development environment