| View previous topic :: View next topic |
| Author |
Message |
daver Guest
|
Posted: Wed Apr 04, 2007 8:13 pm Post subject: simple bcb 2007 request |
|
|
I would like a hot-key for compile unit.
dave |
|
| Back to top |
|
 |
Bob Gonder Guest
|
Posted: Wed Apr 04, 2007 8:49 pm Post subject: Re: simple bcb 2007 request |
|
|
daver wrote:
| Quote: | I would like a hot-key for compile unit.
|
Alt-F9 |
|
| Back to top |
|
 |
daver Guest
|
Posted: Wed Apr 04, 2007 9:50 pm Post subject: Re: simple bcb 2007 request |
|
|
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
|
Posted: Wed Apr 04, 2007 9:54 pm Post subject: Re: simple bcb 2007 request |
|
|
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
|
Posted: Wed Apr 04, 2007 10:08 pm Post subject: Re: simple bcb 2007 request |
|
|
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
|
Posted: Wed Apr 04, 2007 11:00 pm Post subject: Re: simple bcb 2007 request |
|
|
"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
|
Posted: Thu Apr 05, 2007 12:18 am Post subject: Re: simple bcb 2007 request |
|
|
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
|
Posted: Thu Apr 05, 2007 1:59 am Post subject: Re: simple bcb 2007 request |
|
|
"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
|
Posted: Thu Apr 05, 2007 2:47 am Post subject: Re: simple bcb 2007 request |
|
|
| 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
|
Posted: Sat Apr 07, 2007 11:03 pm Post subject: Re: simple bcb 2007 request |
|
|
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
|
Posted: Mon Apr 09, 2007 9:20 pm Post subject: Re: simple bcb 2007 request |
|
|
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 |
|
 |
|