1.
Q:Why I can't see the Syntax Colored zscript code in my zul page?
A:You have to insert <![CDATA[ and ]]> inside the <zscript> and <attribute> code block.
2.
Q:I have installed the ZK Studio plugin in my Eclipse. When I open a zul file by double clicking the entry in Project Explorer in Eclipse, it is not opened by the Intelligent ZUL Editor

, but is opened by the Default Eclipse XML Editor

. What's wrong?
A:In some our older smalltalks and documents, they instructed ZK developers to set *.zul file to be handled by Eclipse's built-in XML Editor; this should be cleared before install the plugin. If not, please open the Eclipse preference setting dialog ([Window]/[Preferences...]/General/Editors/File Associations) and set the "ZUL Editor" as the default editor for *.zul files.

And You can force Eclipse to open zul file in ZUL Editor by right-click menu entry in Navigator, Package Explorer, Project Explorer View.

3.
Q:Why I always got JAVA Syntax Error mark in my code, even if it can run correctly on ZK?
A:Currently you have to append two special comments: //@DECLARATION and //@IMPORT in zscript code block inside the <zscript>. The //@DECLARATION is used when declaring classes and functions; the //@IMPORT is used when there is a JAVA import directive; these two comments can only be used only once in one code section surrounded with <![CDATA[ ]]>. And if you define a class in zscript, don't use the access modifier public, just use the default access modifier.
4.
Q:I use the non-JAVA Syntax such as var zoom = self.zoom in my code. Why the ZUL Editor shows me that the code is wrong?
A:Currently Syntax Check is for JAVA only, so the code like var zoom = self.zoom will be highlighted as warning in ZUL Editor.
5.
Q:Why the URL Hyperlink doesn't work when I use src="someFile.zul"?
A:You have to specify Absolute URL Path. Such as src="/someFile.zul".
6.
Q:The code completion (Content Assist) is not working. How do I solve it?
A:There are some things you should verify:
(1) Make sure your hot key for code completion is what you expected, and doesn't conflict with other function in Eclipse (you can define it in [Windows]/[Preferences]/[General]/[Keys]).
(2) Write a simple zul:
<zk>
<zscript><![CDATA[
System.out.println("test");
]]><zscript>
</zk>
see if the Content Assist can be auto-initiated inside the <zscript>
(3) If code completion of zk Class not working, please make sure you have zk jar files in the library path of project that contains that simple zul file.
(4) Make sure there is no other serious error, such as grammar error in your zul file.
(5) Make sure there is no other serious error in Problem View of your project in Eclipse.
Not e: To have code assist automatically invoked in ZUML tag, you can change auto content assist trigger, replace "." with " ".
(6) Some file of the project may be out of sync. You can goto [Project]/[Clean] then clean and rebuild the project.