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.
Summary: | PHP code completion does not work when error exists in code | ||
---|---|---|---|
Product: | php | Reporter: | lucifurious |
Component: | Editor | Assignee: | Ondrej Brejla <obrejla> |
Status: | NEW --- | ||
Severity: | normal | CC: | mmirilovic, pjiricka, sohorev |
Priority: | P2 | ||
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: |
Description
lucifurious
2011-03-05 18:19:42 UTC
The code completion is context sensitive. When you paste a code with an error the code completion can not find probably the right context. It depends how much is the code wrong. Probably there could be better resolving such situations. I'm switching this defect to the task. The current situation is there from NB 6.5 and should be improved as a complex task. Petr, I really do not think this kind of issue can be a task. If you are not going to fix it in 7.0 (as I assume), ask for a waiver. But I think issues like this should be delivered in NB 7.0.1 (Dev) Marian, this is here from 6.5. The situation is not ideal, but this is the first complain. There has to be created a strong heuristic that will correct the wrong code. This is not issue for one week. You have to cover thousands cases. How many cases have to be fixed to mark it as fixed? 10 ? 100? 1000? If you give me a number, it's ok. But this issue is to abstract to provide a concrete fix. (In reply to comment #4) > the wrong code. This is not issue for one week. You have to cover thousands > cases. How many cases have to be fixed to mark it as fixed? 10 ? 100? 1000? If > you give me a number, it's ok. But this issue is to abstract to provide a > concrete fix. Ok, I understand and added WAIVER for 7.0. From my point of view as many as possible. I am not saying all of them must be fixed into next release. I think we can probably exchange it to many small defects and keep this one as umbrella. But would be nice to fix at least some of them into next release. Still there is a lot of work on this. IMHO should be more task. Reassigning, thanks. I'm trying to mark this issue as a task. There has to be done more work and it doesn't have sense to wave it a few years. |