Skip to content

v1.1.0

Choose a tag to compare

@skfd skfd released this 21 Aug 05:50
· 23 commits to main since this release
  • A near-complete column list can be said as its exceptions. Switched on, the comment
    mode measures each list against its entity's current columns, and an image or filter
    that covers nearly all of them reads (all columns except: creditlimit, ilac_legacyid, ...) instead of reciting seventy names — used only while the exceptions stay at most a
    quarter of what is included. A list that turns out to be every column reads (all 75 columns, written out), distinct from (all columns), because a spelled-out list is
    pinned to the day it was made while an empty one follows the table. A list carrying a
    column the entity no longer has is left verbatim, so the stale name stays visible.

  • The dagger. A † button in the write toolbar opens the experimental settings:
    experiments that run as opt-ins until they earn being the default. The exceptions
    phrasing above is the first of them, off by default, remembered across sessions.

    The dagger button beside the preview toggle

  • A third column holds the source folder against the registrations. The folder picker
    moved there from above the preview, and as soon as a folder and loaded classes exist the
    tool scans in the background and keeps a ledger: which registered classes have a .cs
    file (current, stale — the tool's output is present but no longer matches the
    registration — or nothing written yet), which have no file, which are ambiguous,
    and which plugin classes sit in the folder with no registration behind them. Every
    class row carries the verdict as a glyph (✓ ✎ ✗ ⚠), every assembly row a roll-up
    (4/5 ⚠), and selecting a row in either list highlights it in the other. What used to be
    discovered by pressing Write to Files is now on screen before it.

  • Write to both files when ambiguous. A checkbox that only appears when the scan has
    found an ambiguity. Off, an ambiguous class is skipped as before; on, every file
    declaring the class gets the same output — the splice replaces only the tool's own
    block, so the partial-class case the ambiguity usually is ends up documented on both
    halves.

  • The preview is togglable. A Preview ▸ button in the write toolbar collapses the
    code view and hands its width to the source column, for the sessions that are about
    auditing the marks rather than reading what would be written; ◂ Preview brings it
    back. The write controls sit above both panes and stay put either way.

  • Refresh. Rereads the assemblies and their steps without resetting the session:
    what is ticked, what is excluded, the filter and the folder all survive. For the loop
    the tool lives in — register from the IDE, come back, refresh, write.

  • The hint above the buttons now says what a write would do (Will write 5 classes · 2 skipped (1 no file, 1 ambiguous)) instead of going quiet once the folder was valid.

  • The registered namespace now settles a short-name tie. When several .cs files
    declare a class of the same short name, the file whose namespace declaration matches
    the namespace the type was registered under is the one written, provided exactly one
    file does. Two projects in one tree with a class name in common no longer come back as
    Ambiguous. A tie the namespace cannot settle — a partial class spanning files, the
    same namespace declared twice, a namespace declared in nested form — is still reported
    as ambiguous and no file is touched.

Requires XrmToolBox 1.2025.7 or later. Install from the XrmToolBox Tool Library (package Comentality.PluginStepCodegen on NuGet.org), or drop the attached package's Plugins content into your XrmToolBox plugins folder.