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 opening tag <?php not completed but inserted after | ||
---|---|---|---|
Product: | php | Reporter: | schkovich <schkovich> |
Component: | Editor | Assignee: | Petr Pisl <ppisl> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | fzamboj |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Screenshot ilustrating problem
code completion of open php tag |
Description
schkovich
2009-07-30 08:55:58 UTC
Created attachment 85512 [details]
Screenshot ilustrating problem
reassigning to default owner In 6.9 it does not work at all. Is code completion open/closing PHP tags abandoned? Created attachment 95285 [details]
code completion of open php tag
Code completion is there again in build 201004090201 but unfortunately the same old is there as well. :) well, now in Product Version: NetBeans IDE Dev (Build 100412-72e08cda4754) you get all possible functions and variables (what means pretty much everything) after <? that's correct behavior. On the other hand, code completion to <?php or <?= is missing there. Radek, will you add this possibility or not? thanks. (In reply to comment #6) > well, now in > Product Version: NetBeans IDE Dev (Build 100412-72e08cda4754) > > you get all possible functions and variables (what means pretty much > everything) after <? > > that's correct behavior. On the other hand, code completion to <?php or <?= is > missing there. Radek, will you add this possibility or not? thanks. Well, that will depend on project settings: If Allow short tags is not checked in the project properties then the only legitimate option will be <?php. Otherwise, there are more possible options as you pointed out. :) To be honest, I can live without having code competition for <?php and <?=, but if it is there then it should function correctly. oh, yes. you're right, sorry ... my mistake. yep, this is a bug. reproducible in Product Version: NetBeans IDE Dev (Build 2010-04-12_09-04-28 ) 1. disable short tags 2. use code completion after <? produces <?<?= or <?<?php batch reassigning Fixed in the web-main. Integrated into 'main-golden', will be available in build *201010080000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/36dc230b3b30 User: Petr Pisl <ppisl@netbeans.org> Log: #169533 - PHP opening tag <?php not completed but inserted after |