Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

kilon
Three issues here

1) Cant find "Partial" in code completion settings

2) Cant find any tool named Spotlight

3) Code completion no longer uses tab

And generally I cannot reproduce this bug. Is this still relevant ?
Reply | Threaded
Open this post in threaded view
|

Re: Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

Camillo Bruni-3
These things are all a bit hidden :(

On 2013-10-15, at 21:22, kilon <[hidden email]> wrote:
> Three issues here
>
> 1) Cant find "Partial" in code completion settings
        => Complete common prefixes
>
> 2) Cant find any tool named Spotlight
        => shift + enter
       
> 3) Code completion no longer uses tab
        => Completion settings: Popup appears with this shortcut


signature.asc (457 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

kilon
I still don't get it, I cant find any problem with the code completion in spotlight. What I am missing ?

It refers to an editor , which editor is that ?
Camillo Bruni-3 wrote
These things are all a bit hidden :(

On 2013-10-15, at 21:22, kilon <[hidden email]> wrote:
> Three issues here
>
> 1) Cant find "Partial" in code completion settings
        => Complete common prefixes
>
> 2) Cant find any tool named Spotlight
        => shift + enter
       
> 3) Code completion no longer uses tab
        => Completion settings: Popup appears with this shortcut



signature.asc (457 bytes) <http://forum.world.st/attachment/4714636/0/signature.asc>
Reply | Threaded
Open this post in threaded view
|

Re: Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

Ben Coman
Refer to attached pic.  When the Spotlight text jumps from 'Conf' to 'Configuration' by pressing <tab>, the list is not updated. 
Actually, why does the auto-completion jump from 'Conf' to 'Configuration' and not stop at 'Config' ?

cheers -ben

kilon wrote:
I still don't get it, I cant find any problem with the code completion in
spotlight. What I am missing ?

It refers to an editor , which editor is that ? 
Camillo Bruni-3 wrote
  
These things are all a bit hidden :(

On 2013-10-15, at 21:22, kilon &lt;
    

  
[hidden email]
    

  
&gt; wrote:
    
Three issues here

1) Cant find "Partial" in code completion settings
      
	=> Complete common prefixes
    
2) Cant find any tool named Spotlight
      
	=> shift + enter
	
    
3) Code completion no longer uses tab
      
	=> Completion settings: Popup appears with this shortcut



signature.asc (457 bytes)
&lt;http://forum.world.st/attachment/4714636/0/signature.asc&gt;
    





--
View this message in context: http://forum.world.st/Outdated-Bug-7245-Autocomplete-highlighting-out-of-sync-w-editor-after-partial-match-tp4714631p4714667.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.


  


Case-7245a.png (108K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

Ben Coman
An additional problem is referring to old identifiers that are no longer in the image.
1. Upack fresh #30487 build
2. Create a new package 'MyXXXTest'
3. Delete package 'MyYYYTest'
4. Hit shift-enter to start Spotlight
5. Type 'My'
Observe that MyYYYTest appears in the list.  It should not since it does not exist.
Same behaviour if you create and immediately delete a class e.g. MyZ1Test

Not sure whether that should be a separate Case.
cheers -ben

[hidden email] wrote:
Refer to attached pic.  When the Spotlight text jumps from 'Conf' to 
'Configuration' by pressing <tab>, the list is not updated. 
Actually, why does the auto-completion jump from 'Conf' to 'Configuration' and 
not stop at 'Config' ?

cheers -ben

kilon wrote:
> I still don't get it, I cant find any problem with the code completion in
> spotlight. What I am missing ?
>
> It refers to an editor , which editor is that ? 
> Camillo Bruni-3 wrote
>   
>> These things are all a bit hidden :(
>>
>> On 2013-10-15, at 21:22, kilon &lt;
>>     
>
>   
>> [hidden email]
>>     
>
>   
>> &gt; wrote:
>>     
>>> Three issues here
>>>
>>> 1) Cant find "Partial" in code completion settings
>>>       
>> 	=> Complete common prefixes
>>     
>>> 2) Cant find any tool named Spotlight
>>>       
>> 	=> shift + enter
>> 	
>>     
>>> 3) Code completion no longer uses tab
>>>       
>> 	=> Completion settings: Popup appears with this shortcut
>>
>>
>>
>> signature.asc (457 bytes)
>> &lt;http://forum.world.st/attachment/4714636/0/signature.asc&gt;
>>     
>
>
>
>
>
> --
> View this message in context: http://forum.world.st/Outdated-Bug-7245-Autocomplete-highlighting-out-of-sync-w-editor-after-partial-match-tp4714631p4714667.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>
>
>   

  




