Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2011-08

FP IDE - jump to implementation

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Graeme Geldenhuys

Hi,

Is there a keyboard shortcut for FP IDE (text IDE included with FPC) to jump from the interface section to the implementation section of a method.

Like Delphi or Lazarus's Ctrl+Shift+[up|down]

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email

Jonas Maebe
to Graeme Geldenhuys
Graeme Geldenhuys wrote
Is there a keyboard shortcut for FP IDE (text IDE included with FPC) to jump from the interface section to the implementation section of a method.

No. As far as I know, it does not have any functionality to parse the structure of the source code in any way (other than for syntax highlighting).

Jonas

Reply by email

Tomas Hajny
to Jonas Maebe
Jonas Maebe wrote 9 lines
On 26 Aug 2011, at 23:56, Graeme Geldenhuys wrote: > Is there a keyboard shortcut for FP IDE (text IDE included with FPC) > to jump from the interface section to the implementation section of a > method. No. As far as I know, it does not have any functionality to parse the structure of the source code in any way (other than for syntax highlighting).

I may be wrong but I believe that there's support for finding the other side of brackets and begin/end sure about the original qustion though (I can't check it right now).

Tomas

Reply by email

Marco van de Voort
to Tomas Hajny

In our previous episode, Tomas Hajny said:

Show quoted text 11 lines
>> Is there a keyboard shortcut for FP IDE (text IDE included with FPC) >> to jump from the interface section to the implementation section of a >> method. > > No. As far as I know, it does not have any functionality to parse the > structure of the source code in any way (other than for syntax > highlighting). I may be wrong but I believe that there's support for finding the other side of brackets and begin/end sure about the original qustion though (I can't check it right now).

Yes, (auto-closing brackets). There is also codefolding, though unfinished an experimental.

There is also codecomplete but afaik that is just macro expansion not very intelligent.

Reply by email

Graeme Geldenhuys
to Marco van de Voort
Marco van de Voort wrote
There is also codecomplete but afaik that is just macro expansion not very intelligent.

I often find that [macro expansion] more useful than the supposed "intelligent" IDE's that often get things like indentation, begin..end placement etc wrong. Florian's recent post in Lazarus mailing list is just another proof of that.

But it is amazing how one gets used to certain editor features as part of your workflow. :) eg: like jumping from interface to implementation. I'm working on a solution for my own experimental IDE, and was curious to see how FP IDE did it, if that feature existed (and without something like a Lazarus CodeTools package). If I find a good solution, I'll try and apply it to the FP IDE too. It's a very handy editor feature to have.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email