Skip to content

Metals crashes silently at startup on macos with sublime text 3 #2379

Answered by devlaam
devlaam asked this question in Q&A
Discussion options

You must be logged in to vote

I am one step further. With the following startup procedure metals works.

  1. Make sure all files are closed.
  2. Shutdown Sublime
  3. Open from the command line with open "/Applications/Sublime Text.app" --args path/to/folder (the working dir is still not set)
  4. Now open your first scala file. This activates metals, it does not crash this time.

lsp-logging:

:: --> LSP-metals initialize(1): {'processId': 57019, 'workspaceFolders': [{'name': 'tests', 'uri': 'file:///..../tests'}], 'rootUri': 'file:///..../tests', 'capabilities': {'window': {'showMessage': {'messageActionItem': {'additionalPropertiesSupport': True}}, 'workDoneProgress': True}, 'experimental': {}, 'textDocument': {'rangeFormatting': {'…

Replies: 8 comments 39 replies

Comment options

You must be logged in to vote
12 replies
@devlaam
Comment options

@ayoub-benali
Comment options

@devlaam
Comment options

@ayoub-benali
Comment options

@devlaam
Comment options

Comment options

You must be logged in to vote
15 replies
@ayoub-benali
Comment options

@rwols
Comment options

@devlaam
Comment options

@rwols
Comment options

@rwols
Comment options

Comment options

You must be logged in to vote
2 replies
@rwols
Comment options

@devlaam
Comment options

Comment options

You must be logged in to vote
4 replies
@rwols
Comment options

@tgodzik
Comment options

@ckipp01
Comment options

@ckipp01
Comment options

Comment options

You must be logged in to vote
6 replies
@tgodzik
Comment options

@ckipp01
Comment options

@rwols
Comment options

@devlaam
Comment options

@ckipp01
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by devlaam
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants