This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 161900 [details] Screenshoot Netcat 8.2 : PHP Sanity -> Verify code completion in // comments Steps Create // style comment . Invoke code completion at that line after //. Expected result: Code completion doesn't appear. It shouldn't be available in comments. => Code templates are proposed
Same for code templates inside /* */ comments. On this case (/* */), others suggestions can be good, but code templates are useless
Generically : code template should not be proposed : - in // comments - in /* */ comments - inside a catch() function
Nor after typing : ----- $this-> ----- And calling code completion
I marked that as passed when I was doing the sanity test, because I believe code templates and code completion are different things. The way I see it, code templates can even contain stuff to add in comments if I want to do that, it's in my hand how to use it. Also, in the settings, code completion and code templates are a different setting.