Refactorator alternatives and similar libraries
Based on the "Plugins" category.
Alternatively, view Refactorator alternatives based on common mentions on social networks and blogs.
-
VVDocumenter-Xcode
Xcode plug-in which helps you write Javadoc style documents easier. -
KSImageNamed-Xcode
Xcode plug-in that provides autocomplete for imageNamed: calls -
ColorSense-for-Xcode
Plugin for Xcode to make working with colors more visual -
FuzzyAutocompletePlugin
A Xcode 5+ plugin that adds more flexible autocompletion rather than just prefix-matching. -
XAlign
An amazing Xcode Source Editor extension to align regular code. It can align Xnything in any way you want. -
ClangFormat-Xcode
Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang -
CocoaPods Xcode Plugin
Dependency management helper for your CocoaPods, right in Xcode. -
RTImageAssets
A Xcode plugin to automatically generate 2x, 1x image from 3x image for you, or upscale to 3x from 2x -
Dash
Plugin for Xcode to integrate the Dash documentation viewer app -
XToDo
Xcode plugin to collect and list the `TODO`,`FIXME`,`???`,`!!!!` -
BBUncrustifyPlugin-Xcode
Xcode plugin to format source code using ClangFormat or Uncrustify -
update_xcode_plugins
No more messing with plugin UUIDs; Plugins on Xcode 8! -
VWInstantRun
An Xcode plugin let you build & run your selected lines of code in Xcode without running the whole project, you'll have the output instantly in your Xcode console. -
JSPatchX
A XCode plugin that provides autocompletion for JSPatch -
Import
Xcode extension for adding imports from anywhere in the code โ๏ธ -
SCXcodeSwitchExpander
Xcode plugin that enables switch cases autocompletion -
HOStringSense-for-Xcode
XCODE 8 NOT SUPPORTED // Plugin for Xcode 7 to make working with strings less "escaped" -
CATweaker
A helper tool and an Xcode plugin for creating beautiful CAMediaTimingFunction curve -
BBUDebuggerTuckAway
Xcode plugin for auto-hiding the debugger once you start typing in the source code editor. -
SwiftInitializerGenerator
Xcode Source Code Extension to Generate Swift Initializers -
Gradle Xcode plugin
gradle plugin for building Xcode Projects for iOS, watchOS, macOS or tvOS -
FastStub-Xcode
Xcode Plugin helps you find missing methods in your class header, protocols, and super class, also makes fast inserting. -
XcodeWay
:sailboat: An Xcode Source Editor Extension that helps navigating to many places easier -
Backlight-for-XCode
Highlights the current editing line in Xcode -
AdjustFontSize
Instant font size adjustment with control โ / control + -
Show in Github
Xcode plugin to open the GitHub page of the commit of the currently selected line in the editor window. -
KPRunEverywhereXcodePlugin
An Xcode 7 plugin to build and run an app across multiple iOS devices with one click. -
RevealPlugin
Plugin for Xcode to integrate the Reveal App to your project automatic. -
MLAutoReplace
Xcode plugin which help you write code faster. -
Reveal-In-GitHub
Xcode plugin to let you jump to GitHub History, Blame, PRs, Issues, Notifications of any GitHub repo with one shortcut. -
BBUFullIssueNavigator
Xcode plugin for showing all issue content in the issue navigator. -
You-Can-Do-It
Is learning a new language getting you down? Worry not, this Xcode plugin will keep you motivated. -
XcodeEquatableGenerator
Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection. -
CleanClosureXcode
An Xcode Source Editor extension to clean the closure syntax. -
CopyIssue
Makes Copy Xcode Issue Description Easily, Support Finding Answers in Google or StackOverflow Directly -
CleanHeaders-Xcode
A Xcode Source Editor Extension to sort your header imports and remove duplicates, similar to iSort. -
AutoHighlightSymbol
A Xcode plugin to add highlight to the instances of selected symbol. -
SYXcodeIconVersion
This Xcode plugin shows Xcode app version in the Dock and App Switcher icon -
XCSnippetr
An Xcode Plugin to upload code snippets directly into Slack and Gist
Appwrite - The open-source backend cloud platform
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Refactorator or a related project?
README
Refactorator Xcode Plugin
Due to changes in the index database with Xcode 10 this plugin no longer works.
Refactorator is an Xcode plugin for refactoring Swift & now Objective-C code. It will rename public or internal vars, functions, enums etc. For private and local entities use Xcode's existing "Edit All in Scope" functionality.
Stop Press: Refactorator no longer uses SourceKit directly, rather it accesses the SQLite database Xcode compiles using SourceKit. This makes it both faster as it no longer needs to re-index the sources of your project but also means all targets of a project are included in refactoring including code written in Objectve-C.
An improved version of Refactorator is now available as a standalone App avilable here
To use, download the source for this project and build to install the plugin then restart Xcode. Not used a Plugin before? Use Alcatraz Package Manager to install it. Select a symbol in a Swift source and use "Right-click/Refactor/Swift !" to list places in the target that declare or refer to that symbol. Enter a new value for the identifier in the bottom textfield and press the "Preview" button to view the changes that would be made. Press the "Save" button to save these changes to disk. Use the "Undo" button to revert the changes if need be.
As a by-product of the analysis performed for refactoring, if you have Graphviz installed, you can view an approximate visualisation of the classes in your project and their interrelationships using the "Edit/Refactor/Visualise !" menu item. Initialiser calls are coloured green, ivar references blue, and method calls red:
Refactorator was originally suggested as being feasible by @Daniel1of1 shortly after Swift came out building on the work by @jpsim on SourceKitten. The last piece of the puzzle was the Open Sourcing of the SourceKit API by Apple as a part of Swift. Source files are parsed using data from the same XPC calls that Xcode uses when it indexes a project and implemented in a daemon process so as not to affect the stability of Xcode. Invaluable in underdstanding the index database was DB Browser for SQLite and the SQLite Swift code was helped along by reference to the excellent SQLite.swift.
MIT License
Copyright (C) 2015 John Holdsworth
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
This source includes a header file "sourcekit.h" from Apple's Swift distribution under Apache License v2.0
*Note that all licence references and agreements mentioned in the Refactorator README section above
are relevant to that project's source code only.