Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 170735

Summary: Code assisted outside the php code block
Product: z_Archived Reporter: Toshihiro Izumi <euthanasia_waltz>
Component: PDTAssignee: Michael Spector <spektom>
Status: CLOSED WORKSFORME QA Contact: Yossi Luson <yossi.l>
Severity: normal    
Priority: P1 Keywords: plan
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Toshihiro Izumi CLA 2007-01-17 03:18:32 EST
(I20070111)
1. Create new phpfile.
2. Press Ctrl+Space at the beginning of the file.
  |<?php  <= '|' is cursor position
3. PHP code assist list appears.

Other cases:
1. with HTML tag without cr/lf
  <html>|<?php
 =>'Content Assist not available at the current location' error message on status line. HTML tag list is expected at this location.
2. with HTML tag, before cr/lf
   <html>|
   <?php
 =>HTML tag list appears. (This is OK)
3. with HTML tag, after cr/lf
   <html>
  |<?php
 =>PHP code assist list appears. HTML tag list is expected.
4. end of file without cr/lf
  ?>|
 =>Nothing happen. HTML tag list is expected.
5. end of file after cr/lf
   ?>
  |
 =>HTML tag list appears. (This is OK)
6. inside php tag
  <?p|hp ...for example
 =>PHP code assist list appears...
Comment 1 Michael Spector CLA 2007-02-16 16:13:49 EST
Can't recreate with HEAD. This bug was probably fixed already.
Comment 2 Gadi Goldbarg CLA 2007-02-18 10:34:55 EST
Yosi.l: works for me as well - closing this bug