Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to generate corresponding prompts based on project configuration and @available. #1337

Closed
StingKo opened this issue Jan 25, 2025 · 1 comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request

Comments

@StingKo
Copy link

StingKo commented Jan 25, 2025

When developing macOS or iOS projects, calling SwiftUI or AppKit/UIKit methods does not generate warnings for deprecated or unsupported versions based on the configured minimum compatible API and the method’s @available macro, as Xcode does.

@rbenegal
Copy link
Contributor

Thanks for suggesting this @StingKo! Warnings and suggestions for @available macros should start working soon thanks to #1191 (and will also need some fixes from #1335 for non macOS SDKs). These changes should be included in upcoming releases of the extension.

@award999 award999 added the duplicate This issue or pull request already exists label Jan 31, 2025
@award999 award999 moved this from Unscreened to Done in Swift Extension for Visual Studio Code Feb 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request
Development

No branches or pull requests

3 participants