bsneed / stellarswift Goto Github PK
View Code? Open in Web Editor NEWSwift Addons for Panic's Nova app.
License: Other
Swift Addons for Panic's Nova app.
License: Other
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
And here is how the other one does:
Thanks again for your work: the extension is still very usable.
Have a nice day!
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:
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!
The title says it all.
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!
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?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.