diff --git a/README.md b/README.md index 44b0508..07bb8b4 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/main.py b/main.py index d7ce06a..738946d 100644 --- a/main.py +++ b/main.py @@ -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) diff --git a/screenshots/java_features.png b/screenshots/java_features.png new file mode 100644 index 0000000..54d278f Binary files /dev/null and b/screenshots/java_features.png differ