Permalink
Commits on Sep 14, 2017
  1. #1553 async connection info (#1868)

    jan0sch committed with fommil Sep 14, 2017
    * #1553 async connection info
    
    * add AsynConnectionInfoReq
    * deprecate ConnectionInfoReq
    * handle both messages the same way for now
    
    * #1553 async connection info
    
    * remove AsynConnectionInfoReq
    * introduce system property `ensime.server.async`
    * switch to asynchronous behaviour if property is set to `true`
    
    * #1553 async connection info
    
    * refactored regarding suggestions
    * add legacy settings `connectionInfoReq` which defaults to `true`
    * add `AsyncConnectionInfo` (extending `EnsimeEvent`)
    * use appropriate response for `ConnectionInfoReq` regarding the
      settings
    
    * #1553 async connection info
    
    * rename `AsyncConnectionInfo` to `GreetingInfo`
    * use `context.become` in `preStart` to switch between legacy and async
      behaviour
    
    * #1553 async connection info
    
    * remove redundant `if` branch
    * broadcast `GreetingInfo` in async mode
  2. bump sbt for the cache builder

    fommil committed Sep 14, 2017
Commits on Sep 2, 2017
  1. Add dealiasing fixes when formatting tuples and function types (#1867)

    iravid committed with fommil Sep 2, 2017
    This commit fixes two issues:
    - when formatting type aliases pointing to tuples, dealiasing is
      avoided by using typeSymbolDirect when testing if the type's full
      name starts with `Tuple`.
    - when formatting type aliases pointing to function types, dealiasing
      is similarly avoided in isArrowType.
    
    Resolves #1866.
Commits on Sep 1, 2017
  1. configurable Indexer batch size (#1862)

    hardmettle committed with fommil Sep 1, 2017
    * changes for making index size configurable in Indexer
    
    * Moving implicit import to required place
    
    * Fixing the implicit presence of serverConfig for Search spec
    
    * Formatting code as per standard
    
    * Formatting code as per standard 2
    
    * fixing wrong re injection of EnsimeConfigFixture
    
    * Getting rid of the import for serverConfig
    
    * Getting rid of the import for serverConfig 2
Commits on Aug 28, 2017
  1. bump scala-refactoring (#1865)

    fommil committed on GitHub Aug 28, 2017
    * bump scala-refactoring
    
    * fixup! bump scala-refactoring
    
    * fixup! fixup! bump scala-refactoring
Commits on Aug 23, 2017
  1. Prevent dealiasing for type aliases defined outside scala and Predef (#…

    iravid committed with fommil Aug 23, 2017
    …1859)
    
    The current formatting scheme is inconsistent when showing types of values of
    type aliases. For example, given `trait State[S, A]` and `type IntState[A] =
    State[Int, A]`, the type of `val s: IntState[Int]` is formatted as `State[Int]`.
    
    The problem is that `typeSymbol` (which dealiases the type) is used for
    displaying the name of the type, while `typeArgs` (which does not dealias) is
    used for formatting the type parameters.
    
    This commit makes the scheme more consistent:
    - When types need to be dealiased, `tpe.typeSymbol` is used for the name and
    `tpe.dealias.typeArgs` is used for the type parameters
    - When types do not need to be dealiased, `tpe.typeSymbolDirect` and
    `tpe.typeArgs` are used
    
    The rules for dealiasing (hardcoded in the `shouldDealias` function) are as
    such:
    - Type aliases defined in the `scala` package are dealiased
    - Type aliases that have `Predef` in their prefix are dealiased (to support the
    standard `scala.Predef` and user-supplied predefs)
    - All other type aliases are not dealiased
    
    Resolves #1858.
  2. Widen single types when formatting them for display (#1861)

    iravid committed with fommil Aug 23, 2017
    Given the expression `set.toMap`, the tree for the qualifier is of type
    `set.type`. This causes the name formatting to drop the type parameters.
    
    This commit widens single types before formatting them for display.
    
    Also added is coverage for formatting of constant types.
    
    Resolves #1860.
Commits on Aug 22, 2017
  1. Limit concurrency during startup indexing (#1856)

    iravid committed with fommil Aug 22, 2017
    Resolves (partially) #1756.
Commits on Aug 19, 2017
  1. Show transient inheritors as well (#1855)

    VC1995 committed with fommil Aug 19, 2017
    * WIP
    
    * added test
Commits on Aug 8, 2017
  1. Changes for wildcard import (#1849)

    hardmettle committed with fommil Aug 8, 2017
Commits on Aug 2, 2017
  1. Merge pull request #1848 from VC1995/issue#1843

    fommil committed on GitHub Aug 2, 2017
    [Sponsored] Bug fixes for reverse lookup
  2. removed useless .distinct

    VC1995 committed Aug 2, 2017
Commits on Aug 1, 2017
  1. map on distinct LineSourcePositions

    VC1995 committed Aug 1, 2017
  2. bumped protocol version

    VC1995 committed Aug 1, 2017
  3. refactored SourcePositions

    VC1995 committed Aug 1, 2017
  4. backward compatible response to FindUsages with previews

    VC1995 committed Aug 1, 2017
Commits on Jul 31, 2017
  1. refactored response for find usages and added preview

    VC1995 committed Jul 31, 2017
  2. removed self references

    VC1995 committed Jul 31, 2017
  3. WIP

    VC1995 committed Jul 31, 2017
Commits on Jul 30, 2017
  1. Merge pull request #1845 from fommil/bump-middleware

    fommil committed on GitHub Jul 30, 2017
    Bump middleware
  2. bump middleware

    fommil committed Jul 30, 2017
  3. bump scala version

    fommil committed Jul 30, 2017
Commits on Jul 29, 2017
  1. Merge pull request #1844 from fommil/custom-imports

    fommil committed on GitHub Jul 29, 2017
    user custom import groups
  2. user custom import groups

    fommil committed Jul 29, 2017
Commits on Jul 27, 2017
  1. Merge pull request #1809 from hardmettle/serverconfig

    fommil committed on GitHub Jul 27, 2017
    .ensime-server.conf for user preferences
Commits on Jul 26, 2017
  1. fix some bugs when reading the server config

    fommil committed Jul 26, 2017
  2. introduce a server config file

    hardmettle committed with fommil Jun 19, 2017
  3. [Sponsored] Find Usages and Implementing Classes (#1830)

    VC1995 committed with fommil Jul 26, 2017
Commits on Jul 23, 2017
  1. Merge pull request #1837 from fommil/broken-java-lambdas

    fommil committed on GitHub Jul 23, 2017
    canary tests for broken java lambdas
  2. turn the test into a canary

    fommil committed Jul 22, 2017
Commits on Jul 22, 2017
  1. Fix completions for complex java types (arrays and generics). (#1836)

    dangerousben committed with fommil Jul 22, 2017
Commits on Jul 18, 2017
  1. Smarter FileChangeListener in Project (#1824)

    VC1995 committed with fommil Jul 18, 2017
    * WIP
    
    * WIP
    
    * classFileWatcher restarts  only dependent projects and itself
    
    * removed SourceWatcher
    
    * small refactorings
    
    * diff approach considering window file Paths
    
    * removed mutable restartProjects from Project
    
    * debouncer per project
    
    * minor changes
Commits on Jul 4, 2017
  1. Use RawFile in EnsimeConfig and EnsimeProject (#1804)

    zaynetro committed with fommil Jul 4, 2017
  2. Merge pull request #1828 from hzenginx/2.0

    fommil committed on GitHub Jul 4, 2017
    UsesOfSymbolAtPointReq, do not try to solve symbols from classfiles (#1827)