Bug 170735 - Code assisted outside the php code block
Summary: Code assisted outside the php code block
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: PDT (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: Michael Spector CLA
QA Contact: Yossi Luson CLA
URL:
Whiteboard:
Keywords: plan
Depends on:
Blocks:
 
Reported: 2007-01-17 03:18 EST by Toshihiro Izumi CLA
Modified: 2020-05-14 11:08 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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