Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » Autocompletes array(|
Autocompletes array(| [message #95302] Sat, 14 March 2009 15:02 Go to next message
Kaste is currently offline KasteFriend
Messages: 4
Registered: July 2009
Junior Member
Hi all!

1. On latest 2.1.0 All-In-One Windows build.
2. New project, new file.
3. Type:
'''
$array = array(
'''

PDT closes the bracket and tries to 'assist' resulting in an error.

!ENTRY org.eclipse.dltk.ui 2 0 2009-03-14 15:26:24.984
!MESSAGE The 'org.eclipse.php.ui.PHPCompletionProposalComputer' proposal
computer from the 'org.eclipse.php.ui' plug-in did not complete normally.
The extension has thrown a runtime exception.
!STACK 0
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.<init>(Unknown Source)
at
org.eclipse.php.internal.core.util.text.TextSequenceUtilitie s$SimpleTextSequence.toString(TextSequenceUtilities.java:149 )
at
org.eclipse.php.internal.core.codeassist.OldPHPCompletionEng ine.calcCompletionOption(OldPHPCompletionEngine.java:391)
at
org.eclipse.php.internal.core.codeassist.OldPHPCompletionEng ine.complete(OldPHPCompletionEngine.java:200)
at org.eclipse.dltk.internal.core.Openable.codeComplete(Openabl e.java:488)
at
org.eclipse.dltk.internal.core.SourceModule.codeComplete(Sou rceModule.java:121)
at
org.eclipse.dltk.internal.core.SourceModule.codeComplete(Sou rceModule.java:111)
at
org.eclipse.dltk.ui.text.completion.ScriptCompletionProposal Computer.computeScriptCompletionProposals(ScriptCompletionPr oposalComputer.java:210)
<SNIP>

After an '(' there is nothing to autocomplete, I guess.

Regards
Kaste
Re: Autocompletes array(| [message #95316 is a reply to message #95302] Sat, 14 March 2009 22:23 Go to previous message
Kaste is currently offline KasteFriend
Messages: 4
Registered: July 2009
Junior Member
It works on the I200903120932-build.

Sorry for the noise
Kaste
Previous Topic:PDT 2.0 and Ganymede SR2
Next Topic:Annoying message "CLI has stopped working" in Vista
Goto Forum:
  


Current Time: Thu Apr 25 14:51:44 GMT 2024

Powered by FUDForum. Page generated in 0.02622 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top