Azure / Azure/Azure-Functions

Azure Functions VS Code extension missing triggers; core tools possibly missing

Open
#1,165 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

VS Code function creation option is missing triggers and Core Tools may be missing. The order for the functions in each also doesn't map to the portal and aren't in alphabetical order or consistent either. The table below lists the name of the trigger in the portal, the name of the trigger in code/core tools if available (otherwise N/A). For the core tools and code, the available triggers and order are different for C# and Node (Python not tested). I've added screenshots for all three since the orders and names are different. Where available, the names between Core/Code are the same ​. The differences may be due to language convention but seemed worth pointing out. One of the consequences of not having the triggers available in VS Code, in addition to customers potentially not realizing they have been released, is that the debug settings are not configured automatically.

**Problem Statement**: Currently, the Azure Functions VS Code extension is missing triggers, and potentially missing core tools. The partner has found that the order of the functions does not appear to map to those in the portal, and are not in any consistent order.

**Desired Experience**: The Azure Functions VS Code extension should include all triggers and core tools. Functions should be sorted by a known criteria, such as alphabetical order.

​Trigger (Portal) | ​Core Tools (Dotnet) | ​Core Tools (Node) | ​​VS Code (C#) | ​VS Code (Node)
-- | -- | -- | -- | --
​HTTP | ​HttpTrigger | ​HTTP trigger | ​​HttpTrigger | ​HTTP Trigger
​Timer | TimerTrigger​ | ​Timer trigger | ​TimerTrigger | ​​Timer trigger
​Azure Queue Storage trigger | ​QueueTrigger | ​​Azure Queue Storage trigger | ​QueueTrigger | ​Azure Queue Storage trigger
​Azure Service Bus Queue | ​ServiceBusQueueTrigger | ​Azure Service Bus Queue trigger | ​​ServiceBusQueueTrigger | ​​Azure Service Bus Queue trigger
​Azure Service Bus Topic | ​​ServiceBusTopicTrigger | ​Azure Service Bus Topic trigger | ​​​ServiceBusTopicTrigger​ | ​​Azure Service Bus Topic trigger
​Azure Blob Storage | ​BlobTrigger | ​Azure Blob Storage trigger | ​​BlobTrigger | ​​Azure Blob Storage trigger
​Azure Event Hub | ​EventHubTrigger | ​Azure Event Hub trigger | ​N/A | ​N/A
​Azure Comos DB | ​CosmosDBTrigger | ​Azure Cosmos DB trigger | ​​CosmosDBTrigger | ​​Azure Cosmos DB trigger
​IoT Hub (Event Hub) | ​IoTHubTrigger | ​IoT Hub (Event Hub) | ​N/A | ​​N/A
​SendGrid | ​SendGrid | ​SendGrid | ​N/A | ​N/A
​Azure Event Grid | ​EventGridTrigger | ​Azure Event Grid trigger | ​N/A | ​​N/A​
Durable Functions HTTP | ​N/A | ​Durable Functions HTTP starter | ​N/A | ​N/A
​Durable Functions Activity | ​N/A | ​Durable Functions activity | ​N/A | ​N/A
​Durable Functions orchestrator | ​DurableFunctionsOrchestration | ​​Durable Functions orchestrator | ​N/A | ​N/A

Internal Tracking#190609

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.