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
744 stars 245 forks source link

[CodeCop Rule] Warning for unused parameters in local functions #4929

Closed fvet closed 4 years ago

fvet commented 5 years ago

Describe the bug In #4572 it is stated that CodeCop detects unused variables, both global and local. This works. However, when a local function is created, containing function parameters that are never used, it would be interesting to have a CodeCop for these as well.

Versions:

PooyaKharamesh commented 5 years ago

Great idea! Go ahead and post this to our Ideas forum at https://aka.ms/BusinessCentralideas, or vote up the idea if its already there. We're constantly monitoring top Ideas and will consider them for a future release.

fvet commented 5 years ago

As a reference https://experience.dynamics.com/ideas/idea/?ideaid=74e32fdf-416b-e911-b047-0003ff68e45b

Feel free to upvote.

MarcHansenMicrosoft commented 4 years ago

Activating as we now support using GitHub for static code analysis.

MarcHansenMicrosoft commented 4 years ago

40 votes from Ideas

MarcHansenMicrosoft commented 4 years ago

Is fixed in latest version of AL