-
Notifications
You must be signed in to change notification settings - Fork 17
Multe-line strings #35
Comments
Thanks for taking the time to let me know and put together an issue! After some digging, though, it appears the grammar handles multi-line strings correctly and plain quotes don't delineate a multi-line string. From this post, it looks like multi-line strings are bookended by Using the example from that page in the language grammar tool you showed seems to indicate that everything's fine. That's a very nice tool! i've seen it before but appreciate the reminder 😄 |
Ah, you're right! Thanks for being patient with me, i'll look into fixing it soon.
haha, i guess i should know who i'm disagreeing with, huh? 😊 |
Yeah, pushing with authority :P I sent you message on twitter about https://github.com/SublimeText/PowerShell |
Sorry if I sounded offensive, didn't mean that. |
ah, i didn't see those twitter messages until now, i usually catch them earlier.
i didn't think it sounded offensive, or take any offense 😉
i'd be very happy to cooperate! i didn't know you were working on that sublime grammar. When i originally saw your issue, i planned to try converting over that package to see if it did a better job than what i already have in place... i guess i'll be doing that more often soon! Where do you think we should start? |
It makes sense to have the same grammar (physically same files) in both places in the long run. It can be done with pulling grammar to the separate module and including it as a sub-module, merging two repos, or some other way that I cannot think of right now. But it's a pretty ambitious project and I would not suggest to start with it. We can start small and make our grammar files the same manually, without enforcing it on the source control level. In sublime text we can convert between three forms of grammar files: plist / As far as I see, atom use My suggestion:
Does it make sense? |
i think that makes sense... i'll see how implementing some of these ideas goes in the near future. i'm hoping that i can use apm's textmate grammar conversions to get from your stuff to a cson grammar file that atom will use.
Yup, right. Thanks for the test file. i'm not sure what this grammar will have that yours doesn't, though. |
i did a first pass at vendoring the PowerShell grammar into this one. So far so good! Take a deeper look at #36 😄 |
Consider multe-line string
In atom:

I used lightshow to verify it on the latest version of the grammar:
http://goo.gl/cZkift
The text was updated successfully, but these errors were encountered: