Skip to content

Enhancement: Support custom Azure Functions Core Tools installation paths #4606

@nturinski

Description

@nturinski

Is your feature request related to a problem? Please describe.
Currently, the extension only looks for the func CLI in the system PATH. Users who have Azure Functions Core Tools installed in custom locations or use multiple versions cannot use the extension without modifying their system PATH.

Describe the solution you'd like
Add support for custom func CLI paths through:

  • VS Code setting: azureFunctions.funcPath to specify custom func executable path
  • Automatic detection in common installation locations
  • UI prompt to browse for func executable when not found in PATH

Describe alternatives you've considered

  • Requiring users to modify system PATH (current limitation)
  • Only supporting package manager installations (doesn't cover all use cases)
  • Using bundled Core Tools (increases extension size significantly)

Additional context

Implementation considerations

  • Should integrate with existing Core Tools detection logic
  • Need to validate custom paths point to working func installations
  • Consider version validation for custom paths
  • Should fallback to PATH detection if custom path not configured
  • May need updates to debugging and task provider configurations

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions