[Pharo-dev] Code Completion in Pharo

2017-03-08 Thread komarlu2
No, I think I see what you mean. Ctrl + -> and won't skip to the next word: it would go like this: token| := |self| |sourceOf|: |range| |stopAt|: |position|. ^ |token| |wordBefore|: |token| |size| I'll see if I find time for this. :) Lukas

Re: [Pharo-dev] Code Completion in Pharo

2017-03-08 Thread Cyril Ferlicot D.
On 08/03/2017 21:43, stepharong wrote: > This is not related to code completion per se. > I would like to able to navigate based on word instead of characters. > > | is a cursor pressing tab or something else move it to the right > >> and also even if this is not strictly about completion >>

Re: [Pharo-dev] Code Completion in Pharo

2017-03-08 Thread stepharong
This is not related to code completion per se. I would like to able to navigate based on word instead of characters. | is a cursor pressing tab or something else move it to the right and also even if this is not strictly about completion selector: navigation | self at: key ifAbsent:

[Pharo-dev] Code Completion in Pharo

2017-03-08 Thread komarlu2
Hi to all, thank you so very much for all of the advices and suggestions to make it work. I'll do my best. Stef, I understand what you mean in the first message but I didn't understand the added part, where you explain the navigation. If you could explain some more, please? The

Re: [Pharo-dev] Code Completion in Pharo

2017-03-04 Thread stepharong
On Sat, 04 Mar 2017 20:07:00 +0100, webwarrior wrote: One thing that is broken in current code completion and needs to be addressed is when you try to edit keyword messages. For example you have: dict at: #foo and you want to add ifAbsent: part. Current implementation

Re: [Pharo-dev] Code Completion in Pharo

2017-03-04 Thread webwarrior
One thing that is broken in current code completion and needs to be addressed is when you try to edit keyword messages. For example you have: dict at: #foo and you want to add ifAbsent: part. Current implementation won't help you, because it works out of context and doesn't recognize the whole

Re: [Pharo-dev] Code Completion in Pharo

2017-02-24 Thread Ben Coman
Another random idea, that you can use something similar to Finder>Examples from within the debugger. That is, a shortcut brings up a small popup dialog kind-of inline with the cursor where you can feed live variables into the pattern matching. cheers -ben On Sat, Feb 25, 2017 at 7:09 AM, Ben

Re: [Pharo-dev] Code Completion in Pharo

2017-02-24 Thread Ben Coman
How would people feel about... when an item is selected from the code completion popup (e.g. with ) that the arguments get expanded as well. These might show up red initially if there is no matching variable and easily show what needs to be edited. cheers -ben On Wed, Feb 15, 2017 at 1:57 AM,

Re: [Pharo-dev] Code Completion in Pharo

2017-02-17 Thread Torsten Bergmann
Beside regular Smalltalk completion I personally would like to see also support for custom templates in the code completion (similar to what Eclipse provides, see https://www.youtube.com/watch?v=zqm4CB1BX6Y).

Re: [Pharo-dev] Code Completion in Pharo

2017-02-17 Thread stepharong
Hi lukas Nice to see you here. I would start to look at the code and clean what is strange. - Did you test the difference between the two algorithms? - Did you play with NECPreferences? - I would like to see what is the difference between the NOC class and the NECclass - I would like to

Re: [Pharo-dev] Code Completion in Pharo

2017-02-16 Thread Guillermo Polito
Hi Lukas, This is cool and an interesting topic. Something that I would like is to see wether we can merge the auto-completion with the AST-based suggestion mechanism (right click on a piece of code -> suggestions), that provides suggestions for refactorings and code browsing. I mean, you can see

[Pharo-dev] Code Completion in Pharo

2017-02-14 Thread komarlu2
Hello to all, I am a student at the Faculty of Information Technology of the Czech Technical University in Prague and I decided to make Code Completion in Pharo the topic of my Bachelor's degree and try to improve it. If you have suggestions on what should change / how to change it so you