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.

Bug 179830 - Some code templates don't activate unless typed fast
Summary: Some code templates don't activate unless typed fast
Status: RESOLVED INCOMPLETE
Alias: None
Product: editor
Classification: Unclassified
Component: Completion & Templates (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal with 2 votes (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 02:28 UTC by rogojine
Modified: 2010-05-26 11:56 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rogojine 2010-01-25 02:28:33 UTC
In a PHP file, I type "iter", wait a split second, then type <TAB>. It expands the code template.
Typing "pubf" then <TAB> just adds a tabulation to the text. But if you type it fast (including the <TAB>) then it works as expected.

I think the code completion is interfering with the code template. This behaviour wasn't there in Netbeans 6.7. If I remember well, the "public" keyword wasn't recognized back there.

Hope it's not a duplicate, I couldn't find a similar bug.
Comment 1 Vitezslav Stejskal 2010-02-01 06:57:54 UTC
Could you please describe exact steps how to reproduce this problem? I can't see pubf as a code template in PHP. When I added one it was expanding as expected. The 'public' keyword is offered by CC when I type 'pub' and is inserted in the document after pressing TAB. Thanks
Comment 2 kristianwiborg 2010-05-26 11:56:16 UTC
This is still an issue in NetBeans 6.9 Beta. I'm using NetBeans for PHP