-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: add support for workspace folders #153
Merged
Merged
Changes from 31 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
8320bc8
feat: add support for workspace folders
aminya de845ff
chore: add getWorkspaceFolders function to AutoLanguageClient itself
aminya 54003e4
chore: move getWorkspaceFolders to ServerManager
aminya 9a4e39b
refactor: projectPathToWorkspaceFolder
aminya 51fc9ff
feat: send didChangeWorkspaceFolders notification
aminya 9cfced0
test: add getWorkspaceFolders tests
aminya 4bce862
fix: calculate pathsRemoved and pathsAdded for didChangeWorkspaceFolders
aminya 7f8cfba
fix: fix ServerManager._isStarted was never set to true
aminya d5d865f
fix: deprecate ServerManager.normalizePath and make it a free function
aminya 626d972
test: add createFakeLanguageServerProcess
aminya 55ec58d
test: add FakeAutoLanguageClient
aminya 5fc541f
test: add tests for getWorkspaceFolders
aminya 587803f
test: add test for didChangeWorkspaceFolders
aminya 2239841
chore: update spawk
aminya a00b28a
test: deactivate the client inside afterEach
aminya 10154ac
chore: rename getProjectPath methods
aminya 6f355e5
chore: move the const didChangeWorkspaceFoldersParams out of the loop
aminya f7b3d47
fix: use getPaths inside updateNormalizedProjectPaths
aminya ccbfc7d
fix: add readonly type to the methods for getting servers and paths
aminya f7949d2
test: add test for removing project path
aminya a063bed
fix: hold a separate cache for _previousNormalizedProjectPaths
aminya 58b6d7c
chore: move the deprecated method to the end
aminya f52f6ba
chore: remove duplicate code
aminya 764b050
chore: remove excess cast
aminya ab0b861
Merge branch 'master' into workspaceFolders
aminya da688ac
test: convert the tests to use Jasmine
aminya ceec07c
test: run beforeEach/afterEach for each it
aminya 47f8824
test: close all the editors and projects inside beforeEach
aminya a347f23
test: fix jasmine spy
aminya bae1d60
test: fix server projectPath was initialized two times
aminya ea66c7f
test: call beforeEach callback manually after the tests
aminya 43d6eaa
test: make createSpyConnection more realistic by adding return values
aminya cc2a82b
Merge branch 'master' into workspaceFolders
aminya 1d55e07
chore: update lock file
aminya 9599d7d
test: remove async functions from afterEachCallback
aminya 7c7fefd
test: use sleep inside the mock for lsp process
aminya 20be4c3
test: skip the ServerManager tests on MacOS
aminya cda0807
chore: clean up beforeEach and afterEach functions
UziTech File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ npm-debug.log | |
build/ | ||
yarn.lock | ||
package-lock.json | ||
.pnpm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
This was an irrelevant bug that I discovered here.