AW: [plt-scheme] word completion for module based languages

From: Robert Matovinovic (robert.matovinovic at web.de)
Date: Fri Jun 27 15:47:48 EDT 2008

Finally I could test what you have checked in, Robby. Word completion now
shows also all commands of my module language in version 4.0.1
[3m](Yippieh), thank you very much. But unfortunately it works only if one
of the built-in languages are chosen but not when I switch to my module
language. So something is still missing which is important to me. Maybe
there is something I have to add to my module. I don't ask for language
specific filtering of the word completion, the whole list would be alright,
just that it works also with a module language.

I also like to use the debugger with my module language, but it doesn't. Is
there an easy fix?

Thanks again for your great work
Robert

-----Ursprüngliche Nachricht-----
Von: robby.findler at gmail.com [mailto:robby.findler at gmail.com] Im Auftrag von
Robby Findler
Gesendet: Mittwoch, 18. Juni 2008 07:23
An: Robert Matovinovic
Cc: plt-scheme at list.cs.brown.edu
Betreff: Re: [plt-scheme] word completion for module based languages


I've checked in something so that the completion now should complete all of
the indexed variables (it now works for mysterx, when it didn't before).

Thanks,
Robby

On Tue, Jun 17, 2008 at 10:22 AM, Robert Matovinovic
<robert.matovinovic at web.de> wrote:
> Hello,
> some time ago I opened this thread and could fix part of my problems 
> thanks you to all the replies.
>
> Since then I looked at line 2811 of framework/text.ss which Robby 
> mentioned in the mail below, because autocompletion does only seem to 
> work for something like scheme/base. I tested that Robby is right in 
> that the list which is prepared for the completions holds actually 
> every word that appears in any of the manual's indicies. But on the 
> way before it is shown something happens to the content so that a lot 
> of it doesn't show up. I wasn't able to find where this happens. But 
> perhaps this is helpful to somebody who knows better than me to fix 
> it.
>
> Robert
>
> -----Ursprüngliche Nachricht-----
> Von: plt-scheme-bounces at list.cs.brown.edu
> [mailto:plt-scheme-bounces at list.cs.brown.edu] Im Auftrag von Robert 
> Matovinovic
> Gesendet: Mittwoch, 21. Mai 2008 18:56
> An: plt-scheme at list.cs.brown.edu
> Betreff: AW: [plt-scheme] word completion for module based languages
>
>
> I see, I didn't make indicies in my manual what should fix my problem. 
> Thank you. Robert
>
> -----Ursprüngliche Nachricht-----
> Von: robby.findler at gmail.com [mailto:robby.findler at gmail.com] Im 
> Auftrag von Robby Findler
> Gesendet: Mittwoch, 21. Mai 2008 16:00
> An: Robert Matovinovic
> Cc: Matthew Flatt
> Betreff: Re: [plt-scheme] word completion for module based languages
>
>
> Ah. Well, from what I can tell, the autocompletion code should be 
> completing every word that appears in any of the manual's indicies.
>
> Matthew: does that look right to you? (line 2811 of framework/text.ss)
>
> I see that there is a bug with completions that they aren't picking up 
> the characters before the insertion point to being the completion. 
> I'll look into that.
>
> Robby
>
> On Wed, May 21, 2008 at 4:52 AM, Robert Matovinovic 
> <robert.matovinovic at web.de> wrote:
>> Just to clarify, I don't ask for word completion of definitions in 
>> the editing buffer, but for a language or a language extension which 
>> is loaded by the language menu of DrScheme. My language supports an 
>> interface for another software which uses a scheme dialect and has a 
>> lot of extensions for programming that software. These numerous 
>> extensions have quiet long names, which are difficult to remember 
>> exactly. So I want to provide the word completion for them. Robert
>>
>> -----Ursprüngliche Nachricht-----
>> Von: plt-scheme-bounces at list.cs.brown.edu
>> [mailto:plt-scheme-bounces at list.cs.brown.edu] Im Auftrag von Robby 
>> Findler
>> Gesendet: Mittwoch, 21. Mai 2008 03:15
>> An: Eli Barzilay
>> Cc: Robert Matovinovic; plt-scheme at list.cs.brown.edu
>> Betreff: Re: [plt-scheme] word completion for module based languages
>>
>>
>> On Tue, May 20, 2008 at 7:53 PM, Eli Barzilay <eli at barzilay.org>
>> wrote:
>>> On May 20, Robert Matovinovic wrote:
>>>> I currently use DrScheme, version 3.99.0.25-svn17may2008 on Windows 
>>>> XP to add documentation for a module based language which I 
>>>> implemented as a tool.  I started with a simple example using my 
>>>> own modules. The F1 shortcut to get the relevant docs for an item 
>>>> from within the DrScheme window works fine.  But is there a 
>>>> possibility to get only the help documents for the current 
>>>> language?
>>>
>>> It might be possible to do, I'm not sure about the kind of 
>>> information that DrScheme has when it starts a help search.  (FWIW, 
>>> the `help' form (in mzscheme) finds the right place for any 
>>> binding.)
>>>
>>> (Skipping other issues that I cannot provide a helpful reply...)
>>
>> DrScheme used to be able to do that and I believe it will be able to 
>> do that again in the future. I believe Eli and I have discussed this, 
>> so I'm a little surprised by his reply, but one way or the other, we 
>> should have that capability back before v4.0.
>>
>> As far as word completion goes, it currently does not consider the 
>> buffer where you're editing. Others have asked for that too, so I 
>> hope to get to it at some point.
>>
>> Robby
>> _________________________________________________
>>  For list-related administrative tasks: 
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
>> _________________________________________________
>>  For list-related administrative tasks: 
>> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>>
>>
>
> _________________________________________________
>  For list-related administrative tasks:  
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
> _________________________________________________
>  For list-related administrative tasks:  
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>



Posted on the users mailing list.