Skip to content

Commit

Permalink
#38 - code completion bugfix
Browse files Browse the repository at this point in the history
for Apex Documentation files (bundled in jar) Win7 requires file encoding to be explicitly specified
  • Loading branch information
neowit committed Dec 18, 2014
1 parent ef31852 commit 8f9a594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/scala/com/neowit/apex/AppVersion.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import com.neowit.utils.ResponseWriter.{MessageDetail, Message}

object AppVersion {
val APP_NAME = "tooling-force.com"
val VERSION = "0.3.1.3"
val VERSION = "0.3.1.4"
}
class AppVersion extends ApexAction {
override def act(): Unit = {
Expand Down
2 changes: 1 addition & 1 deletion src/main/scala/com/neowit/apex/completion/ApexModel.scala
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ case class ApexNamespace(name: String) extends ApexModelMember {
if (null == is) {
return
}
val doc = scala.io.Source.fromInputStream(is.openStream()).getLines().mkString
val doc = scala.io.Source.fromInputStream(is.openStream())("UTF-8").getLines().mkString
val jsonAst = JsonParser(doc)
val types = jsonAst.asJsObject.fields //Map[typeName -> type description JSON]
val typesWithSuperTypes = List.newBuilder[ApexType]
Expand Down

0 comments on commit 8f9a594

Please sign in to comment.