<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Webscripts, import tags &amp; IDEs in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-import-tags-ides/m-p/261046#M214176</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ran into this issue with IntelliJ, very new to IntelliJ and trying to switch from Eclipse. Wasn't an issue there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested to add&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//&amp;lt;/import&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on the second row. That way IntelliJ see the import tag as closed and code highlighting work. The comment makes javascript parse properly. So may be a workaround, but only if you have only one import statement, for some files there are many.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Better yet would be if could use &amp;lt;import resouce="…" /&amp;gt; (ie close the tag in one line). Time to file an enhancement request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know if there is a way to get IntelliJ to ignore this import tag?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Feb 2013 19:05:27 GMT</pubDate>
    <dc:creator>loftux</dc:creator>
    <dc:date>2013-02-20T19:05:27Z</dc:date>
    <item>
      <title>Webscripts, import tags &amp; IDEs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-import-tags-ides/m-p/261045#M214175</link>
      <description>HiHow do you manage to suppress errors reported by IDEs when working with webscript JavaScript code which imports other resources? For example:&amp;lt;import resource="classpath:includes/callutils.js"&amp;gt;function main(){&amp;nbsp;&amp;nbsp;&amp;nbsp; model.sortDef = doSomething();}main();‍‍‍‍‍‍‍‍Such code will create error warnin</description>
      <pubDate>Thu, 20 Dec 2012 12:51:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-import-tags-ides/m-p/261045#M214175</guid>
      <dc:creator>kbryd</dc:creator>
      <dc:date>2012-12-20T12:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Webscripts, import tags &amp; IDEs</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/webscripts-import-tags-ides/m-p/261046#M214176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ran into this issue with IntelliJ, very new to IntelliJ and trying to switch from Eclipse. Wasn't an issue there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tested to add&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;//&amp;lt;/import&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/javascript&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;on the second row. That way IntelliJ see the import tag as closed and code highlighting work. The comment makes javascript parse properly. So may be a workaround, but only if you have only one import statement, for some files there are many.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Better yet would be if could use &amp;lt;import resouce="…" /&amp;gt; (ie close the tag in one line). Time to file an enhancement request.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone know if there is a way to get IntelliJ to ignore this import tag?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Feb 2013 19:05:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/webscripts-import-tags-ides/m-p/261046#M214176</guid>
      <dc:creator>loftux</dc:creator>
      <dc:date>2013-02-20T19:05:27Z</dc:date>
    </item>
  </channel>
</rss>

