MyEclipse: Why do snippet templates create new lines zapa - Dec 24, 2005 - 03:47 AM Post subject: Why do snippet templates create new lines
I have just created a new snippet template . As i drag and drop or double click on it , the code gets inserted and each line seems to have a new line at the end . this is VERY annoying , is there a way i can fix this or is this a bug ?
( I did copy paste that thing , so maybe i need to write all the code in by hand to get no new lines ? I'll try that , but this is still anoying )
edit : tried simply typing , same result . this preety much nullifies the usefullness of the snippets as it requires more editing to get rid of the new lines ( keeping things tight together , when they are related is great for reading code faster )
template :
<?xml version="1.0"?>
<!DOCTYPE hibernate-mapping PUBLIC "-//Hibernate/Hibernate Mapping DTD 3.0//EN"
"http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd">
</hibernate-mapping>support-scott - Dec 26, 2005 - 05:40 PM Post subject:
Thanks for bringing this to our attention. We've entered a bug report for further investigation into both workarounds and fixes. In the interim, we apologize for the inconvenience this is causing in your development.zapa - Jan 03, 2006 - 05:16 PM Post subject:
Thanks a lot
Is there anywhere I can track this fix myself , or should I just wait for a new release ?zapa - Jan 06, 2006 - 10:55 PM Post subject:
nothing ?
also another sugestion , feaure request . I think it would be nothing but smart , if you've done the work to have the snippets where they are , available for drag and drop and double click , to also allow the user to set a "keyword" just like IDEA so that one could bring in a snippet in the code by not using the mouse and simply typing the coresponding snippet key word , pressing alt+space or something , and getting the snippet in the code .