vknabel / vscode-swift-development-environment

New home of Swift Development Environment for VS Code
https://marketplace.visualstudio.com/items?itemName=vknabel.vscode-swift-development-environment
Apache License 2.0
175 stars 14 forks source link

When Apple’s VS Code extension has been released prompt to install it #40

Closed vknabel closed 2 years ago

vknabel commented 5 years ago

Once the extension has been released to VS Code‘s extension registry and it is stable enough, we need to add a warning to prefer that instead if not installed yet.

This should be an opt-out.

More details: https://www.vknabel.com/pages/Apples-SourceKit-LSP-and-SDE-Roadmap/

vknabel commented 4 years ago

First step into this direction: as sourcekit-lsp is now included in Xcode by default, we switched the default LSP to it in 2.10.0

tylerjames commented 4 years ago

Does SourceKit work better in VSCode than it does in Xcode? I feel like it's pretty terrible in Xcode and I lose syntax highlighting all the time.

vknabel commented 4 years ago

@tylerjames all, Xcode, sourcekite and sourcekit-lsp rely on SourceKit and therefore share lots of the same problems. Especially for non-SwiftPM projects, using VS Code requires a greater initial effort and doesn't provide a few features Xcode can provide (running and debugging on iOS/on Simulators, refactorings, Swift Migrations, code coverage views, ...).

But the syntax highlighting in VS Code is more stable. So you can definitely give it a try and leave some feedback!

vknabel commented 2 years ago

As announced on the forums the swift server group has released an official VS Code extension. So this phase of depreciation can start.

Probably we will prompt users to install apples extension instead. Or we simply add it as dependency? Not quite sure. Probably we will just focus on older Swift versions.