Code Monkey home page Code Monkey logo

import's People

Contributors

clementpadovani avatar electriccurrent avatar markohlebar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

import's Issues

Sort the import line alphabetically

It would be nice if the plugin could insert the new import ... alphabetically. For example we have current import lines:

import CoreGraphics
import Foundation
import UIKit

if we're to add a new import line like import CoreLocation, it would be like this:

import CoreGraphics
import CoreLocation
import Foundation
import UIKit

Crash when pressing Install Key Bindings

I tried installing it on macOS 10.12 (16A323) with Xcode 8.0 (8A218a) and every time I pressed Install Key Bindings the Import.app was crashing.

For some reason, changing the order of the following steps fixed it for me:

  • (optional) click on Install Key Bindings to install ⌘ + ctrl + P binding
  •  -> System Preferences... -> Extensions -> All -> Enable Import

I had to:

  •  -> System Preferences... -> Extensions -> All -> Enable Import
  • (optional) click on Install Key Bindings to install ⌘ + ctrl + P binding

instead.

Any reason why this could be happening?

Other than that, this extension is awesome!

can not see the Extension

I can't see "Import" in System Preferences... -> Extensions -> All,
but I binding success
Environment:Xcode 9.2 (9C40b) + OS X 10.13.2

image

image

image

Import is not present in Extensions and doesn't seem to be installed

I'm on 10.11 and when I followed the steps in the readme I can't see it in Editor > Import. I can't see it in System Preferences > Extensions > All as well. When I click Install Key Bindings I get:
Binding is already set.
Import is ready to be used in Xcode.

But I can not see it under Editor. What might be causing this, how can I help debug?

Installed in Xcode but does not do open the popup

I've got it installed in Xcode Version 8.0 (8A218a) and Mac OS 10.12 (16A323) and it shows under Editor -> Import. If I press the hot key or click on it via them menu, nothing at all happens.

When pressing the hotkey the top bar flashes....so it definitely triggers the "Import Extension", but the Import extension does not do a thing.

How to fix this?

Weird Xcode crash after reimporting

I was able to reproduce this more times but it could be a problem with my Xcode? (which is Version 8.0, 8A218a)
To reproduce:

  1. Import something with CTRL + CMD + P
  2. Undo that with CMD + Z
  3. Import that again

import_bug

Doesn't seem to install

OS X 10.11.6
XCode 8.1b3

  • Closed Xcode
  • Ran sudo /usr/libexec/xpccachectl
  • Download the "Import App"
  • Unzipped and copied to Applications
  • Ran the "Import App"
  • Installed the key bindings without issue
  •  -> System Preferences... -> Extensions -> All -> Enable Import ... but can't find Import. I've attached a screen shot for clarity. screen shot 2016-10-17 at 8 51 37 am

Import also does not appear in Xcode's Editor menu

Failing to import if part of the import matches.

Given there is an import already in the source file
#import "TMKObject.h"

When I add the import like so and cmd+ctrl+p
#import "TMKObjectEquality.h"

Expected:
The import is added to the import list.

#import "TMKObject.h"
#import "TMKObjectEquality.h"

Actual:
The import is not added to the import list with a message "The import has already been included"

Forward class regex catches array definitions

When code contains class types in an array, the regex fails to ignore them and places the import below them.

Example:
[Fabric with:@[[Crashlytics class]]];

Expected:
the import is placed below other imports.

Actual:
the import is placed below the example line of code.

[Fabric with:@[[Crashlytics class]]];
#import "ABC.h"

Is this working with Xcode 10.1?

Please let me know if this is still working with Xcode 10.1 or will be working with coming versions. And if yes please mention the proper way to integrate

Double imports

This is an edge-case, but should be handled.

You can import twice a file/module, this doesn’t result in a compilation issue, but a simple check wouldn’t hurt.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.