Files
sdk/pkg/analysis_server
Kallen Tu 386a147b58 [linter] Primary constructors - Add lint 'var_with_no_type_annotation'
This new lint fires when a formal parameter is declared with `var` and
no type annotation.

We're adding this lint to ease the migration for when primary
constructors is enabled. Adding a quick-fix for this lint will come in a
follow-up CL.

Tests:
- Class methods, extension methods, extension type methods, mixin
methods, constructors, setters, functions
- Initializing formals
- Super parameters
- Function typed parameters
- Named parameters, positional parameters, optional parameters, required
parameters,

Bug: https://github.com/dart-lang/sdk/issues/61591
Change-Id: Ib09c87e234cde4be024af0b9d8a1e3e0a371e777
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/481620
Commit-Queue: Kallen Tu <kallentu@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2026-02-20 09:34:45 -08:00
..

analysis_server

A long-running process that provides analysis results to other tools.

The analysis server is designed to provide on-going analysis of one or more code bases as those code bases are changing.

Using the server

The analysis server is not intended to be used stand-alone, and therefore does not have a human-friendly user interface.

Clients (typically tools, such as an editor) are expected to run the analysis server in a separate process and communicate with it using a JSON protocol. The original protocol is specified in the file analysis_server/doc/api.html and Language Server Protocol support is documented in tool/lsp_spec/README.md.

Features and bugs

Please file feature requests and bugs at the issue tracker.