Code template autocomplete

Bug Reports and Fixes
Post Reply
sergey_che
Posts: 14
Joined: Tue Mar 11, 2008 10:04 am

Code template autocomplete

Post by sergey_che » Tue Mar 11, 2008 10:21 am

I don't know is this a bug or feature, but when i'm typing first letters of code template and then select suggested code template Spket appends it to those letters.

This is what i'm doing in JavaScript editor:

1. Type for
2. Press Ctrl + Space and select suggested 'for' code template

And I receive this:

Code: Select all

forfor (var index = 0; index < array.length; index++) {
	
}
------
Eclipse 3.3 with ATF 0.2.3M4 on MacOS X 10.5.2

eric_suen
Site Admin
Posts: 678
Joined: Wed Sep 28, 2005 7:00 am
Contact:

Post by eric_suen » Tue Mar 11, 2008 2:31 pm

Thanks for report this, it is a bug, I will fix it in next version.

hugoto
Posts: 5
Joined: Wed Oct 10, 2007 4:00 pm

Post by hugoto » Wed Mar 12, 2008 3:47 pm

this error also occurs in lzx templates.

Example:
typing "can" + ctr+space, the editor puts:

Code: Select all

can<?xml version="1.0" encoding="utf-8"?>
<!-- ====================================================================== 
     12/03/2008 12:44:46                                                        
     Hugo Pineda                                                                
     ====================================================================== -->
<canvas>
	
</canvas>
Note. The error is generated only with the LZX templates, not with the standard code assist.

Thanks in advance.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests