BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

simple bcb 2007 request

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical)
View previous topic :: View next topic  
Author Message
daver
Guest





PostPosted: Wed Apr 04, 2007 8:13 pm    Post subject: simple bcb 2007 request Reply with quote



I would like a hot-key for compile unit.

dave
Back to top
Bob Gonder
Guest





PostPosted: Wed Apr 04, 2007 8:49 pm    Post subject: Re: simple bcb 2007 request Reply with quote



daver wrote:

Quote:
I would like a hot-key for compile unit.

Alt-F9
Back to top
daver
Guest





PostPosted: Wed Apr 04, 2007 9:50 pm    Post subject: Re: simple bcb 2007 request Reply with quote



Bob Gonder wrote:
Quote:
daver wrote:

I would like a hot-key for compile unit.

Alt-F9


Ok. I do not have this because I use the Visual C++ mappings.


Let me revise my request (implement the hot key for visual c++ mapping).
Or better yet - make the hotkey system actually configurable.
Back to top
daver
Guest





PostPosted: Wed Apr 04, 2007 9:54 pm    Post subject: Re: simple bcb 2007 request Reply with quote

daver wrote:
Quote:
Bob Gonder wrote:
daver wrote:

I would like a hot-key for compile unit.

Alt-F9


Ok. I do not have this because I use the Visual C++ mappings.

Let me revise my request (implement the hot key for visual c++ mapping).
Or better yet - make the hotkey system actually configurable.

more on this problem/feature...

in bds i can select the default keymapping and get alt F9 and then I
switch to the visual studio keymapping and it stays there until i restart.

in bcb6 i can select the default keymapping and get alt F9 and then I
switch to the visual studio keymapping its not there.
Back to top
Tamas Demjen
Guest





PostPosted: Wed Apr 04, 2007 10:08 pm    Post subject: Re: simple bcb 2007 request Reply with quote

daver wrote:
Quote:
Bob Gonder wrote:

Alt-F9


Ok. I do not have this because I use the Visual C++ mappings.

You are right. In Visual Studio, Ctrl+F7 is mapped to Compile Unit by
default. This doesn't seem to work in C++Builder with Visual Studio
mappings -- it compiles the whole project, not just the current file.

Tom
Back to top
Duane Hebert
Guest





PostPosted: Wed Apr 04, 2007 11:00 pm    Post subject: Re: simple bcb 2007 request Reply with quote

"Tamas Demjen" <tdemjen (AT) yahoo (DOT) com> wrote in message
news:4613db2d$1 (AT) newsgroups (DOT) borland.com...
Quote:
daver wrote:
Bob Gonder wrote:

Alt-F9


Ok. I do not have this because I use the Visual C++ mappings.

You are right. In Visual Studio, Ctrl+F7 is mapped to Compile Unit by
default. This doesn't seem to work in C++Builder with Visual Studio
mappings -- it compiles the whole project, not just the current file.

It doesn't look like VS 2003 has any concept of "compile whole project"
It's either compile the unit (ctrl f7), build the project (basically make)
or
rebuild the project.
Back to top
Tamas Demjen
Guest





PostPosted: Thu Apr 05, 2007 12:18 am    Post subject: Re: simple bcb 2007 request Reply with quote

Duane Hebert wrote:

Quote:
It doesn't look like VS 2003 has any concept of "compile whole project"
It's either compile the unit (ctrl f7), build the project (basically make)
or
rebuild the project.

Compile Unit - BCB: Alt+F9 = VS: Ctrl+F7
Make Project - BCB: Ctrl+F9 = VS: none
Rebuild Project - BCB: Shift+F9 = VS: none
Make Project Group - BCB: none = VS: F7 or Ctrl+Shift+B
Rebuild Project Group - BCB: none = VS: Ctrl+Alt+F7

It's complicated. Also:
BCB: Make = VS: Build
BCB: Build = VS: Rebuild

Tom
Back to top
Duane Hebert
Guest





PostPosted: Thu Apr 05, 2007 1:59 am    Post subject: Re: simple bcb 2007 request Reply with quote

"Tamas Demjen" <tdemjen (AT) yahoo (DOT) com> wrote in message
news:4613f987$1 (AT) newsgroups (DOT) borland.com...
Quote:
Duane Hebert wrote:

It doesn't look like VS 2003 has any concept of "compile whole project"
It's either compile the unit (ctrl f7), build the project (basically
make)
or
rebuild the project.

Compile Unit - BCB: Alt+F9 = VS: Ctrl+F7
Make Project - BCB: Ctrl+F9 = VS: none
Rebuild Project - BCB: Shift+F9 = VS: none
Make Project Group - BCB: none = VS: F7 or Ctrl+Shift+B
Rebuild Project Group - BCB: none = VS: Ctrl+Alt+F7

It's complicated. Also:
BCB: Make = VS: Build
BCB: Build = VS: Rebuild

Visual has batch build also where you can choose groups
of projects in the solution to clean/build/rebuild. No
shortcut keys though.
Back to top
daver
Guest





PostPosted: Thu Apr 05, 2007 2:47 am    Post subject: Re: simple bcb 2007 request Reply with quote

Quote:

Visual has batch build also where you can choose groups
of projects in the solution to clean/build/rebuild. No
shortcut keys though.


Also to mention vstudio 05 allows you to customize all hot keys to any
function. Therefore, they have the best solution.

I regularly do a compile unit to figure out if the code I just wrote
compiles. Since I use it a lot a hot-key would be valuable.
Back to top
Randall Parker
Guest





PostPosted: Sat Apr 07, 2007 11:03 pm    Post subject: Re: simple bcb 2007 request Reply with quote

daver wrote:
Quote:
I would like a hot-key for compile unit.

dave

I'd like to repeat a request I've made before:

1) If .cpp and .h files have changed then make should compile the .cpp files that
have changed before compiling the .cpp files that need to get compiled due to .h file
changes. Most of your compiler errors will be in the .cpp files and compiling the
..cpp with its .h will find errors in both.

2) I'd also like a "Compile all .cpp files that have changed" key. Sometimes I don't
want to test my .h files against all .cpp files that use them. I just want to check
all the .cpp files I've changed.

3) Even smarter: Only compile .cpp files that the IDE editor detects have gotten
non-comment changes.

4) Even smarter still: background IDE editor parsing that lets you know dynamically
which files have syntax errors.
Back to top
Alex Bakaev [TeamB]
Guest





PostPosted: Mon Apr 09, 2007 9:20 pm    Post subject: Re: simple bcb 2007 request Reply with quote

Randall Parker wrote:

Quote:
4) Even smarter still: background IDE editor parsing that lets you know
dynamically which files have syntax errors.

I would settle on the async compile at this point <g>
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder (Non-Technical) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.