ivivaxmlA helper tool for iViva App Development Requirement
UsageOpen service path's declaration locationPress F12 or Right click -> Go to Definition to open file where service is defined works on "ExecuteService", "Service", "Task" and "Field" elements Attribute & Element completion
Javascript Support - Limitedinside a CDATA regions press Ctrl + space to get suggestions. currently only ServiceDesk namespaces's limited functions supported Find validator message on Model fileGo to a Model file then to Validator element tag , press F12 or Right click -> Go to Definition to open file location where message is configured Open View/ View Template file in Configuration.xml fileGo to a Configuration.xml file then to View element tag , , press F12 or Right click -> Go to Definition to open the reference file Open Model path's filePress F12 or right click -> Go to Definition to open file where service is defined works on "MaybeConnectedTo", "ConnectedTo", "HasMany", "Field", "Service" and "MaybeExtendedBy" elements Repositoryif you like to contribute, Git fork path http://source.iviva.com/selva/ivivaxml Local installationif you install extension from vscode Market place or from location distribution file , extension live in %USERPROFILE%.vscode\extensions How it worksActivationExtension gets activated when a XML file is opened in vscode. CompletionCompletion works by reading configuration files under "./elementsdata" folder. folder contains yaml files for each element. App versionpref.yaml file under "./data" folder contains the preferred app's version list. if app preferred version is not defined , extension may produce multiple results. you can change the configuration file in you local installation. In future , will provide a command pallet to configure. NoteThis is an attempt to improve developer experience when doing iViva app development. Please suggest and contribute to improve productivity. if something missing , wrong or customize for personal use , you can do by changing the files by your self in your local installation . if you think the change you did must be contributed to main source , please Git fork and send merge request. Happy Coding! |