<?php tags and bookmarks [message #51222] |
Thu, 13 September 2007 15:21  |
Eclipse User |
|
|
|
Originally posted by: ryan.gametrailers.com
I believe this is a code assist issue but I'm pretty new to eclipse and pdt
and I can't figure out how to stop auto-inserting "<?php ?>" every time I
type "<?", which makes it very frustrating to use the shorthand echo syntax
"<?="
I've got the All-in-one S20070826-M3
Anyone know how to disable that feature?
Also, unrelatedly, is there a trick to enabling bookmarks? The option to add
them is always greyed out in every file I've opened.
Thanks a lot for any help!
- Ryan
|
|
|
Re: <?php tags and bookmarks [message #51248 is a reply to message #51222] |
Thu, 13 September 2007 15:53   |
Eclipse User |
|
|
|
..oO(Ryan)
>I believe this is a code assist issue but I'm pretty new to eclipse and pdt
>and I can't figure out how to stop auto-inserting "<?php ?>" every time I
>type "<?", which makes it very frustrating to use the shorthand echo syntax
>"<?="
Why do you use short open tags at all? It's not recommended, because
it's unreliable (could be disabled on the server) and may cause problems
if you use PHP to create XML documents. Portable code shouldn't use it.
Micha
|
|
|
Re: <?php tags and bookmarks [message #51274 is a reply to message #51248] |
Thu, 13 September 2007 16:03   |
Eclipse User |
|
|
|
Originally posted by: ryan.gametrailers.com
Micha,
I realize it's not recommended, but this code doesn't need to be portable
(at least to anywhere I don't have control over the config) and generating
XML isn't a concen either so it's a useful shortcut. Do you know if there's
a way to turn that off?
|
|
|
Re: <?php tags and bookmarks [message #51723 is a reply to message #51274] |
Fri, 14 September 2007 05:23   |
Eclipse User |
|
|
|
Originally posted by: pavel.kunc.google.com
Hi,
the latest RC1 release doesn't put <?php ?> but <? ?> by default... Which
is what you need but for me it's really unconfortable.
And I also would like to know if there's some settings for it.
Pavel
On Thu, 13 Sep 2007 22:03:53 +0200, Ryan <ryan@gametrailers.com> wrote:
> Micha,
> I realize it's not recommended, but this code doesn't need to be portable
> (at least to anywhere I don't have control over the config) and
> generating
> XML isn't a concen either so it's a useful shortcut. Do you know if
> there's
> a way to turn that off?
>
>
--
|
|
|
|
Re: <?php tags and bookmarks [message #52786 is a reply to message #51816] |
Tue, 18 September 2007 18:57   |
Eclipse User |
|
|
|
Originally posted by: ryan.gametrailers.com
Thanks! I didn't have that option in the version I had at the time, but
upgrading to the new release added it in.
Any idea about not being able to add bookmarks? It's still greyed out for
some reason
"bono" <bono@gmail.com> wrote in message
news:cb4d89048100343f6c14b2ad8f3055c6$1@www.eclipse.org...
> you can enable and disable it using the preference page Preference ->
> PHP -> Editor -> Typing -> Close PHP tag
> Good luck
>
|
|
|
Re: <?php tags and bookmarks [message #52812 is a reply to message #52786] |
Tue, 18 September 2007 21:56   |
Eclipse User |
|
|
|
Originally posted by: ryan.gametrailers.com
Nevermind! I wasn't in a project and didn't realize I need to be. Thanks for
everyone's help
"Ryan" <ryan@gametrailers.com> wrote in message
news:fcpl4i$b62$1@build.eclipse.org...
> Thanks! I didn't have that option in the version I had at the time, but
> upgrading to the new release added it in.
>
> Any idea about not being able to add bookmarks? It's still greyed out for
> some reason
>
> "bono" <bono@gmail.com> wrote in message
> news:cb4d89048100343f6c14b2ad8f3055c6$1@www.eclipse.org...
>> you can enable and disable it using the preference page Preference ->
>> PHP -> Editor -> Typing -> Close PHP tag
>> Good luck
>>
>
>
|
|
|
Re: <?php tags and bookmarks [message #52995 is a reply to message #51816] |
Wed, 19 September 2007 08:17  |
Eclipse User |
|
|
|
Originally posted by: pavel.kunc.google.com
Hi,
but this is only for on/off PHP tags. But does anybody suffers that in the
stable 1.0 relase by typing <? puts <? ?> instead <?php ?>??
Any way how to set PDT to put <?php ?> again? Or do only I suffer this?
Pavel
On Fri, 14 Sep 2007 19:31:19 +0200, bono <bono@gmail.com> wrote:
> you can enable and disable it using the preference page Preference ->
> PHP -> Editor -> Typing -> Close PHP tag Good luck
>
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
|
|
|
Powered by
FUDForum. Page generated in 0.04326 seconds