diff --git a/docs/guide/ide-integration.md b/docs/guide/ide-integration.md index 4aef237b1d..07c269aeb9 100644 --- a/docs/guide/ide-integration.md +++ b/docs/guide/ide-integration.md @@ -151,8 +151,10 @@ You can also manually set up the IDE configuration to match your Vite+ setup: ``` -Often, `.idea` folders are gitignored in a project, even the `externalDependencies.xml` file. Adding the `.idea/.gitignore` file with the following content will help ensure that it is present: +Often, `.idea` folders are gitignored in a project, even the `externalDependencies.xml` file, which is used to tell your IDE what plugins should be used for the workspace. -```gitignore [.idea/.gitignore] -!externalDependencies.xml +Please make sure to add this line to your main `.gitignore` file, to ensure that the file will be included: + +```gitignore [.gitignore] +!.idea/externalDependencies.xml ``` diff --git a/packages/cli/src/utils/__tests__/editor.spec.ts b/packages/cli/src/utils/__tests__/editor.spec.ts index bf8746f06a..a3609f2349 100644 --- a/packages/cli/src/utils/__tests__/editor.spec.ts +++ b/packages/cli/src/utils/__tests__/editor.spec.ts @@ -665,9 +665,6 @@ describe('writeEditorConfigs', () => { expect(oxfmtSettingsXml).toContain( '