-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add full path to activate for conda activate command in windows. #2773
Conversation
This comment has been minimized.
This comment has been minimized.
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.
Perhaps post release we could create two separate files, one for Windows and other for Unix.
Its looking a little messy now as the code diverges more due to OS differences... Post release, or now if you feel upto it. Either way, it'll need to be split up for maintenance and testability.
src/client/common/terminal/environmentActivationProviders/condaActivationProvider.ts
Outdated
Show resolved
Hide resolved
src/client/common/terminal/environmentActivationProviders/condaActivationProvider.ts
Outdated
Show resolved
Hide resolved
src/client/common/terminal/environmentActivationProviders/condaActivationProvider.ts
Outdated
Show resolved
Hide resolved
src/client/common/terminal/environmentActivationProviders/condaActivationProvider.ts
Outdated
Show resolved
Hide resolved
src/client/common/terminal/environmentActivationProviders/condaActivationProvider.ts
Outdated
Show resolved
Hide resolved
src/client/common/terminal/environmentActivationProviders/condaActivationProvider.ts
Show resolved
Hide resolved
- add unit tests for the new functionality - handle 'conda' specified as the conda path (not a abs path)
4867720
to
4df2329
Compare
@DonJayamanne please review again. Note: Tested on powershell, pwsh, and cmd on Windows 10. Works as expected. One funny behaviour we have introduced though is the use of 'exit' commands from the terminal window. Users who use this method of closing the terminal will have to type it 3 times. |
For #2753
Any new/changed dependencies inpackage.json
are pinned (e.g."1.2.3"
, not"^1.2.3"
for the specified version)package-lock.json
has been regenerated by runningnpm install
(if dependencies have changed)