Skip to content

Commit

Permalink
Merge pull request #182 from justjoheinz/feature/typecheck
Browse files Browse the repository at this point in the history
Display information about typechecking
  • Loading branch information
justjoheinz authored Aug 16, 2017
2 parents 7a16501 + cdf0868 commit 7de61db
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/idris-controller.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,10 @@ class IdrisController
editor = @getEditor()
@saveFile editor
uri = editor.getURI()
@messages.setTitle 'Idris: Typechecking...'
@messages.attach()
@messages.show()
@messages.clear()
@messages.setTitle 'Idris: Typechecking...'

successHandler = ({ responseType, msg }) =>
@messages.attach()
Expand Down Expand Up @@ -495,7 +497,7 @@ class IdrisController
@messages.clear()
@messages.setTitle '<i class="icon-bug"></i> Idris Errors', true

# display the general error message
# display the general error message
if err.message?
@messages.add new PlainMessageView
raw: true
Expand Down

0 comments on commit 7de61db

Please sign in to comment.