Merge pull request #4389 from samwdp/develop
Added new package to csharp lang module
This commit is contained in:
commit
2e7077d3df
3 changed files with 11 additions and 2 deletions
|
@ -17,13 +17,15 @@ LSP).
|
||||||
+ =+lsp= Enables omnisharp through LSP support (requires omnisharp).
|
+ =+lsp= Enables omnisharp through LSP support (requires omnisharp).
|
||||||
+ =+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).
|
||||||
|
+ =+dotnet= Enables Dotnet transient interface with Sharper
|
||||||
|
|
||||||
** 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/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=)
|
||||||
|
+ [[https://github.com/sebasmonia/sharper][sharper]] (=+dotnet=)
|
||||||
|
|
||||||
* Prerequisites
|
* Prerequisites
|
||||||
This module needs:
|
This module needs:
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
|
@ -43,7 +43,6 @@ 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! omnisharp
|
(use-package! omnisharp
|
||||||
:unless (featurep! +lsp)
|
:unless (featurep! +lsp)
|
||||||
:commands omnisharp-install-server
|
:commands omnisharp-install-server
|
||||||
|
@ -96,4 +95,9 @@ or terminating simple string."
|
||||||
:files (and "Assets" "Library/MonoManager.asset" "Library/ScriptMapper")))
|
:files (and "Assets" "Library/MonoManager.asset" "Library/ScriptMapper")))
|
||||||
|
|
||||||
|
|
||||||
|
(use-package! sharper
|
||||||
|
:when (featurep! +dotnet)
|
||||||
|
:general ("C-c d" #'sharper-main-transient))
|
||||||
|
|
||||||
|
|
||||||
(use-package! sln-mode :mode "\\.sln\\'")
|
(use-package! sln-mode :mode "\\.sln\\'")
|
||||||
|
|
|
@ -8,3 +8,5 @@
|
||||||
(package! omnisharp :pin "8ec59296b2e2a12d8ea146fb7056091fbb7bdd10"))
|
(package! omnisharp :pin "8ec59296b2e2a12d8ea146fb7056091fbb7bdd10"))
|
||||||
(when (featurep! +unity)
|
(when (featurep! +unity)
|
||||||
(package! shader-mode :pin "d7dc8d0d6fe8914e8b6d5cf2081ad61e6952359c"))
|
(package! shader-mode :pin "d7dc8d0d6fe8914e8b6d5cf2081ad61e6952359c"))
|
||||||
|
(when (featurep! +dotnet)
|
||||||
|
(package! sharper :pin "d610b839dbb907cc0a49b7edfe7fe39aa3f9dd6d"))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue