Skip to content

Commit

Permalink
vhdl lsp linux
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikMennen committed Feb 25, 2024
1 parent 0b267e1 commit 06b37ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/OneWare.Vhdl/VhdlModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ public void OnInitialized(IContainerProvider containerProvider)
nativeTool.AddPlatform(PlatformId.WinX64, "https://github.com/VHDL-LS/rust_hdl/releases/download/v0.77.0/vhdl_ls-x86_64-pc-windows-msvc.zip")
.WithShortcut("LSP", Path.Combine("vhdl_ls-x86_64-pc-windows-msvc", "bin" , "vhdl_ls.exe"), LspPathSetting);

nativeTool.AddPlatform(PlatformId.LinuxX64, "https://github.com/VHDL-LS/rust_hdl/releases/download/v0.77.0/vhdl_ls-x86_64-unknown-linux-gnu.zip")
.WithShortcut("LSP", Path.Combine("vhdl_ls-x86_64-unknown-linux-gnu", "bin" , "vhdl_ls"), LspPathSetting);

containerProvider.Resolve<ISettingsService>().RegisterTitledPath("Languages", "VHDL", LspPathSetting, "RustHDL Path", "Path for RustHDL executable",
nativeToolService.Get(LspName)!.GetShortcutPathOrEmpty("LSP"),
null, containerProvider.Resolve<IPaths>().PackagesDirectory, File.Exists);
Expand Down

0 comments on commit 06b37ea

Please sign in to comment.