473,386 Members | 1,798 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Jump to errors using F4

Hi all,

Occasionally I make mistakes when programming in c++. Visual Studio 6
catches most of these when compiling and stops the compiling process.
Pressing F4 jumps to the first error.

With "Visual Studio .net 2003 7.1 c++", I have found that pressing F4 does
something different. It opens an HTML log file (and takes a long time at
that). Note that I use a workspace with many projects.

Is there any way to make "Visual Studio .net 2003 7.1 c++" behave like VS6
and jump to the first error when I press F4?

Thanks,

Rudy
Nov 17 '05 #1
6 1369
Rudy Ray Moore <ru*******@hotmail.com> wrote:
[...]
With "Visual Studio .net 2003 7.1 c++", I have found that pressing F4 does
something different. It opens an HTML log file (and takes a long time at
that). Note that I use a workspace with many projects.
Ahh. That's annoying as well.
Is there any way to make "Visual Studio .net 2003 7.1 c++" behave like VS6
and jump to the first error when I press F4?
What I do if I compile expecting an error is
To move the curser up one line as soon as the
first file to be compiled is listed. Then F4
will bring you to the first error.
Thanks,

Rudy

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #2

I see. What I did was disable generation of .html log files. Now F4 goes
to the first error! :-/

"Hendrik Schober" <Sp******@gmx.de> wrote in message
news:uR**************@TK2MSFTNGP10.phx.gbl...
Rudy Ray Moore <ru*******@hotmail.com> wrote:
[...]
With "Visual Studio .net 2003 7.1 c++", I have found that pressing F4 does something different. It opens an HTML log file (and takes a long time at that). Note that I use a workspace with many projects.


Ahh. That's annoying as well.
Is there any way to make "Visual Studio .net 2003 7.1 c++" behave like VS6 and jump to the first error when I press F4?


What I do if I compile expecting an error is
To move the curser up one line as soon as the
first file to be compiled is listed. Then F4
will bring you to the first error.
Thanks,

Rudy

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers

Nov 17 '05 #3
You should not need to. I am asking someone to take a look.

Ronald Laeremans
Visual C++ team

"Rudy Ray Moore" <ru*******@hotmail.com> wrote in message
news:eO**************@TK2MSFTNGP10.phx.gbl...

I see. What I did was disable generation of .html log files. Now F4 goes
to the first error! :-/

"Hendrik Schober" <Sp******@gmx.de> wrote in message
news:uR**************@TK2MSFTNGP10.phx.gbl...
Rudy Ray Moore <ru*******@hotmail.com> wrote:
[...]
With "Visual Studio .net 2003 7.1 c++", I have found that pressing F4 does something different. It opens an HTML log file (and takes a long time at that). Note that I use a workspace with many projects.


Ahh. That's annoying as well.
Is there any way to make "Visual Studio .net 2003 7.1 c++" behave like VS6 and jump to the first error when I press F4?


What I do if I compile expecting an error is
To move the curser up one line as soon as the
first file to be compiled is listed. Then F4
will bring you to the first error.
Thanks,

Rudy

Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers


Nov 17 '05 #4
> From: "Rudy Ray Moore" <ru*******@hotmail.com>

Is there any way to make "Visual Studio .net 2003 7.1 c++" behave like VS6
and jump to the first error when I press F4?


Yes there is. You can set the keyboard bindings to use the VC6 keyboard
scheme from the "Tools|Options" menu under the "Environment.Keyboard" tab.

You can also manually map F4/shift-F4 to
Edit.GotoNextOutputWindowError/Edit.GotoPreviousOutputWindowError from the
same dialog.

This will get you the closest possible behavior to VC6. The only exception
will be that you will also cycle through the bulid log (not just the
errors).

Thanks,
--
Tarek Madkour, Visual C++ Team
This posting is provided AS IS with no warranties, and confers no rights.

Nov 17 '05 #5
"Tarek Madkour [MSFT]" <ta****@online.microsoft.com> wrote:
From: "Rudy Ray Moore" <ru*******@hotmail.com>

Is there any way to make "Visual Studio .net 2003 7.1 c++" behave like VS6
and jump to the first error when I press F4?

Yes there is. You can set the keyboard bindings to use the VC6 keyboard
scheme from the "Tools|Options" menu under the "Environment.Keyboard" tab.

You can also manually map F4/shift-F4 to
Edit.GotoNextOutputWindowError/Edit.GotoPreviousOutputWindowError from the
same dialog.

This will get you the closest possible behavior to VC6. The only exception
will be that you will also cycle through the bulid log (not just the
errors).


There is another subtle, but annoying
difference, though: F4 will also cycle
through the list of files to compile
that appeares when you don't specify
"/nologo".
(I know this is off by default, but we
have it turned on for every project.)
Thanks,


Schobi

--
Sp******@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers
Nov 17 '05 #6
> From: "Hendrik Schober" <Sp******@gmx.de>

"Tarek Madkour [MSFT]" <ta****@online.microsoft.com> wrote:
From: "Rudy Ray Moore" <ru*******@hotmail.com>

Is there any way to make "Visual Studio .net 2003 7.1 c++" behave like VS6 and jump to the first error when I press F4?


Yes there is. You can set the keyboard bindings to use the VC6 keyboard
scheme from the "Tools|Options" menu under the "Environment.Keyboard" tab.
You can also manually map F4/shift-F4 to
Edit.GotoNextOutputWindowError/Edit.GotoPreviousOutputWindowError from the same dialog.

This will get you the closest possible behavior to VC6. The only exception will be that you will also cycle through the bulid log (not just the
errors).


There is another subtle, but annoying
difference, though: F4 will also cycle
through the list of files to compile
that appeares when you don't specify
"/nologo".
(I know this is off by default, but we
have it turned on for every project.)


First time I see this one! Thanks for the report :)

--
Tarek Madkour, Visual C++ Team
This posting is provided AS IS with no warranties, and confers no rights.

Nov 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: VB Programmer | last post by:
I created a page which I am using to prevent the user from hitting the BACK button. I'll call it my "Auto Jump" page. When it is called it basically auto-redirects to a page specified in the...
4
by: Edwin Knoppert | last post by:
I wonder how i can get rid of the warnings. I pass one control as object to a procedure. However, the controltype differs per scenario, therefore i choose for AS object. I want to set a style...
0
by: Edwin Knoppert | last post by:
I read about session which expires and then they want to jump to login page. That's not the problem for me imo. Since the login remains authenticated. The problem is that variables are lost...
4
by: robert d via AccessMonster.com | last post by:
When my app starts up, it creates a temporary database. This temp database is created from a 'model' database that is in the same folder as the application. Because there is a model, the creation...
6
by: Todd A. Anderson | last post by:
I have a function foo of which I need to get the address. The problem is that when you say "&foo" (or just foo for that matter), you get the address of this function's entry in a jump table and...
9
by: sam_cit | last post by:
Hi Everyone, I wanted to know as to how a switch case like the following one is converted into a jump table by the compiler, assuming that it does, switch(i) { case 4 : { ... printf("4");
3
by: newguy194 | last post by:
I am currently writing a Win32 application and when I compile I get a "Jump to case label" error and another error tellling me that switch(LOWORD(wParam)) is unreachable in the switch, when I remove...
1
by: =?Utf-8?B?bGlhbnF0bGl0?= | last post by:
Is using a jump statement more faster than using if statement with a jump statement example for(int i=0; i < 10; i++) { if(a == null) {
13
by: =?Utf-8?B?Um9nZXIgTWFydGlu?= | last post by:
This is a follow-up to my post "Silverlight video doesn't work when file is streamed from handler in ASP.net" at...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.