microsoft / microsoft/vscode-azurefunctions

Enhancement: Support custom Azure Functions Core Tools installation paths

Open
#4,606 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

core-tools enhancement
Dominant language
TypeScript
Stars
319
Forks
158
Avg merge
2d 13h
Merged PRs (30d)
4

Description

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

  • Related to issue #4601
  • Current implementation only checks system PATH for func CLI detection
  • Users with custom installations or multiple versions face installation issues
  • Enhancement would improve developer experience for complex development environments

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

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the existing Azure Functions Core Tools detection logic and review how debugging and task provider configurations consume the detected executable. Define the setting, common-location detection, browse prompt, path validation, version handling, and PATH fallback, then verify that custom installations work across those integrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, typescript
Domain
cloud, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.