microsoft / AL

Home of the Dynamics 365 Business Central AL Language extension for Visual Studio Code. Used to track issues regarding the latest version of the AL compiler and developer tools available in the Visual Studio Code Marketplace or as part of the AL Developer Preview builds for Dynamics 365 Business Central.
MIT License
728 stars 241 forks source link

Does the AL Language extension support ignoring sub directories? #5442

Open Sven-Niehus opened 4 years ago

Sven-Niehus commented 4 years ago

Does the AL Language extension support ignoring sub directories?

I have multiple node_modules sub directories that the extension tries to compile generating a lot of the following warnings:

warning AL1025: The file at location 'c:\dev\AL\App\src\ControlAddins\Script\node_modules\.registry.npmjs.org\browserslist\4.7.0\node_modules\node-releases\.idea\encodings.xml' does not match any definition.

ignoring the extension using "al.ruleSetPath" doesn't work, the warnings are still shown as warnings even if I use the action "Info" "Hidden" or "None":

{
    "id": "AL1025",
    "action": "None",
    "justification": "This warning is shown for each file in the node_modules subdirectories"
}
atoader commented 4 years ago

Hi! The extension does not support ignoring subdirectories at the moment, but we will consider this for the future.

fvet commented 6 months ago

https://experience.dynamics.com/ideas/idea/?ideaid=b1f12f7c-651a-ea11-b265-0003ff68f605