[TxMt] Re: Library Validation Entitlement for Plugins

Allan Odgaard mailinglist at textmate.org
Mon Oct 14 08:05:12 UTC 2019


On 8 Oct 2019, at 20:55, Rob Brackett wrote:

> P.S. Allan, I think a while back, you or some other major contributor 
> mentioned it might be better to try and integrate EditorConfig support 
> directly into TextMate, since plugins like this can be a bit fiddly 
> and it’s hard for third party compiled code to get at the 
> non-dynamic C++ bits like the actual settings struct attached to an 
> OakDocument. I was thinking the right place to start for that would be 
> to add support for the two EditorConfig settings that don’t have an 
> equivalent in TextMate (trim_trailing_whitespace and 
> insert_final_newline) to the settings struct and to OakDocument. Does 
> that seem like a good idea? Should I just submit a pull request to 
> https://github.com/textmate/textmate 
> <https://github.com/textmate/textmate>?

I am definitely open for native EditorConfig support, but with 2.0 now 
“final”, I’m expecting some refactoring with one of the goals 
being to have more of the C++ interfaces moved to Objective-C classes 
and “inline” the load/save process (it’s currently way to 
complicated), so if the plug-in currently works, I’d not recommend 
investing too much time on a PR based on the current code base, as at 
least I don’t see an obvious place where these features should be 
added to the current code, but I’ll keep them in mind when I get 
around to refactoring.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macromates.com/textmate/attachments/20191014/18399c9a/attachment.html>


More information about the TextMate mailing list