# 4.2 同步編輯器

## 介紹

同步編輯器是提供給教師在現場教學的好用功具，讓教師可以在Code Judger上編寫的程式碼，能夠即時的同步顯示至學生端的電腦；學生可利用同步編輯器編修教師提供的程式碼。

並具有線上提問功能，學生能在線上提問，教師可立即看到學生提問的內容；學生提問的內容可包含程式碼及問題描述。

而且，同步編輯器還能將老師的程式碼在線上執行，並能鍵入程式所需的輸入值，最終產生程式執行後的輸出值。

## 同步編輯器-老師端

![同步編輯器-老師端](/files/LPoTh1FRHhI0EgzRCCUE)

## 同步編輯器-學生端

![同步編輯器-學生端](/files/ml0GdavqBFm1cokdDO4b)

## 操作示範影片：<https://youtu.be/k06Oe4BonO4>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://csfrd.gitbook.io/cjmanualv2/chapter04/synceditor.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
