Giter Club home page Giter Club logo

decent-swift-syntax's Introduction


 ┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐ ┌───┐  Mobile Developer @ Shopify
││ @ │││ c │││ o │││ l │││ i │││ n │││ t │││ a ││
││___│││___│││___│││___│││___│││___│││___│││___││
│╱___╲│╱___╲│╱___╲│╱___╲│╱___╲│╱___╲│╱___╲│╱___╲│ Please no recruiters.

Ashen and Mechy are, imo, my funnest projects. A lot of the other code in here is more than a bit old. I maintain lots of Sublime Text plugins, and am usually available to support those (I'm not always eager to write features for you – if you want a feature, please consider opening a PR).

I have my github notifications silenced – I get far too many of them – so if I'm late to reply that's why. Ping me using email, "colinta @ take a lucky guess" (hint: http://colinta.com is mine)

decent-swift-syntax's People

Contributors

alin23 avatar colinta avatar gofake1 avatar gregorybl avatar rudedogg avatar theironborn avatar yaroslavyaroslav 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

decent-swift-syntax's Issues

Missing license

How do you feel about adding a license, e.g. Apache 2 or MIT, to this repository?

Package name causes issues on Package Control

The package uses an asterisk character in its package name on Package Control which causes issues, specifically in that it is uninstallable on Windows because * are invalid in file paths.

We do actually check for these in our repo tests, but because you added the package in a custom repo and we don't fetch these for the automated tests (only for manual runs), this was missed.

Please rename the package.

Goto Symbol doesn't work

Goto Symbol in Project shows all the classes with the word class prepended. This means that the keyboard shortcut doesn't work.

screen shot 2017-01-03 at 09 02 00

swift struct can have parent. So, it is not invalid.

Hello,

I'm using this plugin and I think this plugin's approach is better than other swift support plugin.
Thank you.

Like this title, struct can have protocol parent. I've tested it on Swift 3.0 preview.

Example is :
struct Exception : ErrorProtocol {
....
}

Regards,
Jeff

Join forces?

Before anything, the tone of this repo is hilarious and reminds me of some similarly aggressive READMEs I've written 👍 😆

I've been working on a similar revamp of the Swift syntax that quiqueg put out a while back. It's a complete rewrite at this point, and I sort of used the C# syntax as a jumping-off point (and took an occasional look at the Java syntax for inspiration as well).

I've been checking out your syntax and I was wondering if you might want to take a look at the one I've been working on and maybe merge our efforts.

More generally, I'm sort of aiming at making a suite of Sublime plugins for Swift so that I can eventually avoid Xcode altogether. If you have any interest in getting something like that going, let me know. I have a working (but unpublished) plugin that replaces the built-in Sublime Goto functionality (it matches a few regexes against the source file and then opens a navigation popup similar to the Goto popup). I'm also starting to work on new approach that leverages jpsim/SourceKitten to tap into information from SourceKitService. If SourceKitten pans out, it could be the basis of a full IDE in Sublime (in the style of the incredible Phaiax/ArcticTypescript plugin).

Anyway, here's the YAML-.tmLanguage file: https://github.com/brynbellomy/SublimeSwiftIDE/blob/master/New%20Swift.YAML-tmLanguage

... and the .tmLanguage file: https://github.com/brynbellomy/SublimeSwiftIDE/blob/master/New%20Swift.tmLanguage

Thanks!

Why change word wrapping?

Hi, great project, I liked working with Swift code on Sublime Text, but I have one question: why would it change word wrapping? I like wrapping words not to scroll horizontally and it's very inconvenient when you use mouse or keyboard. Is there any ways to stop changing word wrapping option?

On laptop it's useful, but not on desktop. Also, it's better to just let as is.

Thanks for package.

Variable names not colored with inferred types

I have noticed variables with inferred types are not coloured correctly, as below:

private var _selectThread: pthread_t! = nil
private var _selectThreadMutex = pthread_mutex_t()

selectThread is correctly coloured but _selectThreadMutex is not.
screenshot

Auto-indentation breaks with lazy variables

When writing a lazy variable, the indentation breaks because the block ends with }() instead of just }

This is the indentation, I get:

class SomeClass {
    lazy var someVar: AnyObject = {
        AnyObject()
        }()
    }

This is what I would expect:

class SomeClass {
    lazy var someVar: AnyObject = {
        AnyObject()
    }()
}

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.