Bugzilla will undergo maintenance 2024-03-29 18h00 CET. Bugzilla will be placed in read-only mode at that time.

Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 573712 - Populate WSL terminals in Eclipse like we do for git bash
Summary: Populate WSL terminals in Eclipse like we do for git bash
Status: RESOLVED FIXED
Alias: None
Product: CDT
Classification: Tools
Component: terminal (show other bugs)
Version: Next   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: 10.3.0   Edit
Assignee: Jonah Graham CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-22 19:19 EDT by Jonah Graham CLA
Modified: 2021-05-24 17:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonah Graham CLA 2021-05-22 19:19:28 EDT
It looks like it is pretty straightforward to do this:

1) see if wsl.exe is present/runnable (is there a better way to know) 
2) call wsl.exe --list, it produces output like
Windows Subsystem for Linux Distributions:
Ubuntu-18.04 (Default)
3) Add wsl.exe --distribution Ubuntu-18.04 for each of the items in the list, perhaps + the default one.

Open question is when to refresh this list?
Comment 1 Eclipse Genie CLA 2021-05-23 00:21:05 EDT
New Gerrit change created: https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/180921
Comment 2 Eclipse Genie CLA 2021-05-23 00:21:07 EDT
New Gerrit change created: https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/180922
Comment 3 Eclipse Genie CLA 2021-05-23 00:21:10 EDT
New Gerrit change created: https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/180924
Comment 7 Jonah Graham CLA 2021-05-24 17:00:56 EDT
Done and added to N&N - https://wiki.eclipse.org/CDT/User/NewIn103#Terminal_-_New_Features