Code Monkey home page Code Monkey logo

xgist's People

Contributors

bunn avatar insidegui 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

Watchers

 avatar  avatar  avatar  avatar  avatar

xgist's Issues

Keychain access

The extension should only ask for keychain access when signing in or if the user has a token stored.
Currently it will ask on the first run since GitHubAPI().isAuthenticated is executed to define what options the extension should display to the user on SourceEditorExtension.swift

Improve language detection

Currently, the extension uses the content UTI to set the extension of the file on Gist, it would be better to detect the language based on the actual contents of the snippet.

Automatic updates

This is kind of related to #5 : we should add automatic updates to the app. This is kind of problematic because the app is just a container for the Xcode extension, but I think it's doable.

I always use Sparkle on my apps (no need for a package manager, it works fine with just submodules haha). It only requires a XML file with feed of updates and the binary releases, both can be stored on the repo itself.

Upload release binary

It's necessary to have a macOS developer account to sign a binary for release. I don't have one ๐Ÿ™ƒ

[Brainstorm] Create snippets from gist

Xcode save the snippets on this path
~/Library/Developer/Xcode/UserData/CodeSnippets

And this is a snippet file format:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>IDECodeSnippetCompletionScopes</key>
    <array>
        <string>CodeBlock</string>
    </array>
    <key>IDECodeSnippetContents</key>
    <string>       //CODE GOES HERE
</string>
    <key>IDECodeSnippetIdentifier</key>
    <string>5B59E4B8-2705-48CF-8104-F2EF4C6F7EE4</string>
    <key>IDECodeSnippetLanguage</key>
    <string>Xcode.SourceCodeLanguage.Objective-C</string>
    <key>IDECodeSnippetTitle</key>
    <string>SPIPPET_TITLE</string>
    <key>IDECodeSnippetUserSnippet</key>
    <true/>
    <key>IDECodeSnippetVersion</key>
    <integer>0</integer>
</dict>
</plist>

The app could have a way for the user to select gists from an UI or maybe having some special "tag" on the gists to list as snippets.

Sign in with GitHub

Would be good to have an option to sign in on GitHub so the user could choose to save the gists on his/her account instead of always being a anonymous gist.

This will probably require an macOS app for the settings and actual login

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.