All Projects → stefanceriu → Scxcodeswitchexpander

stefanceriu / Scxcodeswitchexpander

Xcode plugin that enables switch cases autocompletion

Projects that are alternatives of or similar to Scxcodeswitchexpander

Scxcodeminimap
Sublime Text like Minimap for Xcode
Stars: ✭ 1,037 (+56.65%)
Mutual labels:  xcode, xcode-plugin, plugin
Awesome Xcode Extensions
Awesome native Xcode extensions.
Stars: ✭ 2,628 (+296.98%)
Mutual labels:  xcode, xcode-plugin, plugin
Scxcodeeditorinset
Xcode plugin that adds an empty (configurable) space to the end of the editor text view
Stars: ✭ 64 (-90.33%)
Mutual labels:  xcode, xcode-plugin, plugin
Clangformat Xcode
Xcode plug-in to to use clang-format from in Xcode and consistently format your code with Clang
Stars: ✭ 2,852 (+330.82%)
Mutual labels:  xcode, xcode-plugin, plugin
Swiftmockgeneratorforxcode
An Xcode extension (plugin) to generate Swift test doubles automatically.
Stars: ✭ 522 (-21.15%)
Mutual labels:  xcode, xcode-plugin, plugin
Ammethod2implement
Xcode plugin to generate implement code for the selected method and const string.
Stars: ✭ 148 (-77.64%)
Mutual labels:  xcode, xcode-plugin
Xcodeplugintool
🎧a easy way use plugins after Xcode upgraded
Stars: ✭ 174 (-73.72%)
Mutual labels:  xcode, xcode-plugin
Amappexporttoipa Xcode Plugin
AMAppExportToIPA-Xcode-Plugin is a simple Xcode plugin to export .app to .ipa file.
Stars: ✭ 185 (-72.05%)
Mutual labels:  xcode, xcode-plugin
Linex
Feature packed Xcode extension
Stars: ✭ 210 (-68.28%)
Mutual labels:  xcode, xcode-plugin
Xcode Build Times
This BitBar/SwiftBar plugin shows the time you spend waiting for Xcode to do your builds
Stars: ✭ 122 (-81.57%)
Mutual labels:  xcode, plugin
Xcodeequatablegenerator
Xcode 8 Source Code Extension will generate conformance to Swift Equatable protocol based on type and fields selection.
Stars: ✭ 188 (-71.6%)
Mutual labels:  xcode, xcode-plugin
Showingithub
Xcode plugin to open the GitHub page of the commit of the currently selected line in the editor window.
Stars: ✭ 243 (-63.29%)
Mutual labels:  xcode, xcode-plugin
Nef Plugin
🔌 an Xcode extension to use nef features easily
Stars: ✭ 144 (-78.25%)
Mutual labels:  xcode, xcode-plugin
Timliu Ios
iOS开发常用三方库、插件、知名博客等等
Stars: ✭ 10,898 (+1546.22%)
Mutual labels:  xcode, xcode-plugin
Luft
The Xcode Plugin that helps you write lighter view controllers
Stars: ✭ 179 (-72.96%)
Mutual labels:  xcode, xcode-plugin
Xcode developer disk images
Stars: ✭ 125 (-81.12%)
Mutual labels:  xcode, xcode-plugin
Flutter photo
Pick image/video from album by flutter. Support ios and android. UI by flutter, no native.
Stars: ✭ 285 (-56.95%)
Mutual labels:  xcode, plugin
Xcode Wakatime
Xcode plugin for automatic time tracking and metrics generated from your programming activity.
Stars: ✭ 360 (-45.62%)
Mutual labels:  xcode, xcode-plugin
Snowonder
🔮 Magical import declarations formatter for Xcode
Stars: ✭ 100 (-84.89%)
Mutual labels:  xcode, xcode-plugin
Swimat
An Xcode formatter plug-in to format your swift code.
Stars: ✭ 1,388 (+109.67%)
Mutual labels:  xcode, xcode-plugin

SCXcodeSwitchExpander

SCXcodeSwitchExpander is a small Xcode plugin that expands switch statements by inserting missing cases.

Features

  • inserts all possible switch cases

  • keeps already used cases and only inserts missing ones (even if the type changes)

  • only keeps the 'default:' case when used with the built-in Xcode snippet

  • works on ivars, properties, method parameters etc.

  • works with nested switches

  • hooks into the undo manager stack (makes it easier to fix typos)

  • fast and reliable (won't affect Xcode's performance in any signinficant way)

Screenshots

  • Replacing the default Xcode snippet DefaultSnippet

  • Inserting missing cases MissingInsertion

Known Issues

  • takes a bit for it to kick in after starting Xcode as it's waiting for the IDEIndexDidChange notification. I found that building the project usually makes that happen.

  • does not work with anonymous enums

Installation

  • Build the project and restart Xcode or ...

  • Download SCXcodeSwitchExpander.xcplugin.zip from the releases tab, unzip and move it to the Xcode plugins folder ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SCXcodeSwitchExpander.xcplugin and restart Xcode or ...

  • Get it through Alcatraz

  • If you encounter any issues you can uninstall it by removing the ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/SCXcodeSwitchExpander.xcplugin folder

Contact

Any suggestions or improvements are more than welcome. Feel free to contact me at [email protected] or @stefanceriu.

License

MIT License

Copyright (c) 2014 Stefan Ceriu

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].