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
Open in Fink link does not include branch | Sherlock 🕵️♂️ #2742
Open in Fink link does not include branch | Sherlock 🕵️♂️ #2742
Conversation
The openInEditor command in the Sherlock IDE extension has been updated to change the title to "Sherlock: Open in Fink". Additionally, a new branch parameter has been added to the command callback function, allowing users to specify a branch when opening the editor. This change improves the usability and flexibility of the command.
This commit adds a new utility function called getCurrentBranch to the inlang/source-code/ide-extension/src/utilities/settings directory. The function retrieves the current branch of the git repository and allows for testing with functional code. This addition improves the functionality and flexibility of the IDE extension.
The openInEditor command in the Sherlock IDE extension has been refactored to use the openInFink function instead. This change improves the clarity and consistency of the codebase.
The openInEditor command in the Sherlock IDE extension has been refactored to use the openInFink function instead. This change improves the clarity and consistency of the codebase.
Refactor the openInEditor command in the Sherlock IDE extension to use the openInFink function instead. This improves codebase clarity and consistency.
The openInEditor command in the Sherlock IDE extension has been renamed to openInFink. This change improves codebase clarity and consistency.
🦋 Changeset detectedLatest commit: aab8f5d The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
…s-not-include-branch
@felixhaeberle seems to be unrelated to the branch thing but a problem with finding the repo root, let me know if that helps or i should debug/ fix the pr directly
|
@janfjohannes I basically copied the test setup from the test you wrote so it would be cool if you could look into it with the mocked repo state. |
@felixhaeberle looks like just your mocking setup was bad, please try to avoid mocks like hell. |
fix SHERL-25
cc @janfjohannes can you please check why
test-symlink
isn't recognized as return value forrepo.getCurrentBranch()
inmonorepo/inlang/source-code/ide-extension/src/utilities/settings/getCurrentBranch.test.ts
Line 36 in f6b654b