-
Notifications
You must be signed in to change notification settings - Fork 734
Multiproject requests like find all refs, rename and workspace symbols #1991
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
46a8abe to
f66df9c
Compare
Also remove unnecessary program update when doing gc on projects
… with -v so we can diagnose which test is failing
97ecb11 to
72e09da
Compare
| "gotest.tools/v3/assert" | ||
| ) | ||
|
|
||
| type testServer struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added this to baseline the project state and watching stuff - also allows to not open all files and control which one to open instead of fourslash opening all files. (to control which project is open).
i havent yet ported tests for watching and lifetime of project but i will do that separately
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates test baselines to reflect improved formatting and line numbering consistency in the test output files. The changes normalize how JSON content and TypeScript code are displayed in baseline files, removing inconsistent indentation and adding proper line numbers to all content.
Key Changes
- Standardized line numbering for all file content in test baselines
- Normalized JSON formatting to use consistent indentation (4 spaces)
- Fixed indentation for TypeScript code blocks in test files
- Updated hash values in tsbuildinfo files to reflect the normalized content
Reviewed Changes
Copilot reviewed 100 out of 125 changed files in this pull request and generated 62 comments.
Show a summary per file
| File | Description |
|---|---|
| tsc/moduleResolution/alternateResult.js | Added line numbers to JSON package files and normalized their indentation |
| tsc/declarationEmit/when-using-Windows-paths-and-uppercase-letters.js | Standardized indentation for TypeScript source code and adjusted error column positions |
| tsbuildWatch/projectsBuilding/*.js | Normalized tsconfig.json indentation across multiple project building tests |
| tsbuildWatch/programUpdates/*.js | Updated file content formatting and corresponding hash values in tsbuildinfo |
| tsbuild/resolveJsonModule/*.js | Consistent JSON formatting for all tsconfig.json files |
| lspservertests/rename/*.js | Added complete baseline content for new rename test cases |
| lspservertests/findAllRefs/*.js | Added complete baseline content for new find all references test cases |
...s/reference/lspservertests/declarationMaps/findAllReferences-definition-is-in-mapped-file.js
Show resolved
Hide resolved
...selines/reference/lspservertests/declarationMaps/findAllReferences-starting-at-definition.js
Show resolved
Hide resolved
...aselines/reference/lspservertests/declarationMaps/findAllReferences-target-does-not-exist.js
Show resolved
Hide resolved
...rvertests/findAllRefs/special-handling-of-localness-when-using-method-of-class-expression.js
Show resolved
Hide resolved
...ervertests/findAllRefs/special-handling-of-localness-when-using-arrow-function-assignment.js
Show resolved
Hide resolved
...pservertests/findAllRefs/special-handling-of-localness-when-using-object-literal-property.js
Show resolved
Hide resolved
testdata/baselines/reference/lspservertests/rename/rename-in-common-file-renames-all-project.js
Show resolved
Hide resolved
testdata/baselines/reference/lspservertests/rename/ancestor-and-project-ref-management.js
Show resolved
Hide resolved
jakebailey
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some comments; have not read the entire thing yet.
No description provided.