Skip to content

Commit

Permalink
docs(rust): add VSCode rust-analyzer settings (#10498)
Browse files Browse the repository at this point in the history
  • Loading branch information
orlp authored Aug 15, 2023
1 parent d93a3c8 commit cc4a537
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions contribution/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,17 @@ let arr: PrimitiveArray = ...
let dtype: DataType = ...
let data_type: ArrowDataType = ...
```

# Visual Studio Code settings

In case you use Visual Studio Code, the following settings are recommended
for rust-analyzer to detect all code:

```json
{
"rust-analyzer.cargo.features": "all",
"rust-analyzer.linkedProjects": ["py-polars/Cargo.toml"],
}
```

You can place this in `.vscode/settings.json` in the repository root.

0 comments on commit cc4a537

Please sign in to comment.