Questions tagged [ensime]

Ensime is the ENhanced Scala Interaction Mode for Emacs. It provides a new mode for the well-known editor Emacs, enabling a number of new capabilities when editing Scala source code.

Although often used with Emacs, Ensime is actually able to be coupled with other source code editors, notably Sublime Text 2, allowing advanced Scala editing in those editors as well.

The project can be found at the Ensime github page

The Sublime integration effort can be found at it's own project page

74 questions
1
vote
1 answer

Ensime doesn't show source code of downloaded libraries

I'm currently a happy user of emacs-ensime. Wholly it's a good IDE but there is an issue - I can't view scaladoc when I choose some method of a class in type inspector. I use ivy for dependency management, it downloads libs that I need with source…
Jeriho
  • 7,129
  • 9
  • 41
  • 57
1
vote
1 answer

ensime server fails to start from emacs

I am starting a new project in scala. I use emacs as editor. So far it cannot be more simple. This is the build.sbt name := "Sampler" version := "1.0" scalaVersion := "2.11.8" I have run the ensimeConfig command in sbt (0.13 version) When I start…
1
vote
1 answer

Depending on lots of npm from vscode module…?

I'm just starting out trying to integrate Ensime scala ide-support into vscode. I have pulled out some of the integration parts from my atom package https://github.com/ensime/ensime-atom into https://github.com/ensime/ensime-node. However, when…
Viktor Hedefalk
  • 3,572
  • 3
  • 33
  • 48
1
vote
1 answer

Can't bring up scala-ensime REPL in emacs

I've got ensime and scala-mode2 install in my emacs, and I successfully start the ensime server for my project, and then when I try to bring up scala-repl through M-c + M-v + z, I got the following error: "apply: Wrong type argument: stringp,…
EdwinGuo
  • 1,765
  • 2
  • 21
  • 27
1
vote
1 answer

Couldn't run ensime on Play 2.3 project

I'm new to Emacs. I've installed ensime using M-x package-install and then ensime. By executing ensime command in Emacs and giving the project path (which gen-ensime is executed on it) I get the following error: Debugger entered--Lisp error: (error…
Amir Karimi
  • 5,401
  • 4
  • 32
  • 51
1
vote
2 answers

Using ENSIME with an established Scala project using Maven

I am looking into setting up a development environment using emacs/ENSIME, hacking on this project. The project uses Maven, though, with poms at the top level as well as within the three component subprojects (format, cli, core). I am unable to…
Isaac
  • 15,783
  • 9
  • 53
  • 76
1
vote
1 answer

Building with Ensime deletes all .class files, but doesn't compile anything

I am pretty sure I have setup Emacs, Ensime, SBT, and Scala to work together properly. I am able to edit files and see type errors when I save and have successfully tried using ensime's autorefactoring tools. The problem is when I try to build my…
DJG
  • 6,413
  • 4
  • 30
  • 51
1
vote
1 answer

Installing Ensime for Scala Development on emacs: sbt.ResolveException: unresolved dependency: org.ensime#ensime-sbtt-cmd;0.12: not found

I have placed the line: addSbtPlugin("org.ensime" % "ensime-sbtt-cmd" % "0.12") into my ~/.sbt/0.13/plugins/plugins.sbt But, when I try to run sbt within the root directory of my project, I get: Loading /usr/share/sbt/bin/sbt-launch-lib.bash [info]…
DJG
  • 6,413
  • 4
  • 30
  • 51
1
vote
0 answers

Ensime configuration for scala library

This is the code I'm trying to run: import scalaj.http.Http Http("http://foo.com/search").param("q","monkeys").asString I am getting a red bar inside emacs at line 1, which I believe is ensime telling me that it couldn't find the imported library,…
Alberto Zaccagni
  • 30,779
  • 11
  • 72
  • 106
1
vote
1 answer

sbt cannot resolve ensime-sbt-cmd in a Play2-Scala project

I'm trying to configure Sublime Text 2 to better support working with Scala and Play! 2 Framework by following instructions from http://engineering.panaxiom.co.uk/post/34631917299/sublime-text-2-with-sbt-and-play-2. (I made just one change: I…
Matheus Moreira
  • 2,338
  • 4
  • 24
  • 31
1
vote
1 answer

When I using sublime and emacs as the development tool for scala, there are some errors occured

I use the sublime open the ensime project, the ensime server started normal. After using it for a short time, the following errors occured. Handling RPC: (swank:completions D:\Scala\ensime\src\main\scala\Main.scala 52 0) Writing: 000086(:return…
Gatspy
  • 1,642
  • 3
  • 13
  • 13
0
votes
0 answers

How to fix "an expression of type null is ineligible for implicit conversion"

When inspecting this code: def getFilmById(filmId: Long) = quote { query[Film].filter(f => f.film_id == lift(filmId)) } ensime shows an error in place of opening brace: an expression of type Null is ineligible for implicit conversion The…
Andronicus
  • 25,419
  • 17
  • 47
  • 88
0
votes
0 answers

Ensime for Emacs stuck on "Initializing Analyzer. Please wait..."

When I try to start Ensime for Emacs it stucks on "Initializing Analyzer. Please wait..." I have scala and sbt in my PATH. I also tried to add (setq ensime-sbt-command "/usr/local/bin/sbt" sbt:program-name "/usr/local/bin/sbt") to my…
sergeda
  • 2,061
  • 3
  • 20
  • 43
0
votes
1 answer

compile with sbt in emacs failed

sbt-version: 1.2.1 scala-version: 2.12.6 i can connect ensime with emacs but once run C-C C-B c (ensime-sbt-do-compile) then encounter the following error [ERROR] Failed to construct terminal; falling back to…
eric wang
  • 1
  • 2
0
votes
1 answer

Emacs ENSIME cannot find dependency

I'm pretty new with both Scala and ENSIME. I have a project and the first setup is ok with ENSIME that seems to work fine (auto-completion working, jump to definition working, error highlighting working, etc.). Anyway I've added a dependency in…
se7entyse7en
  • 4,310
  • 7
  • 33
  • 50