Repository navigation
Added
- The hover of a GVL or program variable declared
AT %I*orAT %Q*tells what it is linked to, without opening XAE's
Mapping:Device 1 (EtherCAT) › Term 1 (EK1100) › Term 2 (EL1008) › Channel 1 › Input, read from the
<Mappings>of the.tsprojas XAE last saved it. A struct or an array lists the links of its members and
elements (.bReady,[1]). A variable linked to nothing says so, and one that the last build did not have yet
says to build and save the project in XAE first. A project without<Mappings>(a library, I/O not committed)
shows nothing.samples/Demonow has I/O, added in XAE bysamples/Add-DemoIo.ps1. - The same for a variable
AT %I*/AT %Q*of a function block: one line per instance, by its path
(MAIN.fbSensorLeft.bSignal), with what it is linked to ornot linked. The instances are those of the last
build in XAE, in programs, GVLs, struct members and array elements, and of function blocks that extend it. - An information (
unlinked-io) at the declaration of a variableAT %I*/AT %Q*that the TwinCAT project
links to no I/O, not even in part, or, of a function block, in some of its instances. Not told in a project
without links.twincatExplorer.diagnostics.rulescan make it a warning or an error, or turn it off; the
attributeexplorer.disableturns it off in one GVL or POU. - Renaming what I/O links go through asks first, listing the links: a variable
AT %I*/AT %Q*, a struct,
array or function block instance that holds one, a member of such a struct, or the GVL or program itself.
The.tsprojnames the linked variable by its old name, so after the next build in XAE the link finds no such
variable and has to be made again there. - A warning (
stale-io-link) in the Problems panel, at the variable of each link of a.tsprojthat the code no
longer declares, as it is now (saved or not): a variable, struct member or instance renamed or deleted since
XAE saved the project.twincatExplorer.diagnostics.rulescan change its level or turn it off.
Fixed
- In the TwinCAT tree, a folder holding changes since HEAD now has the git color and a dot, like the Explorer,
also while it is collapsed. A folder of a PLC project, the PLC project and the TwinCAT project take the strongest
change of the files in their directories: a conflict, a deletion (red, which the Explorer leaves out), a
modification, an addition. A folder inside a POU or interface (Methods,States) takes that of the methods,
properties and actions in it, a deleted one counting in the folder it had in HEAD. Moving an object to another
folder alone is no change. The tooltip of the dot counts the changes
(#135, reported by
show2723).
Install the attached file with code --install-extension explorer-for-twincat-0.25.0.vsix, or from the Marketplace.