ruff/crates/ruff_server/src
Jane Lewis 2cc487eb22
`ruff server`: Introduce settings for directly configuring the linter and formatter (#10984)
## Summary

The following client settings have been introduced to the language
server:
* `lint.preview`
* `format.preview`
* `lint.select`
* `lint.extendSelect`
* `lint.ignore`
* `exclude`
* `lineLength`

`exclude` and `lineLength` apply to both the linter and formatter.

This does not actually use the settings yet, but makes them available
for future use.

## Test Plan

Snapshot tests have been updated.
2024-04-18 07:53:48 +00:00
..
edit `ruff server` now supports `source.fixAll` source action (#10597) 2024-04-03 16:22:17 +00:00
server `ruff server` refreshes diagnostics for open files when file configuration is changed (#10988) 2024-04-17 09:14:45 -07:00
session `ruff server`: Introduce settings for directly configuring the linter and formatter (#10984) 2024-04-18 07:53:48 +00:00
edit.rs `ruff server` now supports commands for auto-fixing, organizing imports, and formatting (#10654) 2024-04-05 23:27:35 +00:00
fix.rs `ruff server` now supports `source.fixAll` source action (#10597) 2024-04-03 16:22:17 +00:00
format.rs `ruff server` - A new built-in LSP for Ruff, written in Rust (#10158) 2024-03-08 20:57:23 -08:00
lib.rs `ruff server`: Important errors are now shown as popups (#10951) 2024-04-16 18:32:53 +00:00
lint.rs `ruff server` now supports commands for auto-fixing, organizing imports, and formatting (#10654) 2024-04-05 23:27:35 +00:00
message.rs `ruff server`: Important errors are now shown as popups (#10951) 2024-04-16 18:32:53 +00:00
server.rs `ruff server`: Important errors are now shown as popups (#10951) 2024-04-16 18:32:53 +00:00
session.rs `ruff server`: Resolve configuration for each document individually (#10950) 2024-04-16 18:15:02 +00:00