Skip to content

Instantly share code, notes, and snippets.

@fwcd
Last active August 26, 2022 22:25
Show Gist options
  • Save fwcd/20199db534ba3c9f1be59abba69cb249 to your computer and use it in GitHub Desktop.
Save fwcd/20199db534ba3c9f1be59abba69cb249 to your computer and use it in GitHub Desktop.
Google Summer of Code 2021

Overview

My Google Summer of Code 2021 project focused on improving developer tooling for the Swift programming language, including contributions to SourceKit-LSP, a language server for Swift, and to the Swift compiler itself.

Diagnostic Tags

Diagnostic tags let editors stylize warnings about unused or deprecated editors, e.g. using strikethrough or in a different color:

Example

Inlay Hints

Inlay hints let editors display inferred types next to variables and closure parameters that lack an explicit type annotation:

Example

Semantic Highlighting

Semantic tokens let editors colorize source code not just based on its syntactic structure, but also based on semantic information, e.g. differently depending on whether an identifier references a variable, function or type:

Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment