Skip to content
This repository was archived by the owner on Dec 17, 2018. It is now read-only.

Crashes if no SwiftPM manifest #22

@vhbit

Description

@vhbit

I've tried to open in a dir a VS Code with no SwiftPM manifest and it crashed:

fatal error: 'try!' expression unexpectedly raised an error: PackageModel.Package.Error.noManifest(baseURL: "/Users/vhbit/tmp/Sourcery-0.6.0"
...
11   LanguageServer                     0x000000010958d550 specialized Server.init(inDirectory : AbsolutePath) -> Server + 3101
...

I wonder if it's possible to somehow specify "project" or at least display a problem and continue without advanced features as after 5 crashes in the row VS Code stops launching language server at all.

version: 0.2.0

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions