Detect JSF usage in plain JAR projects and activate JSF support accordingly
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Apache NetBeans version
Apache NetBeans 13
### What happened
Netbeans 13 no longer recognizes the JSF tag "ui:composition" in xhtml files or even any other JSF related tags. Autocomplete suggestions on any JSF components, JSTL tags, or even simple bean property or method suggestions are also broken, for some reason it keeps suggesting attributes from angularJS? We use netbeans primarily for JSF development and unfortunately this makes Netbeans 13 unusable. This did not happen in Netbeans 12.6 so for now we have to go back to that version. Hopefully this can be fixed, otherwise netbeans is no longer viable option to use for any JSF development.
### How to reproduce
Open a XHTML file and press CTRL+SPACE on any JSF related tag, or even on a bean expression. Autocomplete either doesn't show, (says "No results") or just doesn't show any attributes of that JSF component/properties of that bean. You can also open any XHTML file which uses the "" tag, and netbeans wont be able to recognize it (see screenshots below)
### Did this work correctly in an earlier version?
Apache NetBeans 12.6
### Operating System
ElementaryOS 6.1 (based on Ubuntu 20.04.3) (also tested on windows, same issue)
### JDK
JDK17 Temurin-17.0.2+8
### Apache NetBeans packaging
Apache NetBeans provided installer
### Anything else
About the ui:composition tag, If this line is present
```
```
It looks like this:


If I remove that line, it looks like this:


But even then, the autocomplete suggestions are still broken.
If you need more information from me, please let me know.
### Are you willing to submit a pull request?
No
### Code of Conduct
Yes
Contributor guide
Research direction
Start by reproducing the issue in a plain JAR project with an XHTML file, using the reported JSF tags and bean expressions with and without the DOCTYPE line. Trace the JSF recognition and autocomplete entry points, then verify that JSF, JSTL, component attributes, and bean properties are recognized and suggested correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, java
- Domain
- developer-experience, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100