-
-
Notifications
You must be signed in to change notification settings - Fork 93
Add "visible" scope #1607
Copy link
Copy link
Closed
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Type
Fields
Give feedbackNo fields configured for issues without a type.
Defined to be the visible content range in the editor. (Open question: Include partially visible lines?)
The main use case is with
from. That would help in the case in which there are matching identifiers far away in the file that I don't care about. You can approximatevisibleusing other scopes, butvisibleis a very simple scope to say and to reason about.Sample usage:
from visible take every instance airFiled for discussion. If there's interest, I might attempt to implement this myself.