cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to fold / collapse selected code in Eclipse & ABAP Development Tools

Vlad_Ghitulescu
Participant
8,427

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

View Entire Topic
matt
Active Contributor
0 Likes

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.

Vlad_Ghitulescu
Participant
0 Likes

I didn't find it in the context menu unfortunately 😞

matt
Active Contributor
0 Likes

Then it probably isn't possible. You could try asking on an eclipse specialist forum.

Vlad_Ghitulescu
Participant
0 Likes

I didn't know that something like this exists! Do you have a link?

matt
Active Contributor
0 Likes
Vlad_Ghitulescu
Participant

🙂

I thought you speak about an ADT-specific, SCN-hosted forum that I accidentally overseen.

Ok, I'll google it.

matt
Active Contributor
0 Likes

That's why I said "eclipse", not "adt" 🙂

joachimrees1
Active Contributor
0 Likes

>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/

Vlad_Ghitulescu
Participant

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.