Xcode plugin that brings ⇧⌘T from AppCode over to Xcode

Related tags

Image Aviator
Overview

Aviator

An Xcode Plugin that brings ⇧⌘T over to Xcode

This minimal plugin allows you to use the key combo ⇧⌘T to toggle between source and test files.

Features

  • Jump from source file to test file
  • Jump from test file to source file
  • More shortcuts forthcoming..?

Installation

Install via Alcatraz. In Xcode, choose Window > Package Manager and search for Aviator.

See it in action

Comments
  • Adding an alert when not finding the Test class

    Adding an alert when not finding the Test class

    Delayed menu injection because the Find -> "Jump to Test File" was not appearing Add some logs in exception that prevents Xcode from crashing

    Added an alert to copy test class name if not found in project :

    screen shot 2015-06-10 at 19 47 47

    opened by kenji21 13
  • Shortcut only works from class to test file

    Shortcut only works from class to test file

    Hi, Thank you for the plugin! After install to Xcode 6.4, via Alcatraz, the shortcut works from class file to test file. When I am in the test file, the shortcut does not return me to the class, nothing happens. My test files are suffixed with 'Spec' rather than 'Test,' not sure if that matters. Thank you!

    opened by c3farrell 4
  • Pick best matching test file to switch to when test helpers and stubs are present

    Pick best matching test file to switch to when test helpers and stubs are present

    In our codebase at work we use a lot of Stub files that have the same base filename as the source file but are located in the testing target. Depending on their order in the project, Aviator can jump to these Stub files instead of jumping to the Tests file which is annoying.

    This fix introduces a ranking for names so that the best matching test file is picked:

    1st match: MyClassTests.swift 2nd match: MyClassTestHelper.swift 3rd match: MyClassStub.swift

    Do you think this fix is worth pulling into your repo? Any suggestions?

    opened by csch 3
  • No action happens when keyboard shortcut pressed.

    No action happens when keyboard shortcut pressed.

    Using Xcode 6.2. Have not tried this plugin with 6.1.

    First, it conflicts with the default New -> Window key binding.

    So I tried removing the conflicting key binding, removing the plugin, restarting Xcode, and re-installing the plugin. Without the conflicting key binding, cmd-shift-T instead has no result.

    Is there any expectation of where the tests will be located either in the directory structure or in the .pbxproj?

    opened by weissazool 3
  • Xcode 8 Support / copy expected test class name

    Xcode 8 Support / copy expected test class name

    Hi Mark,

    Just fixed a crash on xcode8 for your plugin Two commits because the first adds the feature : I want to copy test class name when no test file are found

    To make plugin work with xcode8 on Sierra, i run this script :

    #!/bin/bash
    
    if [ $# -lt 1 ] ; then
            echo "usage : $(basename $0) /Application/Xcode.app";
            exit -1
    fi
    
    XCODE_APP_PATH=$1
    
    /usr/bin/codesign --force --sign "Mac Developer" --timestamp=none /Applications/Xcode.app
    /usr/bin/codesign --force --sign "Mac Developer" --timestamp=none /Applications/Xcode.app/Contents/PlugIns/IDEDocViewer.ideplugin
    
    /usr/bin/codesign --force --sign "Mac Developer" --timestamp=none ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins/*.xcplugin
    
    opened by kenji21 2
  • Fix issue where Aviator jumps to a test helper file e.g

    Fix issue where Aviator jumps to a test helper file e.g "Stub" rather…

    … than jumping to the actual "Tests" file

    I came across this issue at work and wasn't able to jump to my test files hence the fix. Is this worth pulling into your repo? Any suggestions to improve the fix?

    opened by csch 1
  • Shortcut not working for swift files

    Shortcut not working for swift files

    I have files in my project called Form.swift and FormTests.swift. Pressing the keyboard shortcut Cmd + Shift + T does nothing. Doing this in an Objective C project works fine.

    opened by lyahdav 2
  • Add preferences to manage how and where new test files are generated

    Add preferences to manage how and where new test files are generated

    Given the auto generation of new test files from issue #6, it would be ideal to allow the user to specify how and where the new tests are created.

    We should probably give them the option to select which template they use, or even an empty file, create the file in the default Tests group or add it alongside the source file, etc.

    enhancement 
    opened by marksands 0
  • Add alert prompting user when no test files are found

    Add alert prompting user when no test files are found

    If no test files are found, the an alert should prompt the user informing them that no test files were found. The alert should automatically be hidden/fade out after a delay, maybe 1 second, whatever feels natural.

    I'm thinking a menu of options that give the user the option to create and add the new test file in the default Tests group would be a cool feature to have.

    enhancement 
    opened by marksands 0
Owner
Mark Sands
Mark Sands
Cordova-plugin-saveimage - This plugin helps you save images

cordova-plugin-saveimage This plugin helps you save images on iOS/Android Instal

Bernat 2 May 11, 2022
Xcode plugin that moves the instruction pointer to the selected line

SFJumpToLine Xcode plugin that moves the instruction pointer to the selected line. Install: Install via Alcatraz Or clone and build the project, then

Simone Ferrini 9 Jan 14, 2021
An Xcode plugin for manually symbolicating crash logs

CrashSymbal An Xcode plugin for manually symbolicating crash logs Install Build the project to install the plugin. The plugin gets installed in /Libra

Julian F. Weinert 38 Jun 3, 2021
XcodeColorSense - An Xcode plugin that makes working with color easier.

XcodeColorSense An Xcode plugin that makes working with color easier. Inspired by ColorSense-for-Xcode with extra care for Hex color Features Show col

Khoa 77 Jul 1, 2022
A Xcode plugin to add highlight to the instances of selected symbol.

Auto Highlight Symbol About Xcode 8 Xcode 8 does't support plugins anymore, but there is a workaround, use at your own risk. Xcode can highlight insta

Nelson 83 Jan 3, 2023
An Xcode 7 plugin to build and run an app across multiple iOS devices with one click.

RunEverywhere Xcode Plugin Overview An Xcode 7 plugin to build and run an app across multiple iOS devices with one click. Gone are the days of manuall

Eric Mika 322 Sep 7, 2022
Xcode plugin to open the GitHub page of the commit of the currently selected line in the editor window.

Show in GitHub / BitBucket Xcode plugin to open a related Github or BitBucket page directly from the Xcode editor code window. Installs easily through

Lars Schneider 242 Jul 20, 2022
An Xcode plugin to improve dealing with colors in your project

Crayons is an Xcode7 plugin with various features that improve working with colors in your projects ##Code palettes (iOS only) You can share palettes

Fabio Ritrovato 477 Sep 23, 2022
Xcode plugin for filtering the console area.

MCLog This plugin lets you easily filter the Xcode console log output. While you can already search the text in the console log output you are still l

Michael Chen 591 Oct 31, 2022
Image picker with custom crop rect for iOS written in Swift (Ported over from GKImagePicker)

WDImagePicker Ever wanted a custom crop area for the UIImagePickerController? Now you can have it with WDImagePicker. Just set your custom crop area a

Wu Di 96 Dec 19, 2022
AnylineFaceAuthentication pairs identity document scanning with a real-time liveness check utilizing the iPhone's camera, best suited for authenticating users over the internet.

AnylineFaceAuthentication AnylineFaceAuthentication pairs identity document scanning with a real-time liveness check utilizing the iPhone's camera, be

null 0 Mar 7, 2022
PublisherKit - An open source implementation of Apple's Combine framework for processing asynchronous events over time

Publisher Kit Overview PublisherKit provides a declarative Swift API for processing asynchronous events over time. It is an open source version of App

null 5 Feb 22, 2022
Flower classifier predicting the names of over 70 different types.

Fløra Lab Table of Contents Project Onboarding Installation Swift Playgrounds iPad Mac Xcode Copyright Project Fløra Lab is a flower classification ap

Lukman Aščić 4 Jun 6, 2022
A VisionCamera Frame Processor plugin for fast buffer resizing

vision-camera-resize-plugin A VisionCamera Frame Processor Plugin for fast buffer resizing. By resizing buffers to a smaller resolution, you can achie

Marc Rousavy 16 Aug 10, 2022
This simple cordova plugin will download picture from an URL and save to IOS Photo Gallery.

Photo Viewer This plugin is intended to download a picture from an URL into IOS Photo library.. How to Install Cordova: cordova plugin add https://git

Alwin jose 1 Oct 23, 2021
Cordova plugin for detect screenshots and recordings

cordova-plugin-detect-screen-capture This plugin detects screen recording and screenshot events. The plugin will only work on devices with iOS >= 7 Su

Sasha 0 Nov 4, 2021
API surface for Swift plug-ins using the Swift Plugin Manager

SwiftPlugin The minimal API surface required for the Swift Plugin Manager to create instances from a loaded plugin. Additional documentation and refer

Joakim Hassila 2 Mar 25, 2022
Cordova plugin to display a native color-picker dialog

Color Picker Plugin for Cordova (cordova-plugin-color-picker) Description This plugin allows you to display a color-picker native dialog in iOS and An

Antonio Vargas 1 May 10, 2022
Metazoom - A virtual camera plugin to pixellatedly share your screen

MetaZoom A virtual camera plugin to pixellatedly share your screen. See LICENSE.

Sahil Lavingia 22 Jan 4, 2023