coteditor / CotEditor

Lightweight Plain-Text Editor for macOS
https://coteditor.com
Other
6.25k stars 429 forks source link

Code folding #459

Open dlzi opened 8 years ago

dlzi commented 8 years ago

Hello,

Do you have any plan for code folding?

1024jp commented 8 years ago

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

ghost commented 7 years ago

+1

dlzi commented 7 years ago

Any chance?

1024jp commented 7 years ago

@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.

NSExceptional commented 7 years ago

🙏🏼

imkeato commented 6 years ago

+1

uschmelzer commented 6 years ago

+1

gitgetgot commented 5 years ago

+1

fatherofinvention commented 3 years ago

+1

By the way, love CotEditor. Great work.

chrisgrieser commented 3 years ago

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

makiato commented 2 years ago

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

BenzLeung commented 2 years ago

+1

aidan-gibson commented 2 years ago

Would love this feature as well.

georgik-flutter commented 2 years ago

+1

aponert commented 1 year ago

+1

mayurankv commented 1 year ago

Also a +1 from me!

kaizh102 commented 1 year ago

+1

overfullstack commented 1 year ago

+1

1024jp commented 1 year ago

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.

tanranran commented 4 months ago

+1

robhailey commented 4 months ago

+1

UserNameNinger commented 2 weeks ago

+1