Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2763

css autocompletion not working

Rank to TopRank to BottomVotersWatch issueWatchersConvert to sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 12.0
    • web - CSS Editor
    • Product Version: Apache NetBeans IDE 11.1
      Java: 12.0.1; OpenJDK 64-Bit Server VM 12.0.1+12-Ubuntu-1
      Runtime: OpenJDK Runtime Environment 12.0.1+12-Ubuntu-1
      System: Linux version 5.0.0-19-generic running on amd64; UTF-8; en_US (nb)

    Description

      Hi guys. I decided to test Netbeans 11.1 a little, created simple html5 project, added index.html, bootstrap 4.3.1 css and my own style.css plus some js.

      I found that class/id completion in bootstrap.css is not working (though i don't see any errors neither in parsing nor in NB itself). Class and id completion in style.css is working for style.css and index.html (parser was able to work with these files). But nothing works with bootstrap.css (not even autocompletion for classes inside this file). So looks like NB silently fails to parse it. Please fix.

      It's a clean NB 11.1 beta2 install, without importing plugins from previous NB versions. (just tested the same in beta3, still an issue)

       

      Steps to reproduce:

      1. Download attached project: autocompletion_test.tar.gz
      2. Open the project
      3. Open the style.css
      4. Try to autocomplete any class.

      Actual result: "No suggestions"

      Expected result: "autocompletion provides some classes from bootstrap.css"

      Update: still not working in NB 11.3 RC.

      Attachments

        1. autocompletion_test.tar.gz
          26 kB
          Pavel Selivanov
        2. autocompletion_test2.tar.gz
          34.22 MB
          Pavel Selivanov
        3. bootstrap_4.1.3_to_4.2.0.diff
          43 kB
          Pavel Selivanov
        4. bootstrap_400_431.diff
          92 kB
          Pavel Selivanov
        5. bootstrap-4.1.3-dist.zip
          609 kB
          Pavel Selivanov
        6. bootstrap-4.2.0-dist.zip
          656 kB
          Pavel Selivanov
        7. Hello12.zip
          24 kB
          Geertjan Wielenga
        8. many-classes.css
          51 kB
          Junichi Yamamoto
        9. Screen Shot 2019-07-04 at 14.11.30.png
          197 kB
          Geertjan Wielenga
        10. Screen Shot 2019-07-04 at 15.25.01.png
          194 kB
          Geertjan Wielenga
        11. Screenshot from 2019-07-04 16-33-43.png
          98 kB
          Pavel Selivanov
        12. Screenshot from 2019-07-04 16-33-57.png
          118 kB
          Pavel Selivanov
        13. Screenshot from 2019-07-04 16-33-57.png
          118 kB
          Pavel Selivanov
        14. Screenshot from 2019-07-04 16-34-06.png
          118 kB
          Pavel Selivanov
        15. Screenshot from 2019-07-04 16-34-06.png
          118 kB
          Pavel Selivanov

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            matthiasblaesing Matthias Bläsing
            selivanovp Pavel Selivanov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1h
                1h

                Issue deployment