|
1 | | -//TODO: add detailed guide to resolve terminal dependency issue across different versions of IDEs |
| 1 | +# Resolving Terminal Dependency Issues in Copilot for Eclipse |
| 2 | + |
| 3 | +When using the Copilot plugin in Eclipse, Copilot requires the IDE to have terminal-related dependencies installed in order to support the `runInTerminal` tool in Agent Mode. |
| 4 | + |
| 5 | +If these dependencies are missing, Copilot will still function normally for most features, but `runInTerminal` cannot execute properly. When the IDE starts, you will see a dialog notifying you about the missing terminal dependencies. |
| 6 | +<img width="1045" height="634" alt="image" src="https://github.com/user-attachments/assets/045708aa-51d8-40d8-953b-4474c5026973" /> |
| 7 | + |
| 8 | +If you do not plan to use the `runInTerminal` tool, you may choose **"Don't show this message again"**, and this will not affect any other Copilot features. |
| 9 | + |
| 10 | +This guide explains how to install the required terminal features to fully enable `runInTerminal` support. |
| 11 | + |
| 12 | +## Steps to Fix the Terminal Dependency Issue |
| 13 | + |
| 14 | +### 1. Open the "Install New Software" Dialog |
| 15 | + |
| 16 | +In Eclipse, click **Help → Install New Software…** |
| 17 | +<img width="3839" height="2091" alt="图像 (1)" src="https://github.com/user-attachments/assets/61e9ca5a-fe00-40e3-ad68-83fd77b6afee" /> |
| 18 | + |
| 19 | + |
| 20 | +### 2. Select All Available Sites |
| 21 | + |
| 22 | +In the Install dialog, find the **Work with** dropdown and select **All Available Sites**. |
| 23 | +<img width="1970" height="1063" alt="图像 (2)" src="https://github.com/user-attachments/assets/2916fdcf-9d9f-4fc4-8b55-461c246ecc87" /> |
| 24 | + |
| 25 | + |
| 26 | +### 3. Search for the Required Terminal Feature |
| 27 | + |
| 28 | +Use the search box to look for the correct terminal feature based on your IDE version: |
| 29 | + |
| 30 | +| Eclipse IDE Version | Feature Name to Search | |
| 31 | +|---------------------|------------------------| |
| 32 | +| Before 2025-09 | TM Terminal | |
| 33 | +| 2025-09 and later | Terminal Feature | |
| 34 | + |
| 35 | +**Before 2025-09** |
| 36 | + |
| 37 | +<img width="1970" height="1065" alt="图像 (3)" src="https://github.com/user-attachments/assets/b3ebca28-99ef-4869-be16-3f5c3b2662b6" /> |
| 38 | + |
| 39 | +**2025-09 and later** |
| 40 | + |
| 41 | +<img width="1968" height="1066" alt="图像 (4)" src="https://github.com/user-attachments/assets/fe4b4c57-0555-4174-a971-c05310317762" /> |
| 42 | + |
| 43 | + |
| 44 | +### 4. Locate and Install the Matching Feature |
| 45 | + |
| 46 | +1. Wait for the search results to load (this may take some time) |
| 47 | +2. Expand the result categories |
| 48 | +3. Select the correct terminal feature |
| 49 | +4. Click **Next** to download and install |
| 50 | + |
| 51 | +**Before 2025-09** |
| 52 | + |
| 53 | +<img width="1973" height="1068" alt="图像 (6)" src="https://github.com/user-attachments/assets/333aab23-09c0-4a13-9fae-83d4879de479" /> |
| 54 | + |
| 55 | +**2025-09 and later** |
| 56 | + |
| 57 | +<img width="1968" height="1061" alt="图像 (5)" src="https://github.com/user-attachments/assets/9f1db515-570a-4cf7-b23f-dde726e83689" /> |
| 58 | + |
| 59 | + |
| 60 | + |
| 61 | +### 5. Restart the IDE |
| 62 | + |
| 63 | +After installation completes, Eclipse will prompt you to restart. |
| 64 | + |
| 65 | +Once restarted, Copilot will work with full terminal support, and the `runInTerminal` tool will function normally. |
0 commit comments