Skip to content

Commit

Permalink
Refined Get Apex Class/Trigger code coverage. fixed bug #197
Browse files Browse the repository at this point in the history
  • Loading branch information
lushang committed Mar 27, 2020
1 parent 1ef3499 commit e4e16fd
Show file tree
Hide file tree
Showing 3 changed files with 351 additions and 233 deletions.
8 changes: 4 additions & 4 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,8 @@ def run(self, edit, mark):

class ViewCodeCoverageCommand(sublime_plugin.TextCommand):
def run(self, edit):
util.view_coverage(self.attributes["name"], self.file_name, self.body)
# util.view_coverage(self.attributes["name"], self.file_name, self.body)
processor.handle_fetch_code_coverage(self.attributes["name"], self.body)

def is_enabled(self):
# Must Be File
Expand Down Expand Up @@ -740,8 +741,7 @@ def is_enabled(self):
return True

def is_visible(self):
# return self.is_enabled()
return False
return self.is_enabled()


class ViewSelectedCodeCoverageCommand(sublime_plugin.TextCommand):
Expand Down Expand Up @@ -1935,7 +1935,7 @@ class AboutCommand(sublime_plugin.ApplicationCommand):
def run(command):
package_info = sublime.load_settings("package.sublime-settings")

version_info = "\n%s\n\n%s\n\nCopyright © 2013-2016 By %s\n\tDev Channel, Build v%s" % (
version_info = "\n%s\n\n%s\n\nCopyright © 2013-2019 By %s\n\tDev Channel, Build v%s" % (
package_info.get("description"),
package_info.get("homepage"),
package_info.get("author"),
Expand Down
Loading

0 comments on commit e4e16fd

Please sign in to comment.