-
Notifications
You must be signed in to change notification settings - Fork 49
Chained methods and properties on expressions #107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
even disregarding the chaining, scoping |
@keith-hall you'll find a lot of scoping issues and one of the overarching projects is going to be to review them all. As best as possible I am following https://www.sublimetext.com/docs/3/scope_naming.html; However, I am not a developer so I don't always know what a particular thing in the syntax is fundamentally called and referencing other languages that may also be scoped incorrectly doesn't always help. I have a decent idea but there are gaps. So far I've fixed some of them, I've left some of them the way they were for the time being, and in at least one instance I set one incorrectly on purpose to meet user expectation across 99% of themes until the actual patterns could be redefined. One of the issues with the PS syntax file as it stands is that a number of things are defined in pieces with no connections even when directly related. That means you cannot assign a proper parent or meta scope for fallback when themes don't cover one of the more granular scopes. One of my goals is to fix a lot of those issues (variables and function calls are top of the list right now) but some scopes are incorrect for the time being for that reason. This discussion from 2016 is still open: #8 but it may be worth starting it from scratch at this point. |
Moving from SublimeText/PowerShell#68
And SublimeText/PowerShell#77
Environment
Issue Description
There is inconsistency in the chained methods:
Split
andTrim
get 2 different regions.Same applies for
$foo.bar
vs
Screenshots
Expected Behavior
Trim()
andSplit()
should be the same region type.bar
in first and second case should be the same region typeCode Samples
The text was updated successfully, but these errors were encountered: