[jbosstools-issues] [JBoss JIRA] (JBIDE-13742) Investigate how modernizr affects vjet/jsdt/etc.

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Mon Mar 25 17:46:43 EDT 2013


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

Victor Rubezhny commented on JBIDE-13742:
-----------------------------------------

VJET, NexJ, JSDT (all of them) complain to parse/calculate proposals on Modernizr.js.

VJET has an issue on parsing the Regular Expressions [Bug 401250: regular expression causes false comment color|https://bugs.eclipse.org/bugs/show_bug.cgi?id=401250] that prevents the JavaScript to be parsed correctly (Tested with both, full developer version and customized minified one on a little working test project). So, VJET cannot create a model of JS-objects for this script.

NexJ and JSDT both complain on minified version of Modernizr script, so they can't use it (the reason is the same as for jQuery Minifoed files - JSDT Parser). But also I couldn't make it parse and show me the content assist on Modernizr object and its members somwhere in the code outside the script itself. So, content assist shows the Modernizr object when I'm editing modernizr.js file itself, but the object is not-available when editing some HTML that includes modernizr.js or some other JS file.

Neither VJET nor NexJ has a type library support for the modernizr.js.

So, modernizr.js doesn't affect the content assistant.
                
> Investigate how modernizr affects vjet/jsdt/etc.
> ------------------------------------------------
>
>                 Key: JBIDE-13742
>                 URL: https://issues.jboss.org/browse/JBIDE-13742
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>            Reporter: Max Rydahl Andersen
>            Assignee: Victor Rubezhny
>
> Check how javascript completion is affected by usage of modernizr.
> http://modernizr.com/docs/#load
> Can they still provide code completion for the library ?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list