Board index » cppbuilder » Delphi/C++ IDE feature

Delphi/C++ IDE feature


2005-01-31 10:58:10 PM
cppbuilder75
I was wondering, does anyone know whether the current Delphi 2005 (i
guess that's the name) IDE has a "navigate backwards" feature like
Visual Studio? Where it will jump backward and forward through the files
you've been editing/viewing?
thanks,
tim
 
 

Re:Delphi/C++ IDE feature

Yep. This is availabel in Delphi since version 4 I think and it is also
availabel in BCB.
Doychin
tim wrote:
Quote
I was wondering, does anyone know whether the current Delphi 2005 (i
guess that's the name) IDE has a "navigate backwards" feature like
Visual Studio? Where it will jump backward and forward through the files
you've been editing/viewing?



thanks,


tim
 

Re:Delphi/C++ IDE feature

Really? Do you know the key combination or where I can find it? Under
Visual Studio it's listed under View or Edit, no such luck in BCB.
Thanks,
tim
Doychin Bondzhev wrote:
Quote
Yep. This is availabel in Delphi since version 4 I think and it is also
availabel in BCB.

Doychin
tim wrote:

>I was wondering, does anyone know whether the current Delphi 2005 (i
>guess that's the name) IDE has a "navigate backwards" feature like
>Visual Studio? Where it will jump backward and forward through the
>files you've been editing/viewing?
>
>
>
>thanks,
>
>
>tim
 

{smallsort}

Re:Delphi/C++ IDE feature

In BCB6:
Startup the IDE ( creates a new app by default )
F12 to focus on the unit
click on the class declaration
Control-Click on TForm in the class declaration
// this jumps you to the c++ header Forms.hpp
Alt-Left arrow
// jumps you back to Unit1.h
Alt-Right
// jumps back to Forms.hpp
This works the same way in D6,D7 and in the IDEs with
.NET support ( D8, D2005 )
tim wrote:
Quote
Really? Do you know the key combination or where I can find it? Under
Visual Studio it's listed under View or Edit, no such luck in BCB.


 

Re:Delphi/C++ IDE feature

Robert Ehteshamzadeh (Borland QA) wrote:
Quote
Alt-Left arrow

// jumps you back to Unit1.h

Alt-Right
These are the same hot keys used by Explorer for forward/back and are
frequently adopted by mouse drivers for the forward/back buttons. This
is certainly the case with my Logitech mouse and is very handy.
--
Andrue Cope [TeamB]
[Bicester, Uk]
info.borland.com/newsgroups/guide.html
 

Re:Delphi/C++ IDE feature

Thanks for those comments, but maybe I'm missing something, but this is
really what I'm looking for.
Say I'm browsing in one file or whatever, so my cursor is in a
particular place in that file.
Now, I remember, oh yeah, I need to look at function XYZ and it belongs
to class B. So I double click that function in the ClassExplorer and
jump there. So I look through the code and position my cursor somewhere
in that file.
Now I'd like to be able to hit Ctrl-Minus and Ctrl-Plus to swap back and
forth. Of course, some of you may mention just click between the tabs.
While this is true it's not as convenient and it relies on me to
remember where I am while modifying 5-8 files.
At any rate, thanks for all the suggestions. I don't think we've hit on
it just yet. Has anyone actually used this functionality in VS? It's
pretty nice what little I played with it.
cheers,
tim
Robert Ehteshamzadeh (Borland QA) wrote:
Quote
In BCB6:

Startup the IDE ( creates a new app by default )

F12 to focus on the unit

click on the class declaration

Control-Click on TForm in the class declaration

// this jumps you to the c++ header Forms.hpp

Alt-Left arrow

// jumps you back to Unit1.h

Alt-Right

// jumps back to Forms.hpp

This works the same way in D6,D7 and in the IDEs with
.NET support ( D8, D2005 )


tim wrote:

>Really? Do you know the key combination or where I can find it? Under
>Visual Studio it's listed under View or Edit, no such luck in BCB.
>
>
 

Re:Delphi/C++ IDE feature

Really? The Browse Back and Browse Forward buttons are disabled for me.
In fact, they have always been disabled, they never worked for me, and
they're disabled on my home computer, and on my colleague's computer as
well. How do you turn this feature on?
Tom
Robert Ehteshamzadeh (Borland QA) wrote:
Quote
In BCB6:

Startup the IDE ( creates a new app by default )

F12 to focus on the unit

click on the class declaration

Control-Click on TForm in the class declaration

// this jumps you to the c++ header Forms.hpp

Alt-Left arrow

// jumps you back to Unit1.h

Alt-Right

// jumps back to Forms.hpp

This works the same way in D6,D7 and in the IDEs with
.NET support ( D8, D2005 )


tim wrote:

>Really? Do you know the key combination or where I can find it? Under
>Visual Studio it's listed under View or Edit, no such luck in BCB.
>
>
 

Re:Delphi/C++ IDE feature

Tamas Demjen wrote:
Quote
Really? The Browse Back and Browse Forward buttons are disabled
for me. In fact, they have always been disabled, they never
worked for me, and they're disabled on my home computer, and on
my colleague's computer as well. How do you turn this feature on?

Robert Ehteshamzadeh (Borland QA) wrote:
>Control-Click on TForm in the class declaration
>
>// this jumps you to the c++ header Forms.hpp
You have to Ctrl-Click on something that turns hyperlinked in your
source to enable the back-forth buttons. Only Ctrl-Clicked
navigation is tracked, not "normal" navigation. Not everything can
be Ctrl-Clicked. I find it only semi-useful.
-Brion
 

Re:Delphi/C++ IDE feature

Hi Tom,
Keep the Ctrl pressed and move the mouse over your source. It is a
hiperlinked now. This is one of the greatest features of BCB & Delphi,
never matched by anything else I have seen yet. It is enormous
productivity boost. It however does not work well when you deal with a
lot of namespaces in BCB :-( . I hope they will improve it, as I rate it
the No.1 best feature of BCB and of any code editor I have ever seen.
Cheers,
Boian
Tamas Demjen wrote:
Quote
Really? The Browse Back and Browse Forward buttons are disabled for me.
In fact, they have always been disabled, they never worked for me, and
they're disabled on my home computer, and on my colleague's computer as
well. How do you turn this feature on?

Tom

Robert Ehteshamzadeh (Borland QA) wrote:

 

Re:Delphi/C++ IDE feature

Boian Mitov < XXXX@XXXXX.COM >writes:
Quote
Hi Tom,

Keep the Ctrl pressed and move the mouse over your source. It is a
hiperlinked now.
To what is it hyperlinked? I assume the declaration? If so, sounds
kind of nice, but would be far better if it had keyboard equivalent.
I detest having to move my hands to the mouse just to get a special
feature. Normally, when I'm programming I'm typing, and so my hands
are not on the mouse.
Quote
This is one of the greatest features of BCB & Delphi,
never matched by anything else I have seen yet. It is enormous
productivity boost. It however does not work well when you deal with a
lot of namespaces in BCB :-( . I hope they will improve it, as I rate
it the No.1 best feature of BCB and of any code editor I have ever
seen.
Wow, that's high praise.
--
Chris (TeamB);
 

Re:Delphi/C++ IDE feature

Actually it is not only to the declaration, it is to anything. In
Delphi you can jump to declarations, definitions, local variables,
globals, etc., ect., etc. The BCB version is just a bit less powerful,
but it even works with some of the #define. It has some glitches in BCB
however. It turns the code into a real hiperlink experience, and has
been by far the best code navigation system I have ever seen in my life.
It beats all. The keyboard feature may be nice, but usually you get the
best benefit when you are analyzing existing code, this however is not
the only use, and I agree that a keyboard option will be welcomed.
Chris Uzdavinis (TeamB) wrote:
Quote
To what is it hyperlinked? I assume the declaration? If so, sounds
kind of nice, but would be far better if it had keyboard equivalent.
I detest having to move my hands to the mouse just to get a special
feature. Normally, when I'm programming I'm typing, and so my hands
are not on the mouse.
 

Re:Delphi/C++ IDE feature

Boian Mitov wrote:
Quote
This is one of the greatest features of BCB & Delphi, never matched
by anything else I have seen yet
It is except that it suffers from a very bad flaw. One of the few flaws
in Builder that can actually cost you time in lost source code.
I described it in QC#720 but the long and short of it is that you can
easily and often end up with the same file being open in two edit
buffers without the IDE realising. It seems to be because goto
declaration always opens with an absolute file path but the Project
Manager and Unit list use a relative path if they can.
--
Andrue Cope [TeamB]
[Bicester, Uk]
info.borland.com/newsgroups/guide.html
 

Re:Delphi/C++ IDE feature

Isn't it a great feature? Don't we just love those multiple openings
of .H files, and the associated AV in BCB ;-) .
Andrue Cope [TeamB] wrote:
Quote
I described it in QC#720 but the long and short of it is that you can
easily and often end up with the same file being open in two edit
buffers without the IDE realising. It seems to be because goto
declaration always opens with an absolute file path but the Project
Manager and Unit list use a relative path if they can.

 

Re:Delphi/C++ IDE feature

On Thu, 3 Feb 2005 09:08:39 +0000, Andrue Cope [TeamB] wrote:
Quote
I described it in QC#720 but the long and short of it is that you can
easily and often end up with the same file being open in two edit
buffers without the IDE realising.
It took me a while to realize that -- much hair pulling :)
--
liz
 

Re:Delphi/C++ IDE feature

Boian Mitov wrote:
Quote
Isn't it a great feature? Don't we just love those multiple
openings of .H files, and the associated AV in BCB ;-)
Oh yes. I was so glad when they didn't make the mistake of fixing the
feature in BCB6 :-/
--
Andrue Cope [TeamB]
[Bicester, Uk]
info.borland.com/newsgroups/guide.html