sublime-fsharp-package icon indicating copy to clipboard operation
sublime-fsharp-package copied to clipboard

Sublime 4 - KeyError: 'on_modified_async'

Open JaggerJo opened this issue 4 years ago • 2 comments

Just tried writing some F# in sublime 4. Autocomplete (Ctr + .) and other commands result in this error for me. The package was installed via. Package Control.

I'm running on MacOS 11.2.3 (20D91) (intel)

reloading python 3.3 plugin Package Control.Package Control
reloading python 3.3 plugin FSharp.__init__
reloading python 3.3 plugin FSharp._init_
reloading python 3.3 plugin FSharp.execute
reloading python 3.3 plugin FSharp.fsharp
reloading python 3.3 plugin FSharp.xevents
Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py", line 310, in reload_plugin
    load_module(m)
  File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py", line 343, in load_module
    decorate_handler(t, method_name)
  File "/Applications/Sublime Text.app/Contents/MacOS/Lib/python33/sublime_plugin.py", line 226, in decorate_handler
    method = cls.__dict__[method_name]
KeyError: 'on_modified_async'

JaggerJo avatar May 21 '21 12:05 JaggerJo

@JaggerJo Did you solve? You can use https://github.com/sublimelsp/LSP with https://github.com/fsharp/FsAutoComplete

adelarsq avatar Jul 30 '21 13:07 adelarsq

The same error for SublimeText 4 on Windows. I will try the packages @adelarsq recommends.

ilog2000 avatar Nov 11 '21 10:11 ilog2000