server/Analyzer.scala ReloadFilesReq Java only generates no reply

61 views
Skip to first unread message

richard emberson

unread,
Oct 15, 2012, 9:03:20 PM10/15/12
to ens...@googlegroups.com

In the ENSIME file server/Analyzer.scala, the case
handling ReloadFilesReq, if there are only Java files
then NO reply is generated.

project ! RPCResultEvent(toWF(true), callId)

is called ONLY if there are scala files in the list of
files to typecheck.

Richard

--
Quis custodiet ipsos custodes

Aemon Cannon

unread,
Oct 15, 2012, 9:04:21 PM10/15/12
to ens...@googlegroups.com
Thanks richard, 

I'm keeping track of these bugs as you send them.

richard emberson

unread,
Nov 18, 2012, 12:24:57 PM11/18/12
to ens...@googlegroups.com
Running emacs with Ensime and entering the search terms:
"java" "io" "File"
I get no results, not "java.io.File" as shown
in the user manual
aemoncannon.github.com/ensime/index.html/

The search seems to only display results from the
project code, not from reference source roots.
Is this a "real" example that one can expect to
get?

Aemon Cannon

unread,
Dec 6, 2012, 12:36:03 AM12/6/12
to ens...@googlegroups.com
Hmm, works for me in latest.

richard emberson

unread,
Dec 6, 2012, 8:45:56 PM12/6/12
to ens...@googlegroups.com
With Ensime version 0.8.2
here is the output of the Ensime server
when I search for "java" "io"

Handling RPC: (swank:public-symbol-search ("java" "io") 200)
Received keywords: List(java, io)
Handling query: +tags:java* +tags:io*
Writing: (:return (:ok ()) 6)

Is there anything in the Ensime configuration file that
is required for it to search across Java libraries?

Richard

On 12/05/2012 09:36 PM, Aemon Cannon wrote:
> Hmm, works for me in latest.
>
>
> On Sun, Nov 18, 2012 at 12:24 PM, richard emberson
> <richard....@gmail.com <mailto:richard....@gmail.com>> wrote:
>
> Running emacs with Ensime and entering the search terms:
> "java" "io" "File"
> I get no results, not "java.io.File" as shown
> in the user manual
> aemoncannon.github.com/ensime/__index.html/
> <http://aemoncannon.github.com/ensime/index.html/>

Aemon Cannon

unread,
Dec 6, 2012, 8:59:23 PM12/6/12
to ens...@googlegroups.com
Hey Richard, can you send me a paste of your inferior-ensime-buffer?
I'm guessing the libs aren't getting indexed for some reason..

richard emberson

unread,
Dec 7, 2012, 12:13:00 AM12/7/12
to ens...@googlegroups.com
What is an inferior-ensime-buffer?
My Ensime client for Vim is written in VimL (Vim's
scripting language).
When I start the Ensime server from the Vim process, I
do (optionally) pipe its output to a log file.
Would that be the same thing? If so, its attached.

Richard

On 12/06/2012 05:59 PM, Aemon Cannon wrote:
> Hey Richard, can you send me a paste of your inferior-ensime-buffer?
> I'm guessing the libs aren't getting indexed for some reason..
>
>
> On Thu, Dec 6, 2012 at 8:45 PM, richard emberson
> <richard....@gmail.com <mailto:richard....@gmail.com>> wrote:
>
> With Ensime version 0.8.2
> here is the output of the Ensime server
> when I search for "java" "io"
>
> Handling RPC: (swank:public-symbol-search ("java" "io") 200)
> Received keywords: List(java, io)
> Handling query: +tags:java* +tags:io*
> Writing: (:return (:ok ()) 6)
>
> Is there anything in the Ensime configuration file that
> is required for it to search across Java libraries?
>
> Richard
>
>
> On 12/05/2012 09:36 PM, Aemon Cannon wrote:
>
> Hmm, works for me in latest.
>
>
> On Sun, Nov 18, 2012 at 12:24 PM, richard emberson
> <richard....@gmail.com <mailto:richard....@gmail.com>
> <mailto:richard.emberson@__gmail.com
> <mailto:richard....@gmail.com>>> wrote:
>
> Running emacs with Ensime and entering the search terms:
> "java" "io" "File"
> I get no results, not "java.io.File" as shown
> in the user manual
> aemoncannon.github.com/ensime/____index.html/
> <http://aemoncannon.github.com/ensime/__index.html/>
> <http://aemoncannon.github.__com/ensime/index.html/
ENSIME_LOG

richard emberson

unread,
Dec 8, 2012, 9:06:35 PM12/8/12
to ens...@googlegroups.com
Yea, works for me. I had disable-index-on-startup set to
'nil' but before the fix in ProjectConfig.getBool this
resulted in 'true'.

Richard

On 12/05/2012 09:36 PM, Aemon Cannon wrote:
> Hmm, works for me in latest.
>
>
> On Sun, Nov 18, 2012 at 12:24 PM, richard emberson
> <richard....@gmail.com <mailto:richard....@gmail.com>> wrote:
>
> Running emacs with Ensime and entering the search terms:
> "java" "io" "File"
> I get no results, not "java.io.File" as shown
> in the user manual
> aemoncannon.github.com/ensime/__index.html/
> <http://aemoncannon.github.com/ensime/index.html/>

Aemon Cannon

unread,
Dec 11, 2012, 10:36:57 AM12/11/12
to ens...@googlegroups.com
Ah. Great : )
Reply all
Reply to author
Forward
0 new messages