microsoft / microsoft/AL

[Bug] AL Language Extension initializes forever if used with an external ruleset file

Open
#8,327 10 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

accepted
Dominant language
PowerShell
Stars
881
Forks
285
Avg merge
3d 36m
Merged PRs (30d)
1

Description

1. Describe the bug
AL Language Extension initializes forever if used with an external ruleset file.

2. To Reproduce
Steps to reproduce the behavior:

  • Use a workspace file. I have not tested if the issue occurs without a workspace.
  • Set "al.ruleSetPath": "../.vscode/any.ruleset.json",
  • Add a file to that path, referencing a ruleset file containing an url:
    "includedRuleSets": [
        {
            "path": "https://any.valid.url/al-rulesets/any.ruleset.json",
            "action": "Default"
        }
    ],

3. Expected behavior
Normal workspace loading.

4. Actual behavior
The workspace loads forever...

Loading workspace:  : Preparing project: 'AAR-app'

5. Versions:

  • AL Language: 18.0.2668733
  • Visual Studio Code: 1.134.0
  • Operating System:
    • Windows
    • Linux
    • MacOS

Internal work item: AB#648176

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.

Research direction

Reproduce the issue in a VS Code workspace using al.ruleSetPath set to ../.vscode/any.ruleset.json, with an includedRuleSets entry pointing to the external URL shown in the report. Start by tracing the workspace loading state reported as “Preparing project”; done means the workspace finishes loading normally with that external ruleset configuration.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.