Sunday 22 May 2011

Find your way back.

Here's a simple trick I use when I'm somewhere in a large block of code and I need to scroll somewhere else and then return.

For example, I may be scrolled half way through a large codeunit when I find I need to return to the documentation trigger as I've forgotten the modification version which I need to use in a comment. Getting to the documentation trigger is easy (Ctrl + Home), but getting back to my new code can mean using Page Down until I find my new code.

So, before I hit Ctrl + Home I will enter some rubbish code e.g. asdfasdf.

Then, when I've returned to the documentation trigger I can simply hit F11 (compile), the error in code is found and you are returned to the very spot from whence you came.

No comments:

Post a Comment