Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Live templates invoke = "auto"


This question is not answered. Helpful answers available: 2. Correct answers available: 1.


Permlink Replies: 2 - Last Post: May 24, 2016 12:49 AM Last Post By: Hubert Anemaat
Hubert Anemaat

Posts: 9
Registered: 9/26/02
Live templates invoke = "auto"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 20, 2016 1:34 AM
Hello,

I created a live template SQL. The code is completed after clicking the space bar.

And I created a live template //9 copied from the SQL live template to add the remark "//9.0.1.x 20-05-16: " but it is NOT completed by pressing the space bar. I can only use Ctrl-J. How can I make it expand with the spacebar ?

Thanks,
Hubert
Peter Below

Posts: 1,227
Registered: 12/16/99
Re: Live templates invoke = "auto"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 22, 2016 3:01 AM   in response to: Hubert Anemaat in response to: Hubert Anemaat
Hubert Anemaat wrote:

Hello,

I created a live template SQL. The code is completed after clicking
the space bar.

And I created a live template //9 copied from the SQL live template
to add the remark "//9.0.1.x 20-05-16: " but it is NOT completed by
pressing the space bar. I can only use Ctrl-J. How can I make it
expand with the spacebar ?

Call it SS9, for example. Use a name that follows the syntax rules for
a Delphi identifier.


--
Peter Below
TeamB

Hubert Anemaat

Posts: 9
Registered: 9/26/02
Re: Live templates invoke = "auto"  
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 24, 2016 12:49 AM   in response to: Peter Below in response to: Peter Below
Hello Peter,

'ss9' does not work. But changing it to 'rem' works if the filename does not start with a number. I named it 1VersionRemark.xml because it is on the top of active files in the editor. After I had changed this to VersionRemark.xml it works.

It looks as if the live templates do not like the numbers.

Thanks,
Hubert

Peter Below wrote:
Hubert Anemaat wrote:

Hello,

I created a live template SQL. The code is completed after clicking
the space bar.

And I created a live template //9 copied from the SQL live template
to add the remark "//9.0.1.x 20-05-16: " but it is NOT completed by
pressing the space bar. I can only use Ctrl-J. How can I make it
expand with the spacebar ?

Call it SS9, for example. Use a name that follows the syntax rules for
a Delphi identifier.


--
Peter Below
TeamB

Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02