cursorless icon indicating copy to clipboard operation
cursorless copied to clipboard

Split surrounding scopes into smaller identifiers

Open AndreasArvidsson opened this issue 3 years ago • 2 comments

eg

  • in python both lists and sets or grouped under list
  • in general functions and lambdas are grouped under function
  • formal and actual arguments are group together under arg

I'm not suggesting that we change the current default behavior but that we add multiple sub identifiers and then the more general identifier is just a union of the ones below.

list => collectionList or collectionSet function => functionNamed or functionLambda

The upside with these changes are twofold

  1. The language definitions become smaller and more specific. This is easier implementation vice
  2. We can allow the user in their csv files to customize this more specifically
    • collection, collectionList | collectionSet | collectionMap

AndreasArvidsson avatar Feb 13 '22 09:02 AndreasArvidsson

@sterlind this direction might be of interest re your fine-grained scope contexts

pokey avatar Feb 13 '22 09:02 pokey

Just an update to say that the easiest way to approach this is to just turn our scope facets into scopes

pokey avatar Jan 23 '24 15:01 pokey