Skip to main content

Type

Cursorless ID: type

Spoken form​

Default: type

Syntax​

  • type - Type annotation or declaration.

Examples​

  • "take type blue air" - Selects the type containing the token containing letter a with a blue hat.

Visualization​

Type: Alias​

A type alias declaration
C​
C++​
C#​
Dart​
Go​
Kotlin​
Rust​
Scala​
Swift​
TypeScript​

Type: Argument catch​

Type of a parameter in a catch clause
C++​
C#​
Dart​
Java​
Kotlin​
PHP​
Python​
Scala​
Swift​
TypeScript​

Type: Argument formal​

Type of a parameter in a function declaration
C​
C#​
Dart​
Go​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Argument formal constructor​

Type of a parameter in a constructor declaration
C++​
C#​
Dart​
Java​
Kotlin​
PHP​
Python​
Scala​
Swift​
TypeScript​

Type: Argument formal lambda​

Type of a parameter in an anonymous function
C++​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Rust​
Scala​
Swift​
TypeScript​

Type: Argument formal method​

Type of a parameter in a method declaration
C++​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Cast​

A type cast
C​
C#​
Dart​
Java​
PHP​
Rust​
Swift​
TypeScript​

Type: Class​

A class/struct declaration
C​
C++​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Constant​

Type of a constant declaration
C​
C#​
Dart​
Go​
Java​
Kotlin​
Rust​
Scala​
Swift​
TypeScript​

Type: Enum​

An enum declaration
C​
C++​
C#​
Dart​
Java​
Kotlin​
PHP​
Rust​
Scala​
Swift​
TypeScript​

Type: Field class​

Type of a field declaration in a class/struct
C​
C++​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Field interface​

Type of a field declaration in an interface
C#​
Java​
Kotlin​
PHP​
Scala​
Swift​
TypeScript​

Type: Foreach​

Type of a variable in a for-each loop
C++​
C#​
Dart​
Java​
Kotlin​
Scala​
Swift​

Type: Interface​

An interface declaration
C#​
Go​
Java​
Kotlin​
PHP​
Scala​
Swift​
TypeScript​

Type: Resource​

Type in a resource management statement, eg with / use / using
C#​
Java​

Type: Return​

Type of a return value in a function declaration
C​
C#​
Dart​
Go​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Return lambda​

Type of a return value in an anonymous function
C++​
Go​
PHP​
Rust​
Swift​
TypeScript​

Type: Return method​

Type of a return value in a method declaration
C++​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Type argument​

Type argument to a generic / parametrized type
C++​
C#​
Dart​
Go​
Java​
Kotlin​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Variable initialized​

Type of an initialized variable declaration
C​
C#​
Dart​
Go​
Java​
Kotlin​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Variable uninitialized​

Type of an uninitialized variable declaration
C​
C#​
Dart​
Go​
Java​
Kotlin​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type (iteration block)​

Iteration scope for types: statement blocks (body of functions/if-statements/for-loops/etc).
C​
C#​
Dart​
Go​
Java​
Kotlin​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type (iteration class)​

Iteration scope for types: class bodies.
C​
C++​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type (iteration document)​

Iteration scope for types: the entire document including leading and trailing empty lines.
C​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type (iteration interface)​

Iteration scope for types: interface bodies.
C#​
Java​
Kotlin​
PHP​
Scala​
Swift​
TypeScript​

Type: Argument formal (iteration)​

Iteration scope for types of parameters in a function declaration: the parameter list.
C​
C#​
Dart​
Go​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Argument formal constructor (iteration)​

Iteration scope for types of parameters in a constructor declaration: the parameter list.
C++​
C#​
Dart​
Java​
Kotlin​
PHP​
Python​
Scala​
Swift​
TypeScript​

Type: Argument formal lambda (iteration)​

Iteration scope for types of parameters in an anonymous function: the parameter list.
C++​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Rust​
Scala​
Swift​
TypeScript​

Type: Argument formal method (iteration)​

Iteration scope for types of parameters in a method declaration: the parameter list.
C++​
C#​
Dart​
Go​
Java​
Kotlin​
PHP​
Python​
Rust​
Scala​
Swift​
TypeScript​

Type: Type argument (iteration)​

Iteration scope for type arguments to a generic / parametrized type: the type argument list.
C++​
C#​
Dart​
Go​
Java​
Kotlin​
Python​
Rust​
Scala​
Swift​
TypeScript​