Skip to content

Commit

Permalink
added error handling and screenshot
Browse files Browse the repository at this point in the history
  • Loading branch information
tushortz committed Dec 7, 2018
1 parent db97ce3 commit 79b310f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ A sublime text plugin that attempts to provide intellisense for various language
* import autocomplete suggestions and navigation to documentation url
* view class/package description on click to line then hover

![java features](screenshots/java_features.png)

## TODO

Expand Down
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,5 @@ def on_hover(self, point, hover_zone):
doc = _java.get_documentation(current_line)
self.view.show_popup(doc, 0, sublime.HIDE_ON_MOUSE_MOVE_AWAY,
on_navigate=lambda x: print(x))
except:
self.view.window().status_message("Can't find doc")
except Exception as err:
self.view.window().status_message("Error: " + err)
Binary file added screenshots/java_features.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 79b310f

Please sign in to comment.