Code Monkey home page Code Monkey logo

stellarswift's People

Contributors

bsneed avatar gredman avatar

Stargazers

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

Watchers

 avatar  avatar

Forkers

pkrll

stellarswift's Issues

Incorrect grammar

Hello!

Thanks for the extension, it works great :) Syntax highlighting shows a lot of gray (I use nested structs which are colored in Xcode/VSCode), but I don't know if it's my Nova settings or if the tokenizer isn't getting data from sourcekit just yet.

Anyway, I'm running into a little issue where multiline strings aren't highlighted properly. The other Swift (syntax only) extension does it properly.

Here's how to trigger the bug:

struct Test {
  func str(_ string: String) {}
  
  func bar() {
      str("""
              foo
      """)
  }
}

Here's how your extension renders it

Screenshot 2020-11-14 at 19 04 13

And here is how the other one does:

Screenshot 2020-11-14 at 19 04 34

Thanks again for your work: the extension is still very usable.

Have a nice day!

Causing Crashes

I've been seeing a lot of crashes in Nova recently, and when I re-open the app it tells me that StellarSwift has stopped responding:

Screen Shot 2021-09-02 at 8 21 13 AM

Here's the stack trace that I'm seeing in the crash report as well:

8/30/21, 8:17 AM Nova[23447] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
8/30/21, 8:18 AM Nova[27824] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
8/30/21, 8:39 AM Nova[27824] Nova(27824,0x16b0c3000) malloc: Double free of object 0x1521c5e70
8/30/21, 8:39 AM Nova[50200] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
8/30/21, 1:54 PM Nova[44784] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
8/30/21, 2:01 PM Nova[44784] Nova(44784,0x17a6cb000) malloc: Double free of object 0x1175caf10
8/30/21, 2:03 PM Nova[16820] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
8/31/21, 9:38 AM Nova[19282] Nova(19282,0x16fb5f000) malloc: Double free of object 0x10486bbf0
8/31/21, 9:43 AM Nova[95373] Nova(95373,0x16bb57000) malloc: Non-aligned pointer 0x60000181d500 being freed (2)
8/31/21, 9:55 AM Nova[72102] Nova(72102,0x1781c7000) malloc: Double free of object 0x134b535a0
8/31/21, 12:02 PM Nova[58611] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
8/31/21, 12:04 PM Nova[32760] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
9/1/21, 8:13 AM Nova[32774] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory
9/1/21, 1:49 PM Nova[15276] getattrlist failed for /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat: #2: No such file or directory

When I disable StellarSwift, my crashes seem to disappear and conversely when I enable only StellarSwift the crash resurfaces. Let me know what else you might need to figure out a fix.

I'm on an M1 Mac mini with 8GB RAM, on macOS 11.5.2. Thanks!

Feature: Specify SDK/Architecture Target?

Hi!

Is there any plans for adding (preferably user configurable) sdk/targets for swift compiler?

For example, currently building a swift package using Nova it uses the default current system (macos) but it would be great to specify the target, so we can use nova to build or test a final product that is for iOS or Linux etc.

Maybe some kind of list of targets or build options to be sent to swiftc?
Is there any plan for this, or any ongoing work?

Thanks!

Question: Catalina and Xcode

First off, congratulations ๐Ÿ’œ

Very soon swift 5.4 and Xcode 13 will officially drop and if someone that can only update to Catalina and Xcode 11 wants to work with new versions of Swift it will have to drop Xcode and use Visual Studio Code with Swift extensions and download the Swift toolchain directly.

To my question. Would there be a way to use the latest swift toolchain with this Nova + StellarSwift on older Macs?

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.