ABAP Editor Cherries!
I stumbled across some handy features in the new ABAP editor which may come helpful to a busy ABAP Programmer. Check them out.
Bookmarks
Have you found yourself spending a long time scrolling up or down to that particular block of code, (maybe a declaration or function definition), you always need to refer to, in the long program that you have written? Some resort to the find feature on the toolbar to do this. But here is much quicker method. Set a bookmark on frequently referred lines of code.
In the indicator margin, right click and set bookmark. A blue flag will appear to denote the bookmark.
To navigate to a book mark, right click on indicator margin and select ‘Go to Bookmark’.
You can set upto 10 bookmarks in a program.
Window Splitter
Even better – Do you want to work on/ view different parts of the code simultaneously? Double click the button at the right top corner on the vertical scroll bar.
Toggling Caps Lock and Number Lock.
Double click on the marked area in the right bottom corner to toggle the Caps Lock or Num Lock on the keys.
Change the default font and color coding .
Click on the editor options at the right bottom corner of the window.
You can provide your own color coding to different sections of code or change the font type and size to increase readability. The default option would be most preferred, but you do have a choice if you want a change!
Thanks for sharing this.
Definitely Bookmark will be helpfull
K.Kiran.
Hi Susmitha,
This is really helpful. Though I've seen the Bookmark option so may times when I right click to set breakpoints I never cared to know its functionality. This bookmarking will save a lot of time compared to 'Find'.
And, thanks for the other tips like Window Splitter and Color coding.
Great Job!
Thanks for this informative document.
For the first time I Right Clicked on the left side pane of ABAP editor. Earlier I used to Left Click only for setting Session Breakpoints.
The bookmark and the windows splitter will be very useful.
Thank you.
Hi,
regarding the Bookmark in program watch that so many times but not used,
in the name of your information start using the bookmark concept
Thanks
Sudhakar
Hi Susmitha,
great blog.
Only draw back: in my opinion too much praise for bookmarks.
When i first came across bookmarks, it thought "what a great feature" but to my dismay i discovered its limitations all too soon. Bookmarks only live while you stay whithin the same source.
Programmers, who stick with monolithic code monsters are getting the most of it.
Whereas those who use includes or ,gods beware, even global classes, will gain next to nothing.
Everytime you switch the source, which is in fact quite often when using classes, all your previously set bookmarks are gone.
That's why i nearly gave up using them. It's hardly worth the effort.
Only on rare occasions, when i have to do some repairing on some inherited single source code monsters, i might find them usefull - if i remembered their existence.
@SAP: there's some room for improvement!
Thanks Jorg!
Yep you are right. I had also noticed that you cannot save those book marks. Once you exit the program or close the window they are gone.
But the book marks are not lost if you navigate to other includes or classes from your current source code. You cannot access these bookmarks from there, but the bookmarks will be remain and you can access them once you navigate back to your current source code.
But regarding saving bookmarks, once you exit the program, yes there is still room for improvement for SAP. 🙂
Hi Susmitha,
yes you're right, as long as you use forward navigation by doubleclicking and back arrows.
Obviously, the bookmarks are memorized in the stack.
Thanks for pointing that out. I hadn't realized.
So your bookmarks stay available, at least whithin one session.
But they disappear instantaneously, when you switch source in the repository browser, using the navigation tree. 🙁
BR - Jörg
I use the work-list instead - Worklist makes support (or improvement) process easier.
Anyway SAP is promoting the use of AiE and i don't think we are going to see any further development in the SE80 ABAP editor.
Hi,
maybe you have a short look on the Bookmarks view in Eclipse:
The number of bookmarks is unlimited. You can define a description for every bookmark on your own. The bookmarks can be defined for every development object incl. DDIC objects and the list is cross-system. That means you have an overview on all your book marks in your whole landscape.
Regards,
Thomas.
The information about bookmarks is very useful. Thanks!
Hi Susmitha,
Good one... definitely useful blog...
Thanks
Raju C D
Hi Susmitha,
Very nice, very useful info. Thanks for sharing.
I love you for showing me the bookmarking function.
I sometimes got realy angry scrolling hundreds of lines again and again.
Maybe also ver useful for everyone liking the split screen function is the Split Screen Editor (SE39). Very useful for copying and comparing abap code!
Thanks Sushitha and kind regards.
Hi Tobias,
you should definitely have a look on the compare Function in ABAP in Eclipse.
Cross-System comparison between several versions and releases was never that easy.
Give it a try.
Regards.
Thomas.
Hi Susmitha,
the bookmarks is very useful for me.
Thanks
Hi Susmitha,
thank you for sharing this document it is very help for me.....
Regards,
sateesh kp
Thanks! Tip with splitter is very nice =)
Good Blog!! Bookmark and Splitter are definitely something which i ve not tried so far!
Cheers,
Kripa Rangachari.
Good one. I like the Splitter option! 🙂
Good one..
Window Splitter and Bookmarking features are very cool. Thanks for letting me know 🙂
Bookmark one is really helpful,
Thanks for sharing 🙂
Thank u
Great blog! Thanks for sharing! 🙂
Nice Blog....!!! Thanks for sharing.....
Thanks for this useful Tip 🙂
Regards,
Satish
Bookmarks and split screen!! very useful.. Thanks a lot for sharing 🙂
Vary use full document 😀
Thanks for the efforts.
all the points are helping .
Great info!
Personally, I cannot live without the splitter.
As for the bookmarks, if you want a more convenient way to use them, use the CONTROL key.
CTRL-0, CTRL-1, etc...