Code Monkey home page Code Monkey logo

Comments (18)

dannoe avatar dannoe commented on June 19, 2024 3

Try SibExtSetupTable. If this doesn't work, maybe this is a bug with Namespaces?

PS: In our projects we disable AA0027. (see also this yammer thread: https://www.yammer.com/dynamicsnavdev/#/Threads/show?threadId=1602560331243520)

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024 2

Daymn, if I named it SiboneyExtSetupTable, it went away, I am totally confused now!

from al.

dannoe avatar dannoe commented on June 19, 2024 2

Awesome. If it is resolved you can close this issue with the "Close issue" button under the input box.

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024 2

Oh wow. thank you. I need to read again from the beginning to check what really happened here. Thank you @dannoe . Muțumesc!

from al.

mjmatthiesen avatar mjmatthiesen commented on June 19, 2024 1

Highly recommend disabling this silly rule. AA0027 is asinine.

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

Thank you but nope, the song remains the same:

The name of SibExtSetupTable is not valid. The name of variables and parameters must be suffixed with the type or object name.

It just drives me nuts. I did not wanted to disable it, I wanted to learn to format and name variable names as it is recommended, but in Microsoft Docs, it is just a vague description without any examples.

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

Not sure what I should try doing about namespaces. I am inside the respective namespace, so I removed the namespace identifier in front of the table name with no avail. Same AL0072.

from al.

dannoe avatar dannoe commented on June 19, 2024

Can not reproduce this with the newest AL vsix. (Version: 12.6.936426).
Could be caching problem. Can you try to reload or restart your vscode. (Ctrl+Shift+P -> Reload window)

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

Thanks @dannoe.

Reloaded Window.

The name of SibExtSetupTable is not valid. The name of variables and parameters must be suffixed with the type or object name.

Switched to pre-release. Reload window. same issue.
Switch to release version. Reload window. Same issue.

from al.

dannoe avatar dannoe commented on June 19, 2024

Can you maybe share a minimal project with this error?

grafik

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

I will try yes. But I see you have it too above, isn't it?

from al.

dannoe avatar dannoe commented on June 19, 2024

The warning appears just on the Foo variable, which is correct. With the SibExtSetupTable variable I have no warning in my vscode.

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

image

How do you preffer me to share the project, I am new to this? It has two AL files.

from al.

dannoe avatar dannoe commented on June 19, 2024

Zip it up and just drag and drop it into your input box here. (Do not include the .alpackage folder in the zip else you will exceed the upload limit on Github.)

PS: In your screenshot the variable name should be SiboneyExtSetupTable.

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

Do I get any credentials to take out?

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

I did the same in the original project and it all went away. No more AL0072!

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

This is closed, as it got resolved, thanks to above replies from @dannoe

from al.

simplyTrex avatar simplyTrex commented on June 19, 2024

I only activated it to try to learn what would be best practice recommended for naming variables and objects. Basically to be more catholic than the pope himself.

from al.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.