Azure Toolkit for IntelliJ – Azure Function类中缺少模板

huangapple go评论56阅读模式
英文:

Azure toolkit for Intellij - Templates missing in Azure Function Class

问题

我正在尝试使用Azure Function类在IntelliJ中生成AzureQueueTrigger函数的模板。然而,当我点击"package -> new -> Azure Function Class"时:

我只看到了三种类型的触发器的模板:

Blob触发器和Queue触发器选项都不见了。但是,当我创建一个新项目时,我可以看到Azure函数的所有5种触发器选项。

是否有其他人也遇到这个问题?如果有人找到了解决办法(在现有项目中查看所有5个选项以添加所需的模板),请告诉我。

我的环境:
Windows 11
IntelliJ IDEA 2022.3.1(Community Edition)
Azure工具包插件版本:3.73.0-2022.3

英文:

I am trying to use Azure Function class to generate a template for AzureQueueTrigger function in IntelliJ. However, when I click on the package -> new -> Azure Function Class:
Azure Toolkit for IntelliJ – Azure Function类中缺少模板

I see templates for only three types of triggers:

Azure Toolkit for IntelliJ – Azure Function类中缺少模板

Blob trigger and Queue trigger options are missing. However when I create a new project, I see all the 5 trigger options for azure functions.
Azure Toolkit for IntelliJ – Azure Function类中缺少模板

Any one else is facing this issue? Kindly let me know if any one has found a solution (to see all the 5 options to add the desired template in an existing project) for this issue?

My environment:
Windows 11
IntelliJ IDEA 2022.3.1 (Community Edition)
Azure toolkit plugin version: 3.73.0-2022.3

答案1

得分: 1

在IntelliJ IDE中,我遇到了同样的问题,当我向Java Azure Functions项目添加额外的Azure Function类时,我无法看到超过3种触发器类型,但可以在IntelliJ IDE中看到大多数触发器类型。

对于临时解决方法/修复,您可以使用VS Code,我遇到了相同的问题,但可以看到所有类型的触发器,并通过使用模板过滤字段将它们添加到现有的Java Azure Functions项目中:

有关IntelliJ IDE问题,我已在Azure Java Functions项目的官方GitHub问题跟踪存储库中提出了问题 #105223 - IntelliJ IDE Development。

英文:

In IntelliJ IDE, I have experienced the Same that cannot see more than 3 types of Triggers when adding the additional Azure Function Class to the Java Azure Functions Project but can be able to see most of the trigger types in IntelliJ IDE.

For the temporary workaround/fix, you can use VS Code where I experienced same but able to see all types of triggers and add them to existing Java Azure Functions Projects by using template filter field:

Azure Toolkit for IntelliJ – Azure Function类中缺少模板
Regarding the IntelliJ IDE Issue, I have raised a ticket #105223 in the official Issues Tracking GitHub Repository of the Azure Java Functions Project - IntelliJ IDE Development.

答案2

得分: 0

这个问题已经在Azure Toolkit插件的最新版本[3.74.1-2022.3]中得到修复。

英文:

This issue has been fixed in the latest version [3.74.1-2022.3] of Azure Toolkit plugin

Azure Toolkit for IntelliJ – Azure Function类中缺少模板

huangapple
  • 本文由 发表于 2023年2月14日 00:59:09
  • 转载请务必保留本文链接:https://go.coder-hub.com/75438985.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定