Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

feat(vscode): try to resolve the rome package from the workspace root #3717

Merged
merged 2 commits into from
Nov 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions editors/vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ The extension automatically loads the `rome.json` file from the workspace’s ro

## Rome Resolution

The extension uses the Rome version shipped with the extension. We plan to automatically detect the Rome version from the project in an upcoming release.
The extension tries to use Rome from your project's local dependencies (`node_modules/rome`). We recommend adding Rome as a project dependency to ensure that NPM scripts and the extension use the same Rome version.

<!-- The extension tries to use Rome from your project's local dependencies (`node_modules/rome`). We recommend adding Rome as a project dependency to ensure that NPM scripts and the extension use the same Rome version.
You can also explicitly specify the `rome` binary the extension should use by configuring the `rome.lspBin` setting in your editor options.

The extension uses the Rome version bundled with the extension if the project has no dependency on Rome. -->
If the project has no dependency on Rome and no explicit path is configured, the extension uses the Rome version included in its bundle.

## Usage

Expand Down
Loading