Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
swank:call-completion
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  9 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
richard emberson  
View profile  
 More options Apr 30 2012, 1:17 pm
From: richard emberson <richard.ember...@gmail.com>
Date: Mon, 30 Apr 2012 10:17:04 -0700
Local: Mon, Apr 30 2012 1:17 pm
Subject: swank:call-completion
In the documentation and comments for the protocol
swank:call-completion
are references to
swank:scope-completion
and
swank:type-completion
which can be used to get the type id that is used
to get method/function information.

What should be used instead of
swank:scope-completion
and
swank:type-completion
since they do not exist?

Richard Emberson
--
Quis custodiet ipsos custodes


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aemon Cannon  
View profile  
 More options Apr 30 2012, 1:37 pm
From: Aemon Cannon <aemoncan...@gmail.com>
Date: Mon, 30 Apr 2012 13:37:35 -0400
Local: Mon, Apr 30 2012 1:37 pm
Subject: Re: swank:call-completion

swank:completions is now the preferred method.

On Mon, Apr 30, 2012 at 1:17 PM, richard emberson <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "completion: object space method" by richard emberson
richard emberson  
View profile  
 More options Apr 30 2012, 6:18 pm
From: richard emberson <richard.ember...@gmail.com>
Date: Mon, 30 Apr 2012 15:18:49 -0700
Local: Mon, Apr 30 2012 6:18 pm
Subject: completion: object space method
If I have the following

val myStr: String = ...
val myStrSize = myStr.si<c-x><c-o>

object-dot-method, then Ensime completion produces "size" so I get

val myStrSize = myStr.size

But, if I have

val myStr: String = ...
val myStrSize = myStr si<c-x><c-o>

object-space-method, Ensime does not find the String method size.

Is this an issue with Ensime or with the front-end
I am using (Envim) that commmunicates with Ensime?

Thanks

--
Quis custodiet ipsos custodes


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aemon Cannon  
View profile  
 More options Apr 30 2012, 6:55 pm
From: Aemon Cannon <aemoncan...@gmail.com>
Date: Mon, 30 Apr 2012 18:55:37 -0400
Local: Mon, Apr 30 2012 6:55 pm
Subject: Re: completion: object space method

Richard,

Ensime *should* handle this case transparently. Can I see the RPC
call/response for both cases?

On Mon, Apr 30, 2012 at 6:18 PM, richard emberson <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
richard emberson  
View profile  
 More options Apr 30 2012, 7:16 pm
From: richard emberson <richard.ember...@gmail.com>
Date: Mon, 30 Apr 2012 16:16:03 -0700
Local: Mon, Apr 30 2012 7:16 pm
Subject: Re: completion: object space method

Attached is first the case:

val s = "hi"
val i = s.si

and the second is for

val s = "hi"
val i = s si

Richard

On 04/30/2012 03:55 PM, Aemon Cannon wrote:

--
Quis custodiet ipsos custodes

  RPC_ONE
29K Download

  RPC_TWO
2K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
richard emberson  
View profile  
 More options Apr 30 2012, 7:21 pm
From: richard emberson <richard.ember...@gmail.com>
Date: Mon, 30 Apr 2012 16:21:30 -0700
Local: Mon, Apr 30 2012 7:21 pm
Subject: Re: completion: object space method
Aemon,

Looks like in the second case, object-space-method, only the base
class/trait methods are being returned.

Richard

On 04/30/2012 03:55 PM, Aemon Cannon wrote:

--
Quis custodiet ipsos custodes

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aemon Cannon  
View profile  
 More options May 1 2012, 12:25 am
From: Aemon Cannon <aemoncan...@gmail.com>
Date: Tue, 1 May 2012 00:25:56 -0400
Local: Tues, May 1 2012 12:25 am
Subject: Re: completion: object space method

Richard,

Tried this case in ensime-on-emacs this evening. Seems to work fine. Is it
possible you're not
writing the buffer before doing the lookup?

On Mon, Apr 30, 2012 at 7:21 PM, richard emberson <


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
richard emberson  
View profile  
 More options May 1 2012, 9:52 am
From: richard emberson <richard.ember...@gmail.com>
Date: Tue, 01 May 2012 06:52:28 -0700
Local: Tues, May 1 2012 9:52 am
Subject: Re: completion: object space method
I am going to have to write a bug against Envim.
val i = s.si
returns size
while
val i = s si
returns pattern not found.

Thanks
Richard

On 04/30/2012 09:25 PM, Aemon Cannon wrote:

--
Quis custodiet ipsos custodes

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aemon Cannon  
View profile  
 More options May 1 2012, 11:43 am
From: Aemon Cannon <aemoncan...@gmail.com>
Date: Tue, 1 May 2012 11:43:02 -0400
Local: Tues, May 1 2012 11:43 am
Subject: Re: completion: object space method

Great.
Thanks, Richard

On Tue, May 1, 2012 at 9:52 AM, richard emberson <richard.ember...@gmail.com


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »