Repository - API - Source
(TS) Generate interfaces for XML files (id to class mapping)
command"
with '
in attribute value anymore for such cases as \{type: 'sap.ui.model.type.Date', formatOptions: \{UTC: true\}, constraints: \{\} \}
nodeProjects
configuration option added. ReadmeREADME.md
updatedui5plugin.bulkExportToi18n
Readmeui5.plugin.bulkExportToi18nCommandData
TagAttributeDefaultValueLinter
configuration entry added. ReadmeEventTypeLinter
added. Readmeui5.plugin.idGenerationFormula
, ui5.plugin.generateIdsCommandData
(Configuration Readme)sap/ui/base/Event
is not automatically imported anymore if tsEvent
variable is added to ui5.plugin.tsEventType
preference entrytsEvent
variable added to ui5.plugin.tsEventType
preference entry. Handy if UI5 Version 1.115.1
+ is used, because the preference entry can be changed to {tsEvent}
, and then the necessary event will be added automatically. Comes as a replacement for tsEvent
variable. (Check UI5 Type Definitions release notes)tsEventParameters
variable added to ui5.plugin.tsEventType
preference entry. Handy if UI5 Version 1.115.0
+ is used, because the preference entry can be changed to Event<{tsEventParameters}>
, and then the necessary generic for event parameters will be added automatically.Example:
Event<$ListBaseSelectionChangeEventParameters>
will be generated, ifCreate method
action will be selected on non existant event handler in XML viewsap.m.List
->selectionChange
event>
rc
file handler back to rc-config-loader
to webpack compatible versionrc
file handler to cosmiconfig
rc
file supportid
and event handler
naming style checkui5ignore-patterns
in XML files added for ignoring naming style errorsui5ignore
in XML files now supports specific attribute ignoringjsClassesToExclude
for TS projectspropertiesLinterExceptions
added to ui5linter
configuration@ui5ignore
is now supported in i18n.properties
.properties
file has reference CodeLensui5.plugin.propertiesCodeLens
.properties
file migrated to properties-file package (#322)fragmentName
of Fragments@ui5model
tag support1. Get currently opened document
2. Get parser instance for opened document
3. If parser doesn't exist or no document are open, get all parser instances.
4. If there is only one parser instance, it will be used automatically
5. If there are more than 1 parser instance, user prompt will be triggered
additionalWorkspaces
in package.json
now supports absolute path@ui5model
, @abstract
jsdoc support for classes added. @ui5model
can be used as class JSDoc, useful for TS projects to overcome performance issues for switching between MVCsap.ui.getCore()
)ChainExpression
, ArrayPattern
, ForOfStatement
, AssignmentPattern
byId
method exception support for JS projects with new UI5 library versions which returns sap.ui.core.Element|undefined
instead of old sap.ui.core.Element
UI5: (TS) Generate interfaces for OData entities (Mass)
ui5.plugin.massTSODataInterfacesFetchingData
Duplicate Translation Linter
added to properties lintersui5.plugin.globalConfigurationPath
package.json
addedui5.plugin.umlGenerationPath
,ui5.plugin.XMLFileInterfacePath
,ui5.plugin.TSODataInterfacesPath
,ui5.plugin.ERDiagramPath
,ui5.plugin.JSTypeDefDocPath
ui5.plugin.generateXMLFileInterfacesOnSave
.ui5plugin.generateTSXMLFileInterfaces
command. Entry: ui5.plugin.TSODataInterfacesFetchingData
, which allows to define username, password and url for metadata loading.webapp
folder is not automatically excluded from reading for TS projects anymorei18n.properties
Clear cache
command, which was not working when UI5 library metadata preload failedui5.plugin.xmlFormatterTagEndingNewline
.ts
files and tsconfig.json
existence<Button></Button> -> <Button/>