This userscript is a revival of sorts for the old [SE Editor Toolkit](http://stackapps.com/questions/2209/se-editor-toolkit), which was abandoned some time ago. It only really provides the autocorrect aspect for the foreseeable future, which I find to be quite useful. It works by injecting a button in the edit window (it works inline for users with full edit privileges and on edit pages for users without them) that corrects common errors based on current Stack Exchange standards and formulates an edit summary based on the changes. # Usage ![Usage](https://camo.githubusercontent.com/c999e86dfbf79bbcfb3aa87f9479bd782b619a25/68747470733a2f2f646c2e64726f70626f7875736572636f6e74656e742e636f6d2f752f35363031373835362f534f456469742e676966) # Rules It currently does the following: - Uppercases lowercase "i"s in posts - Corrects to proper spelling/capitalization of "Stack Overflow" and "Stack Exchange" in order to fit the legal naming requirements - Expands "SO" and "SE" to "Stack Overflow" and "Stack Exchange," respectively - Corrects to proper spelling/capitalization of... - JavaScript - JSFiddle - jQuery - HTML - CSS - JSON - AJAX - AngularJS - PHP - Upvote/Downvote - Capitalizes the first letter of new lines - Removes common greetings - Removes "thanks" and similar phrases - Removes "Edit:" and similar modifiers - Replaces the now-banned mysite.domain with example.domain # Expandability See something you don't like? Want to add something? Well, the toolkit is easily expanded/modified. Rules are in the following format (located in the `edits` dictionary): anArbitraryName: { expr: /aRegularExpressionForMatching/, replacement: "What to replace it with (may include captured text like $1)", reason: "an unpunctuated reason starting with a lowercase letter that will be formatted automatically and inserted into the edit summary" }, # Download Click [here](https://github.com/AstroCB/Stack-Exchange-Editor-Toolkit/raw/master/editor.user.js) for a direct download of the current version (1.0). # Contribute The code is available [on GitHub](https://github.com/AstroCB/Stack-Exchange-Editor-Toolkit) (feel free to make pull requests with new rules if you're into that sort of thing). Please post reports of bugs/strange behavior on the GitHub page [as an issue](https://github.com/AstroCB/Stack-Exchange-Editor-Toolkit/issues) or here as an answer or comment.