Reply | Threaded
Open this post in threaded view
|

Re: Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

Camillo Bruni-3
On 2013-10-16, at 07:24, [hidden email] wrote:
> An additional problem is referring to old identifiers that are no longer in the image.
Yeah, so that is part of a long-standing bug in the completion framework...


> Not sure whether that should be a separate Case.

well it should be :) but chances are low that this will ever be fixed.
The completion framework is a battlefield of its own :P

> cheers -ben
>
> [hidden email] wrote:
>> Refer to attached pic.  When the Spotlight text jumps from 'Conf' to
>> 'Configuration' by pressing <tab>, the list is not updated.
>> Actually, why does the auto-completion jump from 'Conf' to 'Configuration' and
>> not stop at 'Config' ?

The code currently only looks at the first 10 entries or so for the tab completion.


signature.asc (457 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

Stéphane Ducasse
In reply to this post by Ben Coman
We would love that somebody have a look and make this working really well.
So if somebody wants to have a look. 
This is a kind of work that we want to do in Pharo 40: better tools
Stef

An additional problem is referring to old identifiers that are no longer in the image.
1. Upack fresh #30487 build
2. Create a new package 'MyXXXTest'
3. Delete package 'MyYYYTest'
4. Hit shift-enter to start Spotlight
5. Type 'My'
Observe that MyYYYTest appears in the list.  It should not since it does not exist.
Same behaviour if you create and immediately delete a class e.g. MyZ1Test

Not sure whether that should be a separate Case.
cheers -ben

[hidden email] wrote:
Refer to attached pic.  When the Spotlight text jumps from 'Conf' to 
'Configuration' by pressing <tab>, the list is not updated. 
Actually, why does the auto-completion jump from 'Conf' to 'Configuration' and 
not stop at 'Config' ?

cheers -ben

kilon wrote:
> I still don't get it, I cant find any problem with the code completion in
> spotlight. What I am missing ?
>
> It refers to an editor , which editor is that ? 
> Camillo Bruni-3 wrote
>   
>> These things are all a bit hidden :(
>>
>> On 2013-10-15, at 21:22, kilon &lt;
>>     
>
>   
>> [hidden email]
>>     
>
>   
>> &gt; wrote:
>>     
>>> Three issues here
>>>
>>> 1) Cant find "Partial" in code completion settings
>>>       
>> 	=> Complete common prefixes
>>     
>>> 2) Cant find any tool named Spotlight
>>>       
>> 	=> shift + enter
>> 	
>>     
>>> 3) Code completion no longer uses tab
>>>       
>> 	=> Completion settings: Popup appears with this shortcut
>>
>>
>>
>> signature.asc (457 bytes)
>> &lt;http://forum.world.st/attachment/4714636/0/signature.asc&gt;
>>     
>
>
>
>
>
> --
> View this message in context: http://forum.world.st/Outdated-Bug-7245-Autocomplete-highlighting-out-of-sync-w-editor-after-partial-match-tp4714631p4714667.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
>
>
>   

  



<Mail Attachment.png>


Reply | Threaded
Open this post in threaded view
|

Re: Outdated Bug [7245] Autocomplete highlighting out of sync w editor after partial match

kilon
In reply to this post by kilon
"We would love that somebody have a look and make this working really well.
So if somebody wants to have a look. 
This is a kind of work that we want to do in Pharo 40: better tools
Stef"

I will take a look at it and see what I can do. Spotlight is really an important tool and its a pity its hidden in a shortcut and is not part of the world menu. I will try to spent some serious time with it and if I can even enhance it here and there. But I will have questions about it , so help me to help you ;)