OmniSharp Config (c# Asp.net) reddit / emacs ---------------------------------------------------------------------- Azizul7m · 2022-07-10 05:52 [removed] ---------------------------------------------------------------------- Azizul7m · 2022-07-10 06:03 u/FluentFelicity I think you know How to solve it... ---------------------------------------------------------------------- FluentFelicity · 2022-07-10 12:49 You pinged me? ---------------------------------------------------------------------- Azizul7m · 2022-07-10 13:06 Typically I don't want to but no one responded here. that's why. Sry ---------------------------------------------------------------------- FluentFelicity · 2022-07-10 13:13 Your post was deleted so I dont know if I could help or not ---------------------------------------------------------------------- Azizul7m · 2022-07-10 13:18 Really, Am I breaking any rules? I created an issue in gt [omnisharp- emacs](https://github.com/OmniSharp/omnisharp-emacs/issues/526) ---------------------------------------------------------------------- FluentFelicity · 2022-07-10 13:25 I just mean that i don't know the content of the post so i don't know your question/problem ---------------------------------------------------------------------- Azizul7m · 2022-07-10 13:50 I want to turn my emacs into a r/csharp (more specially asp.net core) IDE. So I add *omnisharp-roslyn*. it works, syntax highlighting, error checking, etc. except for autocompletion I didn't get any auto suggestions but when trigger `omnisharp-auto-complete` it comes to play. \*\* This is my config: (use-package csharp-mode :defer nil :init (require 'omnisharp) (add-hook 'csharp-mode-hook 'omnisharp-mode) (add-hook 'csharp-mode-hook #'flycheck-mode) :config (setq omnisharp-debug t) (setq omnisharp-server-executable-path "/usr/bin/omnisharp")) (eval-after-load 'company '(add-to-list 'company-backends 'company-omnisharp)) ​ *I'm using doom emacs and company for completions* ---------------------------------------------------------------------- FluentFelicity · 2022-07-10 14:01 Well, firstly, the readme notes that the package is deprecated in favor of lsp servers. Secondly, have you made sure that company-mode is enabled in those buffers ---------------------------------------------------------------------- Azizul7m · 2022-07-10 14:40 Yea, I read that too. do you recommend any configuration *(config)* that may solve that issue... ---------------------------------------------------------------------- FluentFelicity · 2022-07-10 14:45 Did enabling company-mode not work? And using lsp-mode or eglot, as recommended, with the appropriate lsp server will work, as noted in the readme. ---------------------------------------------------------------------- Azizul7m · 2022-07-10 14:50 yea. I enabled company-mode. It didn't suggest based on what I'm typing but I manually trigger `company-omnisharp` then a popup appears. I want it to come automatically when typing. ---------------------------------------------------------------------- FluentFelicity · 2022-07-10 14:57 Yes, I understand. If company mode is indeed enabled, and you checked that the appropriate backend is in company-backends, then I'd look into the function(s) called in company-omnisharp. I believe company should have its own command to trigger completion, as well as an customizable variable for automatic popups ---------------------------------------------------------------------- Azizul7m · 2022-07-10 15:19 Thank you. It solves now.