Skip to content

Script that allows nvim csharp lsp to pull binaries from csproj

Notifications You must be signed in to change notification settings

reaz1995/UnityNvimSupport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

UnityNvimSupport

The script "postProcessCSProj.cs" simply translates paths references to binaries in .csproj from windows path to wsl/linux path. Which allows Nvim Lsp to find references to required binaries.

#How to?

  1. Create new C# script in Unity, replace the content of it to the the content of "postProcessCSProj.cs", save.
  2. Remove all of .csporj files in main dir of project.
  3. Unity->Preferences->External tools

image Pick VisualStudio, then regenerate files. It will regenerate .csproj files it main dir of project. Keep the list of generated files short or your nvim lsp will be very slow.

Now it's working!

image

About

Script that allows nvim csharp lsp to pull binaries from csproj

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published