Git Product home page Git Product logo

acuminator's Introduction

Acuminator

Acuminator is a static code analysis and colorizer tool for Visual Studio that simplifies development with Acumatica Framework. Acuminator provides diagnostics and code fixes for common developer challenges related to Acumatica Framework. Also, Acuminator can colorize and format BQL statements, and can collapse attributes and parts of BQL queries.

Diagnostics and Code Fixes

In the code based on Acumatica Framework, Acuminator finds common mistakes and typos that are usually not so easy to find, such as the following:

  • Incorrect signatures of PXAction handlers
  • Typos in the names of view delegates
  • PXStringList declarations without PXDBString
  • C#-style inheritance from PXCacheExtension

For the errors it finds, Acuminator suggests code fixes. For the full list of supported diagnostics and code fixes, see Acuminator Release Notes.

Code Coloring, Formatting, and Outlining

Acuminator colorizes and formats BQL statements, which improves the readability of long BQL queries. You can adjust the colors in the Visual Studio settings.

Acuminator can collapse parts of BQL queries and the code inside attributes to small tags, which makes it easier for you to focus on the parts of code related to the current task.

The Process of Building the Solution

To build the solution, do the following:

  1. Create the lib folder in the root folder.
  2. Add PX.Data.dll, PX.Common.dll, PX.BulkInsert.dll, and PX.DbServices.dll (from Acumatica ERP 2017R2 or higher) to the lib folder.
  3. Add your strong-name key file as src/key.snk. If you don't have one, run Developer Command Prompt and generate the key by using the following command: sn.exe -k "src\key.snk".
  4. Open src/Acuminator/Acuminator.Analyzers/Properties/AssemblyInfo.cs and change the public key in the InternalsVisibleTo attribute to your own. To extract the key from the strong-name key file, do the following:
    1. In Developer Command Prompt, extract the public key from the snk file to a txt file as follows: sn.exe -p "src\key.snk" "src\publickey.txt".
    2. Display the public key to the console by using the following command: sn.exe -tp "src\publickey.txt".
  5. Build Acuminator.sln.

Documentation

Developer Documentation

Release Notes

Release Notes

acuminator's People

Contributors

dropsonic avatar senya1990 avatar saloponov avatar k-s-popova avatar itazitdinov avatar pagrom avatar

Watchers

James Cloos avatar

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.