This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[ BUILD # : 200808141419 ] [ JDK VERSION : 1.6.0_02 ] Hi When i want to use Code Template in editor it work truly but when i type abbreviation of Code Template in editor and then press Enter button then i return in the previous line and then press Tab button for using code template that i typed . it does not work and show anything.
Well, I believe this is the way it is designed. For example: If you type "for " (with a space) and then you realize you can actually use a template "fori<tab>", you need to delete all "for " and start over. If you just delete the last space and if you press <tab>, it won't work... I think this issue is probably invalid. What if you want to type "int fori<tab>= 0;", for example because of the nice indentation? You must leave the user some means to do that... If the code template was expanded everytime you press tab after template code, you wouldn't be able to type above mentioned text... I am making this issue "invalid" for now, but please don't hesitate to reopen this issue if you think it should be opened...
Hi I think when a user change the short key of code template to shift + space this is a problem and this is not the way it is designed .
this is not so serious IMHO
Well, in fact this __is__ the way how code templates expansion was designed. The question is whether this design is good or not. Maybe it is not and maybe the expansion could behave differently depending on what expansion key you choose. But any change in this area may have potentially disastrous consequences for many people who has already become familiar with the way how it is now.
*** This issue has been marked as a duplicate of 57856 ***
*** This bug has been marked as a duplicate of bug 151633 ***