Code template is generated incompletely.
steps:
1/ put in editor (without line numbers), lines 4 and 5 are empty
1begin
2
3end;
4
5
2/ put cursor in line 2, type “for” , ctrl+space to use template
result:
1begin
2FOR IN 1 … 10 LOOP
3END LOO
4end;
5
6
Description:
line 3 is incomplete.
this it does not happen when there’s no empty lines (4 and 5) from original code.
I hacve not checked other templates
Good catch. All templates will be affected when there is at least one trailing newline in your source.
Michael
On 09/22/2015 10:18 AM, fisher_359 wrote:
code templates issue
Thread created by fisher_359
Code template is generated incompletely.
steps:
1/ put in editor (without line numbers), lines 4 and 5 are empty
1begin
2
3end;
4
5
2/ put cursor in line 2, type "for" , ctrl+space to use template
result:
1begin
2FOR IN 1 .. 10 LOOP
3END LOO
4end;
5
6
Description:
line 3 is incomplete.
this it does not happen when there's no empty lines (4 and 5) from original code.
I hacve not checked other templates
To reply, please reply-all to this email.
Stop receiving emails on this subject.
Or
Unsubscribe from Toad for Oracle - Beta notifications altogether.
Toad for Oracle - Beta Discussion Forum
Flag
this post as spam/abuse.