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

css autocompletion not working



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


      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.


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

        Issue Links



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



                Time Tracking

                  Original Estimate - Not Specified
                  Not Specified
                  Remaining Estimate - 0h
                  Time Spent - 1h