2,069 karma · joined May 24, 2014
The only truly interesting test is one that creates a 1 million line document, measures the loading time (extremely fast) and then measures the time it takes to navigate to the final line in the document. This exercises the layout system. It's really fast. On my machine TextKit 1 can do it in about 70 ms, and TextKit 2 in around 10. This isn't quite good enough for 120 fps UI on macOS machines that support it, but it's really close.
Live scrolling and window resize are both things I'm really interested in testing. But, the UI automation framework doesn't, as far as I know, have good ways of driving those interactions. But I may be able to cook something up. Ideas welcome!
The test suite is small, and there are no concrete results. This is because the very first truly stressful test I got to produced terrible results. Instead of continuing, I began investigating that more closely. I also opened up a developer support ticket (distinct from a Feedback) with Apple. Apple got back to me about 3 day later, pointing out a bug in my use of TextKit 2. I'm a long-time TextKit 1 user, and this stuff is new to me. I also write a lot of bugs.
TextKit 1 is a very fast system. But with this problem addressed, TextKit 2 now outperforms it by quite a bit. From a performance perspective, it seems really good so far.
If you have any other questions, let me know!
The hope is that an open source extension system will make it much easier to add new languages and improve support for existing ones.
But, I also want to be really clear: if you aren't happy, contact us and we'll try to make it right. If you are willing, I'd also love to hear from you about problems and/or missing features. We prioritize requests from license holders over all others.
I'm sorry to disappoint, but ExtensionKit/Foundation do not make use of any Swift features in the way you describe. It's all just IPC (via XPC), so much of it is useable from ObjC, or even C!
Also, this does not provide a direct app-to-app communication channel. The extensions themselves must be separate executables and run within their own sandbox. I think the extension could communication with its containing app, but the system is not set up to do that. All your scheduling questions are really around how XPC works. The view itself is basically an image within your hosting app, so communication is entirely async to the other process.
The open source work we've done is something I particularly enjoy. Our work with LSP has been a blast, and I know that there are actually other projects that use it! Really looking forward to doing more here.
Navigation by typing was planned, but ultimately pulled from our 1.0. It's in the works. As is errors and warnings.
Debugging is a very common request, but its a large feature. We'd like to do it well, and there are other things we have to get to first.
That string termination thing in particular is killing me as well. Going to be addressed in the next release or so, but thank you for reporting.
The experiences around autocomplete interactions are noted and, with the exception of the very last bit, understood. Very much appreciate you reporting what happened.
You aren't the first person to have difficultly understanding now to get your bearings. We hear you (and others) loud and clear about an FAQ/feature list.
An actual voting system is an interesting idea. But we prioritize feature work 100% base on feedback. I think we'll probably end up favoring requests from license holders, but we're going to attempt to satisfy as many users as we can. Within the constraints of our desire to build out features carefully.
Navigation by name (to open a file for example) is in the works, but was cut from the 1.0. Errors and warning are also being worked on. Running/testing is highly requested, but we're focusing on those for now.
Extremely kind of you to support the work like that. We will try our best make it something you do want to use for day to day coding.
We do have plans to offer build/run/debug/test, as that's something everyone is after. But, right now, we're very focused on the core editing experience.
There are lots of excellent cross-platform editors out there. We're macOS users, and we just wanted to build something that catered specifically to that crowd. iPad is close in some respects, but would really need a totally different interaction model.
Sounds like you work on exclusively open source software. You're lucky!
I'd say that most developers are like you, invested in one editor. It's hard to change, especially given how much customization is possible. Chime's really tailored to people looking for a dialled-in macOS experience. Usually, the people that want that kind of thing are out looking for it. It's pretty niche.
But, there's no spyware in the app and there absolutely will never be in the future. Of course, if you don't want to take my word on that (and also do not trust Little Snitch), open source is the best option. There are tons of good things out there, even specifically for the Mac.