Global Preferences"

From Documentation
 
(11 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{ZKStudioEssentialsPageHeader}}
 
{{ZKStudioEssentialsPageHeader}}
  
The global preference for ZK Studio can be accessed by selecting '''<nowiki>[Window]/[Preferences]</nowiki>''' from Eclipse's main menu.
 
  
== Services ==
 
[[Image:GlobalPreference_Services.png]]
 
  
*'''Error Reporter'''
 
  
:ZK Studio can send its error log to us in order to improve the quality and performance of future ZK Studio versions, check this to enable sending of the error log.
+
The global preference for ZK Studio can be accessed by selecting '''[Window]/[Preferences]''' from Eclipse's main menu and select "ZK" from the tree on the left hand side.
  
== Visual Editor ==
 
This page configures the presentational style of the Visual Editor.
 
  
[[Image:GlobalPreference_VisualEditor.png]]
+
= Services =
 +
[[Image:studio-preference-services.png| center | 600px]]
  
*'''Auto restart the visual editor if a project is unable to continue from an error'''
+
'''Error Reporter'''
 +
:ZK Studio can send its error log to us in order to improve the quality and performance of future ZK Studio versions. Check this to enable sending of the error log. If you have to connect the internet through proxy, you may setup proxy URL and port to make it work.
  
:The ZUL Visual Editor will try to restart if a serious error occurs, turn this off to improve the performance of ZUL Visual Editor.
+
= ZK Account =
  
*'''Show the border when mouse over a component'''
+
This page shows the activation status of your ZK account. You can directly activate your ZK Forum account here.
 +
[[Image:studio-preference-account.png| center | 600px]]
  
