CotEditor icon indicating copy to clipboard operation
CotEditor copied to clipboard

Code folding

Open dlzi opened this issue 9 years ago • 23 comments

Hello,

Do you have any plan for code folding?

dlzi avatar Oct 22 '15 05:10 dlzi

Currently not. I don't have fixed plan for it. I'll consider.

1024jp avatar Oct 22 '15 05:10 1024jp

+1

ghost avatar Mar 10 '17 08:03 ghost

Any chance?

dlzi avatar Apr 05 '17 02:04 dlzi

@danielzilli Still under consideration. To implement this feature, I need to change (or improve) CotEditor's syntax definition format at first and this is a quite hard task. Actually, I also want to add this feature, but need time.

1024jp avatar Apr 05 '17 09:04 1024jp

🙏🏼

NSExceptional avatar Apr 11 '17 18:04 NSExceptional

+1

imkeato avatar Oct 16 '17 15:10 imkeato

+1

uschmelzer avatar Nov 17 '17 21:11 uschmelzer

+1

gitgetgot avatar Feb 08 '19 06:02 gitgetgot

+1

By the way, love CotEditor. Great work.

fatherofinvention avatar Feb 12 '21 16:02 fatherofinvention

Love Coteditor as well. Also want to leave my +1 for the feature.

chrisgrieser avatar Jul 22 '21 12:07 chrisgrieser

CotEditor is the quick, minimal editor with just enough functions - and this is the only key feature missing for me.

makiato avatar Sep 09 '21 08:09 makiato

+1

BenzLeung avatar Dec 06 '21 06:12 BenzLeung

Would love this feature as well.

aidan-gibson avatar Mar 30 '22 23:03 aidan-gibson

+1

georgik-flutter avatar May 11 '22 08:05 georgik-flutter

+1

aponert avatar Aug 13 '22 08:08 aponert

Also a +1 from me!

mayurankv avatar Oct 12 '22 14:10 mayurankv

+1

kaizh102 avatar Oct 25 '22 07:10 kaizh102

+1

overfullstack avatar Feb 04 '23 08:02 overfullstack

I privately investigated the possibility of implementation of code folding last years, and found it relates deeply with TextKit framework (and also update of the syntax definition format, I mentioned previously). Meanwhile, Apple released TextKit 2 at WWDC 2021 and CotEditor needs to migrate to it one day in the future.

The problem is TextKit 2 is actually very different from the current TextKit (1) on which CotEditor depends a lot. That means it requires a lot of work only to migrate from TextKit 1 to TextKit 2 in the next few years, and I'd like to implement code folding first after the migration is done. Otherwise, the migration becomes much more complex.

I'm actually interested in implementing code folding even it is hard. I also know a high demand. But due to the reason above, I have to say it will not be implemented in the next few years, at least.

1024jp avatar Mar 14 '23 09:03 1024jp

+1

tanranran avatar Mar 11 '24 09:03 tanranran

+1

robhailey avatar Mar 15 '24 10:03 robhailey