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 175339 - Templates Do Not Work
Summary: Templates Do Not Work
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Editor (show other bugs)
Version: 6.x
Hardware: PC Windows Vista
: P2 blocker (vote)
Assignee: rmatous
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2009-10-23 21:33 UTC by laurin1
Modified: 2009-11-19 17:25 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 laurin1 2009-10-23 21:33:00 UTC
I just installed 6.8 Beta and the templates I added, which work fine in 6.7, do not work. I have a bunch of templates 
that start with Input::, like Input::BUTTON. In 6.7 I type Input and hit ctrl-space and I get a list of them all, but 
in 6.8, I do not get anything.
Comment 1 rmatous 2009-10-24 09:05:18 UTC
need more information, please provide us with at least one template
Comment 2 laurin1 2009-10-26 15:38:27 UTC
Abbreviation: Input::BUTTON
Expanded Text:

Input2::$$sType		= A;
Input2::$$sName		= "";
Input2::$$sText		= "";
Input2::$$sHREF		= "";
Input2::$$sOnClick	= ""; 
Input2::Display();

Description: (none)
Comment 3 Filip Zamboj 2009-10-26 19:39:32 UTC
I cannot reproduce. Add new code template and/or expand the code template in IDE works for me in 6.8 and in 6.7.1 in the
same way. Code completion on code templates doesn't work for me in any of both IDEs. 

@radek: should it be working?
Comment 4 laurin1 2009-10-26 19:55:09 UTC
Ok, the expand works, but autocomplete does not, which is what I was referring to. The autocomplete works fine in 
6.7.1 and in previous versions. I don't really use the expand on these and here's the reason: if you don't type it 
perfectly, it doesn't work. I fat finger while I type a lot, and if you mistype, back up and retype, the expand does 
not work. I need to be able to type Input, hit ctrl-space and get the list, as I've done in all versions previous to 
6.8.
Comment 5 Filip Zamboj 2009-10-27 13:57:48 UTC
reproduced on 
Product Version: NetBeans IDE Dev (Build 091027)
Java: 1.6.0_16; Java HotSpot(TM) 64-Bit Server VM 14.2-b01

expand works as expected 
code completion doesn't work but does in 6.7.1 => regression 

example: 
abbreviaton: Input::BUTTON
expanded text: Input $a = 20; 

type Inp| and invoke cc, code template Input::BUTTON is not being offered. 

@radek: do you need more information? I don't have any exception in IDE Log. Maybe more logging information? 
Comment 7 Quality Engineering 2009-10-28 11:58:03 UTC
Integrated into 'main-golden', will be available in build *200910280201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/18816f2dd99a
User: Radek Matous <rmatous@netbeans.org>
Log: #175339 Templates Do Not Work
Comment 8 Quality Engineering 2009-11-06 10:03:00 UTC
Integrated into 'main-golden', will be available in build *200911060201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/29c5d9434548
User: Radek Matous <rmatous@netbeans.org>
Log: #175339 Templates Do Not Work II
Comment 9 Filip Zamboj 2009-11-19 17:25:44 UTC
verified 
Product Version: NetBeans IDE Dev (Build 091119-840bbe3ddcb3)
Java: 1.5.0_17-ea; Java HotSpot(TM) 64-Bit Server VM 1.5.0_17-ea-b01