Added in Dotnet interface with sharper through module flag
This commit is contained in:
parent
9137cbaaa4
commit
871096533f
3 changed files with 10 additions and 0 deletions
|
@ -15,12 +15,14 @@ LSP).
|
|||
|
||||
** Module Flags
|
||||
+ =+lsp= Enables omnisharp through LSP support (requires omnisharp).
|
||||
+ =+dotnet= Enables Dotnet transient interface with Sharper
|
||||
+ =+unity= Enables special support for the [[https://unity.com/][Unity game engine]] (particularly,
|
||||
support for HLSL shaders).
|
||||
|
||||
** Plugins
|
||||
+ [[https://github.com/josteink/csharp-mode][csharp-mode]]
|
||||
+ [[https://github.com/omajid/csproj-mode][csproj-mode]]
|
||||
+ [[https://github.com/sebasmonia/sharper][sharper]] (=+dotnet=)
|
||||
+ [[https://github.com/OmniSharp/omnisharp-emacs][omnisharp]]* (not =+lsp=)
|
||||
+ [[https://github.com/midnightSuyama/shader-mode][shader-mode]]* (=+unity=)
|
||||
|
||||
|
@ -31,6 +33,7 @@ This module needs:
|
|||
it, use ~M-x omnisharp-install-server~)
|
||||
+ .NET SDKs (on Windows)
|
||||
+ Mono (on UNIX platforms)
|
||||
+ .NET Core 1.X - 3.X or .NET 5 for cross platform
|
||||
|
||||
** TODO MacOS
|
||||
** Arch Linux
|
||||
|
|
|
@ -23,6 +23,11 @@ or terminating simple string."
|
|||
(unless (eq major-mode 'csharp-mode)
|
||||
(apply orig-fn args))))
|
||||
|
||||
(use-package! sharper
|
||||
:when (featurep! +dotnet)
|
||||
:bind
|
||||
("C-c n" . sharper-main-transient))
|
||||
|
||||
|
||||
(use-package! omnisharp
|
||||
:unless (featurep! +lsp)
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
;;; lang/csharp/packages.el
|
||||
|
||||
(package! csharp-mode :pin "49168293a28aaaf84b9655fe1b2abe402c5e2ee1")
|
||||
(when (featurep! +dotnet)
|
||||
(package! sharper :pin "d610b839dbb907cc0a49b7edfe7fe39aa3f9dd6d"))
|
||||
(package! csproj-mode :pin "a7f0f4610c976a28c41b9b8299892f88b5d0336c")
|
||||
(unless (featurep! +lsp)
|
||||
(package! omnisharp :pin "e26ff8b8d34a247cd4a93be5d62a5f21859b7b57"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue