Skip to content

atom package for language-dorado. Add dorado-helper:convert-ClientEvent commend to convert innerText of ClientEvent to <![CDATA[ ]]> fomat

License

Notifications You must be signed in to change notification settings

ranforce/dorado-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dorado-helper

atom package for convert some of Dorado view.xml ext file content

For example: convert

<ClientEvent name="beforeExecute">
self.set(&quot;parameter&quot;,view.id(&quot;datagrid&quot;)
.get(&quot;currentEntity&quot;).toJSON());
</ClientEvent>

to

<ClientEvent name="beforeExecute"><![CDATA[
self.set("parameter",view.id("datagrid")
.get("currentEntity").toJSON());
]]></ClientEvent>

dependencies

You need to install this atom packages first:

language-dorado

usage

Run command:

dorado-helper:convert-ClientEvent

Or with keymap. In atom-text-editor[data-grammar='text dorado view xml']:not([mini]) file, keymap:

ctrl-alt-d

About

atom package for language-dorado. Add dorado-helper:convert-ClientEvent commend to convert innerText of ClientEvent to <![CDATA[ ]]> fomat

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published