rust-analyzer/editors/code
Josh McKinney 45a881313a
feat: use vscode log format for client logs
This change updates the log format to use the vscode log format instead
of the custom log format, by replacing the `OutputChannel` with a
`LogOutputChannel` and using the `debug`, `info`, `warn`, and `error`
methods on it. This has the following benefits:

- Each log level now has its own color and the timestamp is in a more
  standard format
- Inspect output (e.g. the log of the config object) is now colored
- Error stack traces are now shown in the output
- The log level is now controlled on the output tab by clicking the gear
  icon and selecting "Debug" or by passing the `--log` parameter to
  vscode. The `trace.extension` setting has been marked as deprecated.
2024-07-27 21:43:35 -07:00
..
src feat: use vscode log format for client logs 2024-07-27 21:43:35 -07:00
tests fix: Fix runnables being incorrectly constructed 2024-07-06 20:23:14 +02:00
.eslintignore vscode extension: use esbuild instead of rollup. 2021-08-10 10:18:08 +01:00
.eslintrc.js editor/code: Update typescript-eslint to v6 2023-07-13 22:44:29 +09:00
.gitignore Add experimental VSCode api 2022-03-04 07:45:51 +02:00
.prettierignore prettier config 2022-05-17 18:12:49 +01:00
.prettierrc.js prettier config 2022-05-17 18:12:49 +01:00
.vscodeignore internal: Revert #16541 2024-02-27 15:48:30 +01:00
icon.png Extension icon 2020-01-15 16:07:39 +01:00
language-configuration.json fix: support auto-closing for triple backticks 2024-04-11 18:46:22 +08:00
LICENSE Add LICENSE file to make vsce happy 2021-12-04 12:29:27 +02:00
package-lock.json Chore(deps-dev): Bump braces from 3.0.2 to 3.0.3 in /editors/code 2024-06-11 09:01:41 +00:00
package.json feat: use vscode log format for client logs 2024-07-27 21:43:35 -07:00
ra_syntax_tree.tmGrammar.json prettier run 2022-05-17 18:15:06 +01:00
README.md Improve extension description and README 2022-05-13 18:15:33 +02:00
tsconfig.eslint.json prettier run 2022-05-17 18:15:06 +01:00
tsconfig.json internal: Remove unnecessary Arc allocations in macro_expand 2024-01-03 15:21:18 +01:00

rust-analyzer

This extension provides support for the Rust programming language. It is recommended over and replaces rust-lang.rust.

Features

Quick start

  1. Install rustup.
  2. Install the rust-analyzer extension.

Configuration

This extension provides configurations through VSCode's configuration settings. All configurations are under rust-analyzer.*.

See the manual for more information on VSCode specific configurations.

Communication

For usage and troubleshooting requests, please use the "IDEs and Editors" category of the Rust forum.

Documentation

See rust-analyzer.github.io for more information.