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

Apply DeMorgan's Law #1552

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Aug 26, 2024

  1. Apply DeMorgan's Law

    created `ApplyDeMorganLaw` to provide code actions for generalised DeMorgan's conversion
    - matches with the outermost applicable expression
    - supports both logical and bitwise expressions
    - parentheses are created minimally
    added SwiftOperators from swift-syntax as a new dependency to SourceKitLSP
    registered in `SyntaxCodeActions.allSyntaxCodeActions`
    registered in Sources/SourceKitLSP/CMakeLists.txt
    added tests in `CodeActionTests`
    AppAppWorks committed Aug 26, 2024
    Configuration menu
    Copy the full SHA
    39d9077 View commit details
    Browse the repository at this point in the history