Skip to content

Project isn't updated after editing qsharp.json #1284

@orpuente-MS

Description

@orpuente-MS

Describe the bug

The project settings aren't automatically updated when you edit the qsharp.json file. You need to go and edit a .qs file to trigger an update.

To Reproduce

Steps to reproduce the behavior:

  1. Open a Q# project.
  2. Try modifying the qsharp.json file, for example change the level of some lint as follows:
{
    "lints": [
        {
            "lint": "divisionByZero",
            "level": "error"
        }
    ]
}
  1. Problem: the lints won't update automatically on your open .qs files, you need to edit the file to trigger an update.

Expected behavior

The expected behavior is that when we save the qsharp.json file, the Q# project should update automatically.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions