When you have procedure defined as "forward" and you use Code Explorer and double click on the procedure it only goes to the forward definition. Can you make it so if the cursor is at the forward another double click takes you to the procedure body?
Jim Kueneman
Code Explorer and "forward"
- tihomir.losic
- mikroElektronika team
- Posts: 2138
- Joined: 02 Dec 2009 14:16
- Location: Serbia
- Contact:
Re: Code Explorer and "forward"
Hello,
A function can be declared without having it followed by it's implementation, by having it followed by the forward procedure.
The effective implementation of that function must follow later in the unit. The function can be used after a forward declaration as if it had been implemented
already. So, it's not recommended to use "forward" as name of your procedure.
Best regards,
Losic Tihomir
A function can be declared without having it followed by it's implementation, by having it followed by the forward procedure.
The effective implementation of that function must follow later in the unit. The function can be used after a forward declaration as if it had been implemented
already. So, it's not recommended to use "forward" as name of your procedure.
Best regards,
Losic Tihomir
mikroElektronika [Support team]
-
- Posts: 417
- Joined: 10 Jan 2009 22:03
Re: Code Explorer and "forward"
Sorry, it was a bit unclear the way I worded my comment:
When you click Foo in the Code Explorer it goes to the
I would like the IDE to be smart enough that if I select Foo in the Code Explorer it goes to the body
A possible logic implementation is if you click it in the Code Explorer and the IDE sees the cursor at the
block it then will put the cursor at the
block and if it is at the
it jumps to the
block
Jim
Code: Select all
procedure Foo; forward
......
// in body of unit
procedure Foo;
begin
// do someting
end;
Code: Select all
procedure Foo; forward
Code: Select all
procedure Foo;
begin
// do someting
end;
Code: Select all
procedure Foo; forward
Code: Select all
procedure Foo;
begin
// do someting
end;
Code: Select all
procedure Foo;
begin
// do someting
end;
Code: Select all
procedure Foo; forward
Jim
- tihomir.losic
- mikroElektronika team
- Posts: 2138
- Joined: 02 Dec 2009 14:16
- Location: Serbia
- Contact:
Re: Code Explorer and "forward"
Hello Jim,
thank you for your suggestion.
I will pass it to our developers, in order to consider it.
Best, regards,
Losic Tihomir
thank you for your suggestion.
I will pass it to our developers, in order to consider it.
Best, regards,
Losic Tihomir
mikroElektronika [Support team]