[jbosstools-issues] [JBoss JIRA] (JBIDE-14437) jQuery Mobile code assist for IDs should work for empty id=""

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Mon May 13 19:49:06 EDT 2013


     [ https://issues.jboss.org/browse/JBIDE-14437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kazakov updated JBIDE-14437:
-----------------------------------

    Description: 
1. Create the following HTML5 file:
{code}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
</head>
<body>
   <div data-role="page" id="page-1">
     <div data-role="content">
  	<a href="#page-2" data-role="button">Link button</a>
     </div>
   </div>

   <div data-role="page" id="page-2">
     <div data-role="content">
  	Some Text
     </div>
   </div>
</body>
{code}

2. Ctrl+Space for <a href="#page-2" ...> will show the list of page IDs (page-1|page-2) only if the user has typed # : <a href="#|
Let's show all the available IDs even for empty href attributes: <a href="|

  was:
1. Create the following HTML5 file:
{code}
<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
</head>
<body>
    <div data-role="page" id="foo">
       <div data-role="header">
          <h1>Page Title</h1>
       </div>
   ...
        <a href="#bar">bar</a>  <!-- code completion for href="#| will show "foo" and "bar" -->
    ...
    </div>

    <div data-role="page" id="bar">
    ...
        <a href="#foo">Back to foo</a> <!-- code completion for href="#| will show "foo" and "bar" -->
    ...
    </div>
</body>
{code}


    
> jQuery Mobile code assist for IDs should work for empty id=""
> -------------------------------------------------------------
>
>                 Key: JBIDE-14437
>                 URL: https://issues.jboss.org/browse/JBIDE-14437
>             Project: Tools (JBoss Tools)
>          Issue Type: Enhancement
>          Components: jsp/jsf/xml/html source editing
>    Affects Versions: 4.1.0.Alpha2
>            Reporter: Alexey Kazakov
>            Assignee: Alexey Kazakov
>             Fix For: 4.1.0.Beta1
>
>
> 1. Create the following HTML5 file:
> {code}
> <!DOCTYPE html>
> <html>
> <head>
>     <meta name="viewport" content="width=device-width, initial-scale=1">
>     <link rel="stylesheet" href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css" />
>     <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
>     <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>
> </head>
> <body>
>    <div data-role="page" id="page-1">
>      <div data-role="content">
>   	<a href="#page-2" data-role="button">Link button</a>
>      </div>
>    </div>
>    <div data-role="page" id="page-2">
>      <div data-role="content">
>   	Some Text
>      </div>
>    </div>
> </body>
> {code}
> 2. Ctrl+Space for <a href="#page-2" ...> will show the list of page IDs (page-1|page-2) only if the user has typed # : <a href="#|
> Let's show all the available IDs even for empty href attributes: <a href="|

--
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