[jbosstools-issues] [JBoss JIRA] (JBIDE-10155) JavaScript content assist issue with jQuery, but likely more
Alexey Kazakov (JIRA)
issues at jboss.org
Mon Feb 9 16:39:49 EST 2015
[ https://issues.jboss.org/browse/JBIDE-10155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexey Kazakov resolved JBIDE-10155.
------------------------------------
Fix Version/s: 4.2.2.Final
(was: 4.3.x)
Resolution: Done
Yes, [~azerr] you are right. I double checked JBT 4.2.2 / JBDS 8.0.2 (includes Tern 0.6.0) and content assist works fine for $('...').| there. So we can resolve the issue as done since JBDS 8 includes Tern.java.
> JavaScript content assist issue with jQuery, but likely more
> ------------------------------------------------------------
>
> Key: JBIDE-10155
> URL: https://issues.jboss.org/browse/JBIDE-10155
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: jsp/jsf/xml/html source editing, upstream
> Affects Versions: 3.3.0.M4
> Reporter: Jay Balunas
> Assignee: Victor Rubezhny
> Priority: Minor
> Labels: jsdt
> Fix For: 4.2.2.Final
>
> Attachments: jboss-as-poh5-archetype.zip, jQueryWithTern.png
>
>
> Content assist with JavaScript with jQuery not working, or respecting namespaces. Most JavaScript content assist was fine.
> {code:JavaScript}
> <script type="text/javascript">
> $(document).ready(function() {
> //Fetches the initial member table
> updateMemberTable();
> //Register a event listener on the sumbit action
> $('#reg').submit(function(event) {
> event.preventDefault();
> var formValues = $(this).serialize();
> registerMember(formValues);
> });
> });
> </script>
> {code}
> Any call to "$('foo')." does not show any content assist. Using "jquery('foo'." instead of $ partially worked, but still not 100%. Not all the expected values are there. This makes me think there is two issues.
> To see the problem import the project I attached and try out desktop.html, or app.js.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)
More information about the jbosstools-issues
mailing list