on ‎2018 Jan 19 9:09 PM
Hello!
How do you fold / collapse a selected part of your code in the editor window in Eclipse & ABAP Development Tools?
I don't want to fold only the part specific to a statement (IF, WHILE etc.) that's already marked by a + sign in a circle but a portion of the code that I select (with the mouse or the cursor and the arrow keys).
Any idea?
Thanks!
Regards,
Vlad
Request clarification before answering.
its old..i know..but any news here??
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vlad,
I'm not aware of such a plugin. In ADT we do not offer that kind of free style code folding.
Regards,
Thomas.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vlad,
yes, we can do that. But most likely this feature will not be implemented within the next release.
Regards,
Thomas.
I've found a discontinued, non-working plugin for this, so I suppose I'm not alone (heck, there are editors that support something like this)... Do you have a workaround for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
CRTL NUM PAD + Folds a block of code
CRTL NUM PAD - Collaps a block of code
CRTL SHFT NUM PAD / Folds all code
CRTL SHFT NUM PAD * Collaps all code (This one doesn't work for me)
Window -> Preferences -> Type Keys
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi, Sergio!
I have no NumLock on my keyboard, so I've changed the keyboard shortcut to something else (now I know how! 😉
However that doesn't do what I want (collapse ONLY the selected text) but instead collapses the content of the statement (as the small pluses in the circle in the gutter left do).
Thanks nevertheless!
Regards,
Vlad
It's possible with some editors in Eclipse, but unless you see the option in the context menu, I don't think it's available in the ABAP editor.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sure. www.google.com
🙂
I thought you speak about an ADT-specific, SCN-hosted forum that I accidentally overseen.
Ok, I'll google it.
>ADT-specific, SCN-hosted forum
Yeah, would be nice if we had this! 🙂
https://blogs.sap.com/2017/04/11/blogs-about-adt-abap-in-eclipse-hard-to-find-as-theres-no-tag/
I didn't dare to ask about it (I already ask too much 😉 but yes, it's totally different organized than one would normally expect: I wasn't able to find a dedicated forum for ADT or a dedicated tag (Eclipse come with BW SAP HANA Modeling Tools as a prefix - there's nothing I do now, while using Eclipse! & no tag at all for ADT), or at least a detailed search where one can filter only ADT or similar.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.