microsoft / microsoft/azure-tools-for-java

Azure Function run configuration unable to import local.settings.json

Open
#8,483 1 comment 0 reactions 1 assignee View on GitHub

@Flanker32 is already working on this.

Since Jul 18, 2024.

Module: Azure Functions
Dominant language
Java
Stars
262
Forks
185
Avg merge
2d 21h
Merged PRs (30d)
1

Description

Hello!

I am using IntelliJ IDEA Community Edition along with the Azure Toolkit for IntelliJ plugin for local Azure Function App development. For a long time I've been able to import my local.settings.json file into the run task to update the runtime configuration. As of yesterday, which was when I first noticed the issue, when I try to use the import utility to load the local.settings.json file, it doesn't seem to find the file and gets stuck "Loading...". The file is located in the root of my project directory.

I have done the following:

  • Attempted to review the IntelliJ log file for error messages but none were found.
  • Invalidated caches.
  • Uninstalled and reinstalled the Azure Toolkit for IntelliJ plugin.
  • Blew out the .idea and project .iml folder/file.
  • Blew out the local.settings.json file and pulled a new one using Azure Functions Core Tools func azure functionapp fetch-app-settings and func settings decrypt

Screenshot:
image

Version Information:

IntelliJ:

  • IntelliJ IDEA 2023.1.4 (Community Edition)
  • Build #IC-231.9225.16, built on July 11, 2023
  • Runtime version: 17.0.7+10-b829.16 amd64
  • VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

Azure Toolkit for IntelliJ

  • 3.82.0-2023.1

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.