EDI-Cat READMEAN EDIFACT/X12 file viewer, formatter, converter. InstallIt's a VSCode Extension, search this extension and install it. FeaturesConvert from cXML to X12 or EDIFACT D96A
Parse DocumentMake sure document version correctly recognized and there is no validation error. Use menu "View->Command Palette..." and search for "Parse Document". after executing this command, the structure of the file displays. You still can hover to key element to see details. Syntax CheckExtention can detect file version automatically and display it on right-bottom of window. Usually the color is normal white, but if it's yellow, it means user need to click there to help it decide the version. It can do Control Number check Or Syntax Check, below is example when NTE segment is deliberately put before BIG segment, which caused an error. Format DocumentFor .xml or .x12 .edi .edifact File, right click on the content, There is a context menu "Format Document" to help you format this document. Hover for detailMouse hover to some fields like Currency, Country, UoM, Timezone, it will show you the detail meaning of the value. Some fields need a list to explore, you can click the the link for details CodelistsUse menu "View->Command Palette..." and search for "Open Code List", after executing this command, you have option to select the code list you want to view Code List display: CodelensMake sure document version correctly selected and there is no syntax error. Use menu "View->Command Palette..." and search for "Toggle Codelens". after executing this command, the group of every segment is shown in Codelens. No group means it's under ROOT group. If you feel it's disturbing, re-run this command to disable Codelens. RequirementsMake sure the file extension is .x12, .edi or .edifact. For .txt, it will detect the file type and apply corresponding syntax color. Known Issues
FutureAdd more formats and more conversion functions Enjoy! Help rating it in Extension MarketPlace so more people can enjoy it. Thanks. |