| Summary: | No code completion after a special line comment | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Gadi Goldbarg <gadi> |
| Component: | PDT | Assignee: | Roy Ganor <ganoro> |
| Status: | CLOSED FIXED | QA Contact: | Yossi Luson <yossi.l> |
| Severity: | normal | ||
| Priority: | P2 | Keywords: | plan |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
Fixed in CVS. Yosi.l: This bug is not fixed yet This bug happens accidently, if you stay right after '---->', press Enter (without saving!), and then CTRL+Space - code completion works... We have to check why phpScriptRegion.isLineComment(relativeOffset) returns LINE_COMMENT, instead of WHITESPACE, even though the cursor is standing at the next line after line comment. Roy, can you check? Fixed, the reparser is fixed (lexer states were updated incorrectly) verified - to test with last tag fixed |
1. Paste the following code 2. <? /** * @param $nbc */ function abc($nbc){} //---- End Of Code ----> | ?> 3. Hit Ctrl+space to start code completion - doesn't start 4. When I delete the > sign it works