 
     atom.workspaceView.statusBar.appendLeft('Starting Ensime server…')
 
-#  typecheckAll: ->
+  typecheckAll: ->
+    client.write(swankRpc("(swank:typecheck-all)"))
+
+  initBuilder: ->
+    client.write(swankRpc("(swank:builder-init)"))


initWithDotEnsime = (c) ->
  dotEnsime = readDotEnsime()
  initMsg = swankRpc("(swank:init-project #{dotEnsime})")
  console.log("Init Msg: #{initMsg}")
  c.write(initMsg)

    setTimeout(->
      # Open up socket to the server
      client = openSocketAndSend(portFile(), (c) ->
        #getServerInfo(c)
        initWithDotEnsime(c)
      )

