OmniSharp / omnisharp-emacs

Troll coworkers - use Emacs at work for csharp!
GNU General Public License v3.0
512 stars 94 forks source link

Spacemacs: Error while checking syntax automatically: (error "Output file descriptor of OmniServer is closed") #530

Closed SamuelBanya closed 6 months ago

SamuelBanya commented 6 months ago

Related error when opening any '.cs' file:

Error while checking syntax automatically: (error "Output file descriptor of OmniServer is closed")

Related Spacemacs config section:

   ;; List of configuration layers to load.
   dotspacemacs-configuration-layers
   '(
     ;; ----------------------------------------------------------------
     ;; Example of useful layers you may want to use right away.
     ;; Uncomment some layer names and press `SPC f e R' (Vim style) or
     ;; `M-m f e R' (Emacs style) to install them.
     ;; ----------------------------------------------------------------
     auto-completion
     better-defaults
     emacs-lisp
     git
     graphql
     helm
     html
     lsp
     json
     markdown
     multiple-cursors
     org
     (shell :variables
            shell-default-height 30
            shell-default-position 'bottom)
     spell-checking
     syntax-checking
     version-control
     themes-megapack
     (typescript :variables
                 typescript-linter 'eslint
                 typescript-backend 'lsp)
     treemacs
     (ranger :variables
             ranger-show-preview t)
     csharp
     )

Any ideas on how to fix this?

SamuelBanya commented 6 months ago

I was able to resolve this by using the 'M-x omnisharp-install-server' command.