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