Community
Participate
Working Groups
Go to PHP -> Templates preferences page. Export e.g. next templates in a xml file: eco elif els Then remove mentioned templates pressing the button Remove in Templates page. Open just created xml file and remove the next text: <?xml version="1.0" encoding="UTF-8" standalone="no"?> Save changes. The xml file has the next contents: <templates><template autoinsert="true" context="php" deleted="false" description="echo a string" enabled="true" id="org.eclipse.php.ui.editor.templates.php.echo" name="eco">echo("${}"); ${cursor}</template><template autoinsert="true" context="php" deleted="false" description="elseif statement" enabled="true" id="org.eclipse.php.ui.editor.templates.php.elif" name="elif">elseif (${condition}) { ${cursor}; } </template><template autoinsert="true" context="php" deleted="false" description="else statement" enabled="true" id="org.eclipse.php.ui.editor.templates.php.else" name="els">else { ${cursor}; } </template></templates> Try to import the xml file. Expected: An appropriate error message. Actual: Templates eco, elif, els were imported sucessfully. This behavior is related to each template and related xml file. Found in N20081109
Looks to me like this is working as designed.