2 IDE questions

  • Thread starter Thread starter Ray Mitchell
  • Start date Start date
R

Ray Mitchell

Hello,

I am using VS 2003:

1. In VS 6 there was a "Run to cursor" choice in the
debugging menu. It was also done using Ctrl+F10. How do
you do this in VS 2003?

2. Back in the days of the Wordstar page editor (now you
know I'm old) there was a way to jump back and forth
between the two most recent places you had been in a
document (maybe vi has this too). I other words, if I was
working at line 100 and did a goto to line 500, I could
return to line 100 my merely hitting a special key, then I
could return to line 500 by hitting the key again, etc.
This was extremely useful when simply dealing with related
code at two different locations. Does something like this
exist in VS 2003?

Thanks,
Ray Mitchell
 
Please read inline

Hello,

I am using VS 2003:

1. In VS 6 there was a "Run to cursor" choice in the
debugging menu. It was also done using Ctrl+F10. How do
you do this in VS 2003?

Can't answer this one...
2. Back in the days of the Wordstar page editor (now you
know I'm old) there was a way to jump back and forth
between the two most recent places you had been in a
document (maybe vi has this too). I other words, if I was
working at line 100 and did a goto to line 500, I could
return to line 100 my merely hitting a special key, then I
could return to line 500 by hitting the key again, etc.
This was extremely useful when simply dealing with related
code at two different locations. Does something like this
exist in VS 2003?

There is a "Toggle bookmark" function. It looks like a blue flag and
is part of the "Text Editor" toolbar.
You can use the shortcut "CTRL+K" to toggle the flag but I've never
been able to get "Next" (CTRL+K, CTRL+N) working very well, as the IDE
seems to get confused with starting a new file.
 
In addition you can right click in the line of code and
select run to cursor from the pop-up menu

Dave
 
Hello,

I am using VS 2003:

1. In VS 6 there was a "Run to cursor" choice in the
debugging menu. It was also done using Ctrl+F10. How do
you do this in VS 2003?

2. Back in the days of the Wordstar page editor (now you
know I'm old) there was a way to jump back and forth
between the two most recent places you had been in a
document (maybe vi has this too). I other words, if I was
working at line 100 and did a goto to line 500, I could
return to line 100 my merely hitting a special key, then I
could return to line 500 by hitting the key again, etc.
This was extremely useful when simply dealing with related
code at two different locations. Does something like this
exist in VS 2003?

Thanks,
Ray Mitchell

If you want to easily view two sections of code you can split the
screen and show each set of code in it's own portion of the window.

To do this drag the splitter in the upper r/h corner of the window
down to separate the window into two parts, then scroll each one to
the area you want to view.

This way you don't have to jump back and forth between sections.

You can also view two files at the same time by loading them and then
dragging the tab for one of them down into the edit area. When you do
that a pop up menu will give you options as to how to split the
screen.



Otis Mukinfus
http://www.otismukinfus.com
 
Back
Top