Hi,
Yet another question about autocomplete :-)
In Pharo 9.0, when you type the first characters of a method selector and then choose one of them and press tab or enter, the characters that you typed in stay in the editor, but also the method selector is repeated in full. Thus, you have to go back and remove unnecessary characters to avoid repetition.
Pharo 8.0 is better in this sense, the characters that you typed are “typed over“ by the selection that you make, so the editing is smooth.
Is there anything that can be done?
Best wishes,
Tomaz
Hi Tomaz,
I’m interested in this kind of feedback.
I cannot however reproduce the issue, maybe you’re doing something else?
Below a GIF showing what happens to me in haro-9.0.0+build.1565
Cheers,
Guille
El 15 nov 2021, a las 21:27, tomazz.turk@gmail.com escribió:
Hi,
Yet another question about autocomplete :-)
In Pharo 9.0, when you type the first characters of a method selector and then choose one of them and press tab or enter, the characters that you typed in stay in the editor, but also the method selector is repeated in full. Thus, you have to go back and remove unnecessary characters to avoid repetition.
Pharo 8.0 is better in this sense, the characters that you typed are “typed over“ by the selection that you make, so the editing is smooth.
Is there anything that can be done?
Best wishes,
Tomaz
Hi Guille,
I have the same Pharo build, 64-bit on 64-bit Windows 10:
I tried it on three different computers with Win10 with the same image.
If I get a new image, it behaves the same.
Thanks and best wishes,
Tomaz
------ Original Message ------
From: "Guillermo Polito" guillermopolito@gmail.com
To: "Any question about pharo is welcome" pharo-users@lists.pharo.org
Sent: 16. 11. 2021 09:59:53
Subject: [Pharo-users] Re: Autocomplete typing
Hi Tomaz,
I’m interested in this kind of feedback.
I cannot however reproduce the issue, maybe you’re doing something
else?
Below a GIF showing what happens to me in haro-9.0.0+build.1565
Cheers,
Guille
El 15 nov 2021, a las 21:27, tomazz.turk@gmail.com escribió:
Hi,
Yet another question about autocomplete
:-)
In Pharo 9.0, when you type the first characters of a method selector
and then choose one of them and press tab or enter, the characters
that you typed in stay in the editor, but also the method selector is
repeated in full. Thus, you have to go back and remove unnecessary
characters to avoid repetition.
Pharo 8.0 is better in this sense, the characters that you typed are
“typed over“ by the selection that you make, so the editing is smooth.
Is there anything that can be done?
Best wishes,
Tomaz
Thanks Tomaz!
I could reproduce it
The problem seems to be very specific: when typing a keyword message with many keywords.
Imagine I’m trying to autocomplete #asStringOn:delimiter:.
Case 1) if we do not type the colon, it works ok
1 asStringOn
=complete=>
1 asStringOn: delimiter: .
Case 2) if we type the colon, it will complete duplicating the first keyword altogether
1 asStringOn:
=complete=>
1 asStringOnasStringOn: delimiter:
Case 3) if we start typing the second keyword, it will complete duplicating the first keyword separated by a colon
1 asStringOn:de
=complete=>
1 asStringOn:asStringOn: delimiter:
We can start by writing some tests based on this :)
Similar problems happens with more than one keyword.
Thanks again,
G
El 16 nov 2021, a las 15:00, Tomaž Turk tomaz.turk@ef.uni-lj.si escribió:
Hi Guille,
I have the same Pharo build, 64-bit on 64-bit Windows 10:
<autocomplete.gif>
I tried it on three different computers with Win10 with the same image. If I get a new image, it behaves the same.
Thanks and best wishes,
Tomaz
------ Original Message ------
From: "Guillermo Polito" <guillermopolito@gmail.com mailto:guillermopolito@gmail.com>
To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org mailto:pharo-users@lists.pharo.org>
Sent: 16. 11. 2021 09:59:53
Subject: [Pharo-users] Re: Autocomplete typing
Hi Tomaz,
I’m interested in this kind of feedback.
I cannot however reproduce the issue, maybe you’re doing something else?
Below a GIF showing what happens to me in haro-9.0.0+build.1565
<completion.gif>
Cheers,
Guille
El 15 nov 2021, a las 21:27, tomazz.turk@gmail.com mailto:tomazz.turk@gmail.com escribió:
Hi,
Yet another question about autocomplete <emoticon_smiley.png>
In Pharo 9.0, when you type the first characters of a method selector and then choose one of them and press tab or enter, the characters that you typed in stay in the editor, but also the method selector is repeated in full. Thus, you have to go back and remove unnecessary characters to avoid repetition.
Pharo 8.0 is better in this sense, the characters that you typed are “typed over“ by the selection that you make, so the editing is smooth.
Is there anything that can be done?
Best wishes,
Tomaz
El 17 nov 2021, a las 11:39, Guillermo Polito guillermopolito@gmail.com escribió:
Thanks Tomaz!
I could reproduce it
The problem seems to be very specific: when typing a keyword message with many keywords.
Imagine I’m trying to autocomplete #asStringOn:delimiter:.
Case 1) if we do not type the colon, it works ok
1 asStringOn
=complete=>
1 asStringOn: delimiter: .
Case 2) if we type the colon, it will complete duplicating the first keyword altogether
1 asStringOn:
=complete=>
1 asStringOnasStringOn: delimiter:
Case 3) if we start typing the second keyword, it will complete duplicating the first keyword separated by a colon
1 asStringOn:de
=complete=>
1 asStringOn:asStringOn: delimiter:
We can start by writing some tests based on this :)
Similar problems happens with more than one keyword.
Thanks again,
G
El 16 nov 2021, a las 15:00, Tomaž Turk <tomaz.turk@ef.uni-lj.si mailto:tomaz.turk@ef.uni-lj.si> escribió:
Hi Guille,
I have the same Pharo build, 64-bit on 64-bit Windows 10:
<autocomplete.gif>
I tried it on three different computers with Win10 with the same image. If I get a new image, it behaves the same.
Thanks and best wishes,
Tomaz
------ Original Message ------
From: "Guillermo Polito" <guillermopolito@gmail.com mailto:guillermopolito@gmail.com>
To: "Any question about pharo is welcome" <pharo-users@lists.pharo.org mailto:pharo-users@lists.pharo.org>
Sent: 16. 11. 2021 09:59:53
Subject: [Pharo-users] Re: Autocomplete typing
Hi Tomaz,
I’m interested in this kind of feedback.
I cannot however reproduce the issue, maybe you’re doing something else?
Below a GIF showing what happens to me in haro-9.0.0+build.1565
<completion.gif>
Cheers,
Guille
El 15 nov 2021, a las 21:27, tomazz.turk@gmail.com mailto:tomazz.turk@gmail.com escribió:
Hi,
Yet another question about autocomplete <emoticon_smiley.png>
In Pharo 9.0, when you type the first characters of a method selector and then choose one of them and press tab or enter, the characters that you typed in stay in the editor, but also the method selector is repeated in full. Thus, you have to go back and remove unnecessary characters to avoid repetition.
Pharo 8.0 is better in this sense, the characters that you typed are “typed over“ by the selection that you make, so the editing is smooth.
Is there anything that can be done?
Best wishes,
Tomaz