Skip to content

Commit

Permalink
Implement metals-goto-location command to fix stacktrace analysis lin…
Browse files Browse the repository at this point in the history
…ks (#88)

* Implement metals-goto-location command

Given that Metals uses it for stacktrace analysis since scalameta/metals#3540

* Remove replaced command

Co-authored-by: Ayoub Benali <[email protected]>
  • Loading branch information
ayoub-benali and ayoub-benali authored Apr 22, 2022
1 parent f24f3db commit 50af1d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import sublime_plugin

class LspMetalsGotoPositionCommand(sublime_plugin.WindowCommand):
class LspMetalsMetalsGotoLocationCommand(sublime_plugin.WindowCommand):

def run(self, parameters: List[Any]) -> None:
if isinstance(parameters, list) and parameters:
Expand Down
2 changes: 1 addition & 1 deletion plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
from . commands.lsp_metals_find_in_dependency import LspMetalsFindInDependencyCommand
from . commands.lsp_metals_focus import LspMetalsFocusViewCommand, ActiveViewListener
from . commands.lsp_metals_goto import LspMetalsGoto
from . commands.lsp_metals_goto_position import LspMetalsGotoPositionCommand
from . commands.lsp_metals_metals_goto_location import LspMetalsMetalsGotoLocationCommand
from . commands.lsp_metals_goto_super_method import LspMetalsSendPositionCommand
from . commands.lsp_metals_new_scala_file import LspMetalsNewScalaFileCommand
from . commands.lsp_metals_text_command import LspMetalsTextCommand
Expand Down

0 comments on commit 50af1d0

Please sign in to comment.