Skip to content

Code autocompletion not working propertly in compiler directives #153

Description

@zhuscat

For example, I have code like this:

#if os(iOS)
let database = AppDatabaseManager.shared.getSharedDatabase()
#endif

The target of AppDatabaseManager is iOS, and the targets of this file are iOS and WatchOS, but insdie #if os(iOS) ... #endif,autocompletion of AppDatabaseManager does not work.

It works properly in XCode.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions