Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-16621

The quick fix for unknown attributes is not available if "Ignore specified attribute names" validation preference is unchecked

    XMLWordPrintable

Details

    Description

      1. Create a project
      2. Create the following html file:

      <!doctype html>
      <html ng-app>
      </html>
      

      3. Open the file with JBoss Tools HTML Editor
      4. Assert: There is a problem "Undefined attribute name" for ng-app
      5. Assert: Move the mouse over the problem and you see two quick fixes:

      • Ignore ng-app attribute
      • Ignore all ng-* attributes

      6. Go to Preference->Web->Validation->
      7. Check "Ignore specified attribute names"
      8. Add "ng-app,ng-*" pattern
      9. Uncheck "Ignore specified attribute names". Click OK.
      10. Assert: There is still a problem "Undefined attribute name" for ng-app
      11. Failure: Move the mouse over the problem but there are not quick fixes any more.

      Attachments

        Issue Links

          Activity

            People

              dazarov_jira Daniel Azarov (Inactive)
              alexeykazakov Alexey Kazakov
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: