Different companies have different code specifications. for example, some companies use the tab key for code indentation, and some companies use spaces to replace the tab. The following describes how the eclipsephp plug-in converts the tab key to a space.
Different companies have different code specifications. for example, some companies use the tab key for code indentation, and some companies use spaces to replace the tab, the following describes how to convert the tab key to a space in the eclipse php plug-in.
1. for more information, see windows = preferences = general = editors = text editors.
Set a space to replace the tab. Method 1:
This method is suitable for eclipse with php plug-ins on the Internet. if you use the php plug-in, you can install it using help => install new software, this method does not take effect after being set. Method 2
2. windows = preferences = phpeclipse = php = typing.
Use a space to replace the tab. Method 2:
The lowest setting in the left-side navigation pane. check the preceding setting. For more information about setting a tab, see the following spaces.
Php plug-in, set a tab corresponding to several spaces