Skip to content

Cannot set swiftformat.path in .vscode/settings.jsonΒ #59

@tossense

Description

@tossense

Description

  • When attempting to set swiftformat.path in .vscode/settings.json, VS Code shows the error:
    This setting can only be applied in user settings in local window or in remote settings in remote window.
    

Background

  • Our team development aims to minimize manual setup work and ensure consistent tool versions across all developers.
  • The project uses CocoaPods to include SwiftFormat as a dependency.
  • After a successful pod install, everyone (including CI pipelines) can directly use SwiftFormat via the relative path Pods/SwiftFormat/CommandLineTool/swiftformat.
  • We want set the relative path in .vscode/settings.json.

Discussion

Is this limitation set from a security perspective?

Thank you~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions