Skip to content

Bug: Code completion does not work for local repositories #888

@jpsim

Description

@jpsim

Describe the bug

Code completion does not work for local repositories. It works for local sources and external repositories as of #880 however.

Local Files Local Repositories Files
image image

Reproduction steps

  1. Clone https://github.com/jpsim/swiftlint-bazel-example
  2. Run bazel run :swiftlint_xcodeproj && xed .
  3. Build the SwiftLintFramework scheme
  4. Type visit in the body of the ForbiddenVarRuleVisitor located in the ForbiddenVarRule.swift file then press escape to trigger the code completion modal

Expected behavior

Code completion should work for files from local repositories.

Versions

  • Bazel: 5.2.0
  • rules_xcodeproj: ee7445c
  • rules_apple: 1.0.1
  • rules_swift: 1.0.0

Additional context

See previous discussions in #858 and #880 for additional context.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions