Repository navigation
v0.23.0
Added
- The MCP server's
build: TwinCAT XAE's Build PLC project, as XAE's Build menu runs it, with whether it
succeeded and the compiler's errors and warnings. It compiles what the PLC project uses, unlikecheckwith
compiler: true(XAE's Check all objects), which also compiles unused objects and so can report errors that a
build never shows. XAE saves its unsaved files before a build, so a build is refused while XAE has any, unless
the user agrees (saveUserEdits: true). (#116,
reported by simongaoai-coder)
Changed
- The TwinCAT views have a place of their own: the TwinCAT icon in the Activity Bar opens the Solution tree
(until now the TwinCAT view of the Explorer, below Outline and Timeline) with the History view below it
(until now in the Source Control sidebar). The TwinCAT Search results are in the Panel, beside Problems and
Output, as XAE's Find Results. TwinCAT Changes and TwinCAT Commits stay in the Source Control sidebar.
Any of them can be dragged back where it was (or right-click its title,Reset Location). - The Solution view's title bar has
Add(POU, DUT, GVL, interface, folder, existing items, library),
Go to Object...andSearch...;Refresh, andReveal Active EditorwhiletwincatExplorer.autoRevealis on,
are in its...menu. - TwinCAT Changes has a
Commitbutton in its title bar, for the objects staged there. - The context menu of the tree is ordered by use: open, add, go to implementation and type hierarchy, history and
comparisons, search, expand, rename/move/delete, copy name and Open XML last.Expand AllandCollapse Allare
on projects,References, folders, and POUs and interfaces with members (a function block with its methods,
properties and their folders). Open XMLmoved to the...menu of the split editor's title bar.- The TwinCAT view container opens by itself the first time a workspace shows TwinCAT projects.
- The breadcrumbs of the split editor and of object notebooks show the object's place in the TwinCAT tree
(Machine › Plc › POUs › FB_Valve › Close) instead of the folders of its file from the root of the disk. - A walkthrough, Get Started with Explorer for TwinCAT (
Help: Welcome), shows where the tree, Go to Object,
Search and the per-object git views are. - The TwinCAT Search view's message names what was searched:
5 results for "fbValve" (Match Case) in 1 file. Go to Object...shows the tree's icons and kinds (FB,PRG,ENUM,STRUCT,Method,GVL...).TwinCAT: Refreshis nowTwinCAT: Reload Projects,Reveal in TwinCAT ExplorerisReveal in TwinCAT Solution, andHide Notebook Toolbars (XAE-like Layout)isHide or Show Notebook Toolbars (XAE-like Layout)..., as it asks which.Open Changes as TwinCAT Notebookis nowCompare with HEAD (Notebook), andCompare with Git Ref as TwinCAT Notebook...isCompare with Branch or Commit (Notebook)....checkwithcompiler: truesays that it ran XAE's Check all objects, and with an object checks only that
object's PLC project.
Fixed
- Screen readers read the TwinCAT projects, PLC projects, POUs, DUTs, GVLs and tasks of the tree by their label
(FB_Valve (FB)), not by the path of their file, and folders without a trailing space. - Screen readers read the files and objects of TwinCAT Changes, TwinCAT Commits and History by their label,
description and status (FB_Valve (FB), FillerPlc · POUs/Devices, Modified), not by the path of the file. - MCP server: with TwinCAT XAE open,
add_objectmakes an alias, andadd_member(andadd_object) a property
of an interface. XAE refused both ("Base class not specified" for the alias), then failed on the interface
property's accessor. - Code excluded from the build (Exclude from build in XAE, on a folder or an object) shows no problems, as XAE
does not compile it. Before, an unknown name there was an error, in the editors and in the MCP toolcheck. Built
code that uses a name declared there gets an error now ('FB_Old' is excluded from the build), where it had none.
The TwinCAT tree marks such folders and objectsexcluded from build, andchecknames the objects it leaves
unchecked (#116, reported by
simongaoai-coder).
Thanks to @simongaoai-coder for reporting #116, and for the unused FB and excluded-folder case that showed where Check all objects and a build differ.
Install the attached file with code --install-extension explorer-for-twincat-0.23.0.vsix, or from the Marketplace.