[jbosstools-issues] [JBoss JIRA] (JBIDE-9012) Eclipse complains about jquery minified JS files

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Fri Jan 27 08:55:49 EST 2012


    [ https://issues.jboss.org/browse/JBIDE-9012?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12662429#comment-12662429 ] 

Victor Rubezhny edited comment on JBIDE-9012 at 1/27/12 8:55 AM:
-----------------------------------------------------------------

Adding exclusion pattern doesn't work for me at all. May be I'm doing something wrong, but after I've set up exclusion pattern like {code}**/jquery*.js{code} (then have cleaned and rebuilt my project) I've seen no changes in editors: error markers stayed drawn and JavaScript content assist shown me proposals for the files attached to the issue. Also, I've tried to close the project and remove the cashed markers manually then re-open the project but with no luck.
Also, this made no effect to the performance of JavaScript editor. It stays extremely pure when working with the jquery*.js files attached to the issue (But surely it doesn't depend on validation. It's a result of putting all the file content in one row, which in its turn requires the editor to re-tokenize all the raw contents for every change of text, cursor position.

Don't know what else I can do with the issue, since it result of that:
1. JQuery is not supported by JSDT and it's validation
2. Restrictions on the length of the text row in Structured Editor (But I suppose that is common Eclipse's editors problem: Java Editor also makes very slow if you'll create a quite big class and put all it's content in one row).

                
      was (Author: vrubezhny):
    Adding exclusion pattern doesn't work for me at all. May be I'm doing something wrong, but after I've set up exclusion pattern like **/jquery*.js (then have cleaned and rebuilt my project) I've seen no changes in editors: error markers stayed drawn and JavaScript content assist shown me proposals for the files attached to the issue. Also, I've tried to close the project and remove the cashed markers manually then re-open the project but with no luck.
Also, this made no effect to the performance of JavaScript editor. It stays extremely pure when working with the jquery*.js files attached to the issue (But surely it doesn't depend on validation. It's a result of putting all the file content in one row, which in its turn requires the editor to re-tokenize all the raw contents for every change of text, cursor position.

Don't know what else I can do with the issue, since it result of that:
1. JQuery is not supported by JSDT and it's validation
2. Restrictions on the length of the text row in Structured Editor (But I suppose that is common Eclipse's editors problem: Java Editor also makes very slow if you'll create a quite big class and put all it's content in one row).

                  
> Eclipse complains about jquery minified JS files
> ------------------------------------------------
>
>                 Key: JBIDE-9012
>                 URL: https://issues.jboss.org/browse/JBIDE-9012
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: UpStream
>         Environment: Java 1.6 32-bit Windows 7 64-bit
>            Reporter: Burr Sutter
>            Assignee: Victor Rubezhny
>             Fix For: 3.3.0.Beta1, LATER
>
>         Attachments: jquery-1.5.1.min.js, jquery.tagcanvas.min.js, minified_JS_error.png
>
>
> See screenshot & attached files

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list