:Check this to have a dash-line border appear on the preview result of the Visual Editor upon mouse over of a component.
+
For more information, please refer to [[ZK_Studio_Essentials/Installation#Activate_ZK_Studio| Activate ZK Studio]]
  
*'''Show border on non-selected components'''
+
= ZK Packages =
 +
On the ZK Packages preferences page, checking an imported ZK Package can make it become the default package. This default package will then be automatically used for any new ZK web application. If you don't select a default ZK package, ZK Studio will automatically choose the latest version of your imported ZK Packages.
  
:Check this to have a dash-line border on all components in preview result of Visual Editor.
 
  
*'''Update frequency(ms) of VE'''
+
[[Image:studio-preference-package.png| center | 600px]]
  
:This setting controls the automatic refresh time for Visual Editor. By setting it higher, the Visual Editor will render the preview less frequently but it will also increase the performance of the Visual Editor.
 
  
== ZK Packages ==
+
Another way to import ZK package is through ZK Storage view, please refer to [[ZK_Studio_Essentials/Features_of_ZK_Studio/ZKs#Configure_ZK_Binary_Distribution|Configure ZK Binary Distribution]]
On the ZK Packages preferences page, checking the box of an imported ZK Package will make it the default ZK Library. This default library will then be automatically used for any new ZK Web Application.
 
  
If you don't select a default ZK library, ZK Studio will automatically choose the latest version of your imported ZK Packages.  
+
= ZUL Editor =
 +
This page is used to configure ZUL Editor.
  
 +
[[Image:studio-preference-editor.png| center | 600px]]
  
[[Image:Zk_studio_094_perference_package.jpg]]
 
  
Another way to import ZK package is through ZK storage View, please refer to [[ZK_Studio_Essentials/Features_of_ZK_Studio/ZKs#Configure_ZK_Binary_Distribution|Configure ZK Binary Distribution]]
+
*'''Use plugin's built in zul.xsd'''
 
+
*: The content assist feature for components requires a ''zul.xsd'' file to work properly, and by default it will load the ''zul.xsd'' that is already included in ZK Studio. If this option is unchecked, ZK Studio will use the ''zul.xsd'' from the ZK website.
== ZUL Editor ==
 
This page is used configure ZUL Editor options.
 
 
 
[[Image:GlobalPreference ZULEditor.PNG]]
 
 
 
*'''Use ZK Studio's built in zul.xsd'''
 
 
 
:The content assistance feature requires a ''zul.xsd'' file to be functional, by default it will load the ''zul.xsd'' that is already included in ZK Studio. If this option is unchecked, ZK Studio will use the ''zul.xsd'' from the ZK Website.
 
 
 
:*'''Use a local zul.xsd'''
 
::You could use a local zul.xsd if you had problems to use the zul.xsd from remote ZK Website. To use a local zul.xsd, please follow following steps:
 
::#Download the zul.xsd from <i>http://www.zkoss.org/2005/zul/zul.xsd</i> and store it in a folder.
 
::#Open Window>Preferences, XML>XML Catalog, click Add to add an entry.
 
::#Set the <i>Location</i> to the local location of the zul.xsd.
 
::#Set <i>Key type</i> to <i>Schema location</i>
 
::#Set <i>Key</i> to <i>http://www.zkoss.org/2005/zul/zul.xsd</i>
 
  
 
*'''Auto detect zscript for IMPORT and DECLARATION statement'''
 
*'''Auto detect zscript for IMPORT and DECLARATION statement'''
 +
*: By checking this, you don't have to deliberately add extra '''//@IMPORT''' and '''//@DELARATION''' statement to help zscript parser. Content assist and syntax checking should work well without such statement.
  
:By checking this, you don't have to deliberately add extra '''//@IMPORT''' and '''//@DELARATION''' statement to help zscript parser. Content assistence and Syntax checking should work well now without such statement.
+
*'''Enable automatic content assist'''
 +
*: If you check this option, upon typing in the ZUL Editor, the content assist will automatically show a list of possible candidates. If this is not checked you will need to use the keyboard shortcut to invoke content assist.  
  
*'''Enable automatic content assist'''
+
*'''Auto content assist triggers'''
 +
*: Set what character will auto invoke content assist in the ZUL Editor. The default value is the same as Eclipse Java Development Tools(JDT)'s value.
  
:If this option has been checked, upon typing in the ZUL Editor, the content assistance will automatically show a list of possible candidates. If this is not checked you will need to use the keyboard shortcut to invoke content assistance.  
+
*'''Enable MVVM annotation expression validation'''
 +
*: If you uncheck this option, Studio will not validate data binding expressions in a ZUL and data binding expression syntax error will not be showed.
  
*'''Auto content assist triggers'''
 
  
:Set what character will auto invoke Content Assist in the ZUL Editor, the default value is the same as Eclipse Java Development tools(JDT)'s value.
 
  
 
{{ZKStudioEssentialsPageFooter}}
 
{{ZKStudioEssentialsPageFooter}}

Latest revision as of 08:03, 3 October 2017





The global preference for ZK Studio can be accessed by selecting [Window]/[Preferences] from Eclipse's main menu and select "ZK" from the tree on the left hand side.


Services

Studio-preference-services.png

Error Reporter

ZK Studio can send its error log to us in order to improve the quality and performance of future ZK Studio versions. Check this to enable sending of the error log. If you have to connect the internet through proxy, you may setup proxy URL and port to make it work.

ZK Account

This page shows the activation status of your ZK account. You can directly activate your ZK Forum account here.

Studio-preference-account.png

For more information, please refer to Activate ZK Studio

ZK Packages

On the ZK Packages preferences page, checking an imported ZK Package can make it become the default package. This default package will then be automatically used for any new ZK web application. If you don't select a default ZK package, ZK Studio will automatically choose the latest version of your imported ZK Packages.


Studio-preference-package.png


Another way to import ZK package is through ZK Storage view, please refer to Configure ZK Binary Distribution

ZUL Editor

This page is used to configure ZUL Editor.

Studio-preference-editor.png


  • Use plugin's built in zul.xsd
    The content assist feature for components requires a zul.xsd file to work properly, and by default it will load the zul.xsd that is already included in ZK Studio. If this option is unchecked, ZK Studio will use the zul.xsd from the ZK website.
  • Auto detect zscript for IMPORT and DECLARATION statement
    By checking this, you don't have to deliberately add extra //@IMPORT and //@DELARATION statement to help zscript parser. Content assist and syntax checking should work well without such statement.
  • Enable automatic content assist
    If you check this option, upon typing in the ZUL Editor, the content assist will automatically show a list of possible candidates. If this is not checked you will need to use the keyboard shortcut to invoke content assist.
  • Auto content assist triggers
    Set what character will auto invoke content assist in the ZUL Editor. The default value is the same as Eclipse Java Development Tools(JDT)'s value.
  • Enable MVVM annotation expression validation
    If you uncheck this option, Studio will not validate data binding expressions in a ZUL and data binding expression syntax error will not be showed.




Last Update : 2017/10/03

Copyright © Potix Corporation. This article is licensed under GNU Free Documentation License.