简体   繁体   English

Netbeans 7.3 Smarty in <script> tag

[英]Netbeans 7.3 smarty in <script> tag

I want to use netbeans ide 7.3 for my project, but if i put some smarty tags/variables into tags, netbeans always highlighting as syntax error. 我想在项目中使用netbeans ide 7.3,但是如果我将一些聪明的标签/变量放入标签中,netbeans始终会突出显示为语法错误。 How can i fix it? 我该如何解决? I cannot find any patch for this problem. 我找不到此问题的任何补丁。 In netbeans 7.2 the problem doesn't occur. 在netbeans 7.2中,不会发生此问题。

图片

Thank you! 谢谢!

In your code there is some error as I see: 在您的代码中,我看到了一些错误:

you are using: <div class="class1" class="class2"> 您正在使用: <div class="class1" class="class2">

this will not support to class in a tag. 这将不支持在标签中分类。

Use this code: <div class="class1 class2"> 使用此代码: <div class="class1 class2">

If you want to use more than one class in a tag. 如果要在标记中使用多个类。

NetBeans 7.3 brought a new JavaScript editor, thus the difference from 7.2. NetBeans 7.3带来了新的JavaScript编辑器,因此与7.2有所不同。 This issue should be already fixed and it will be part of upcoming patch. 该问题应该已经修复,将成为即将发布的补丁的一部分。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM