Skip to content

Automatically download and update PowerShell Editor Services for LSP#7

Merged
wingyplus merged 6 commits intowingyplus:mainfrom
oWretch:f/lsp-download
Apr 25, 2025
Merged

Automatically download and update PowerShell Editor Services for LSP#7
wingyplus merged 6 commits intowingyplus:mainfrom
oWretch:f/lsp-download

Conversation

@oWretch
Copy link
Contributor

@oWretch oWretch commented Feb 17, 2025

Download Editor Services and cache, checking for updates as required.

To get v0.2.0 to compile, I had to comment out some keywords in highlights.scm as they prevented the compiled extension from loading

  • clean
  • define
  • from
  • using
  • var

I tried updating to the latest grammar version, but this didn't help.

Closes #2
Closes #6
Closes #8

@oWretch
Copy link
Contributor Author

oWretch commented Feb 19, 2025

Formatting is working. Need to validate more on suggestions. Suggestions are working too

@JadenMajid
Copy link

Closes #8

@notpeter
Copy link
Contributor

I gave this a whirl on macOS, it managed to install/start PowerShell Editor Services properly. Nice!

I also took a stab at some basic docs which we can publish once this is broadly available. Let me know if I can be of assistance getting this merged and an updated version published in the Zed Extension store.

@notpeter
Copy link
Contributor

notpeter commented Apr 9, 2025

Bump @wingyplus
Would you like some help maintaining this extension? (I work at Zed)

"catch"
"class"
"clean"
; "clean"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is fine to comment this out on this PR. Let's fix the highlights.scm to make it work again on another PR.

@wingyplus
Copy link
Owner

@oWretch @notpeter Sorry for the silence for a long time. I have been really busy this year. :(

This PR LGTM to me. So I'm going to merge it. But before we release a new version, I need someone to fix & sync highlights.scm from upstream to make it work again. Anyone interested in tackling this issue?

@wingyplus wingyplus merged commit 360e5d4 into wingyplus:main Apr 25, 2025
jnichols0 pushed a commit to jnichols0/zed-powershell that referenced this pull request Mar 9, 2026
This PR bumps the version of this extension to v0.4.1

Co-authored-by: zed-zippy[bot] <234243425+zed-zippy[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Language server error: powershell-es PowerShell LSP can't be found Support PowerShell editor services automatic installation

4 participants