Skip to content
This repository was archived by the owner on Jun 2, 2023. It is now read-only.

Move to PowerShell/EditorSyntax as the backing grammar #52

Merged
merged 11 commits into from
Sep 9, 2016

Conversation

jrsconfitto
Copy link
Owner

This moves this library's backing grammar from the old SublimeText/PowerShell repository to the Microsoft-backed PowerShell/EditorSyntax repository.

@daviwil
Copy link

daviwil commented Sep 14, 2016

Wow! I didn't know you had made the transition :) We had to back out of using it in VS Code for a little while because users had trouble with certain aspects of the syntax highlighting.

It's good that you're passing along the issues people are finding, hopefully we'll be able to get them fixed in the near future. @vors is currently working on some test automation that should help us flush out all the remaining issues.

@daviwil
Copy link

daviwil commented Sep 14, 2016

Looks like you had to remove some of your existing tests, were things too broken to get them to pass?

@jrsconfitto
Copy link
Owner Author

Hm, now that you say it, I think it was premature to do both of those
things. The users end up paying in these regressions. 😢

I guess I assumed this grammar's highlighting was at least as good as the
old SublimeText one and users wouldn't hurt too much from the transition.

I didn't want to duplicate functionality so I figured I'd leave testing the
grammars to this repository as well.

I'll take some time and consider rolling back on this, maybe I got a little
too enthusiastic with the transition!

On Wed, Sep 14, 2016 at 2:53 PM David Wilson [email protected]
wrote:

Looks like you had to remove some of your existing tests, were things too
broken to get them to pass?


You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
#52 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOh__tU7haYljigWOKQGU00dBQmm_WBks5qqEKNgaJpZM4J5IvI
.

@daviwil
Copy link

daviwil commented Sep 14, 2016

Yeah, we thought it was too until people started trying it and hitting major issues. I apologize for not making it more clear the state of things after we figured that out. Hopefully within the next couple of months the new grammar will be all fixed up and ready to go again.

Makes sense to let the main repo do the grammar testing, but it'd be interesting to know what cases you specifically thought were interesting so we can cover them too!

@vors
Copy link

vors commented Sep 14, 2016

I guess I assumed this grammar's highlighting was at least as good as the
old SublimeText one and users wouldn't hurt too much from the transition.

@jugglingnutcase we are so sorry about this. We didn't communicate the status of this work clearly.
I was busy with https://github.com/PowerShell/PowerShell in the past few months and let it slip a little bit. People noticed regressions in VSCode PowerShell/EditorSyntax#16

I'd recomend to rever to the old Submile grammar until the first release from https://github.com/PowerShell/EditorSyntax
Particularly, I'm hoping to finish the testing framework PowerShell/EditorSyntax#2 so we can start with a solid foundation to catch regressions.

At the meantime, would you like to become a maintainer (with write access) for the https://github.com/PowerShell/EditorSyntax ?
This way, we will have all package maintainers represented as maintainers in EditorSyntax:

  • @jugglingnutcase for Atom
  • @vors for SublimeText
  • @daviwil for VSCode

@jrsconfitto jrsconfitto restored the move-to-editor-syntax branch September 20, 2016 12:48
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants