summaryrefslogtreecommitdiff
path: root/docs/docs/concepts/ide.md
blob: b9bb8dbe3c5cb26ee7e076ba91e880fd91c0925f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
# IDE

## One sentence definition

The `IDE` is 

## What else to know

*TODO: Explain in detail what this is and what its purpose is*

## Supported IDEs

### VS Code

The VS Code extension implementation can be found at `/continue/extension/src`

### GitHub Codespaces

## IDE Protocol methods

### handle_json

Handle a json message

### showSuggestion

Show a suggestion to the user

### getWorkspaceDirectory

Get the workspace directory

### setFileOpen

Set whether a file is open

### openNotebook

Open a notebook

### showSuggestionsAndWait

Show suggestions to the user and wait for a response

### onAcceptRejectSuggestion

Called when the user accepts or rejects a suggestion

### onTraceback

Called when a traceback is received

### onFileSystemUpdate

Called when a file system update is received

### onCloseNotebook

Called when a notebook is closed

### onOpenNotebookRequest

Called when a notebook is requested to be opened

### getOpenFiles

Get a list of open files

### getHighlightedCode

Get a list of highlighted code

### readFile

Read a file

### readRangeInFile

Read a range in a file

### editFile

Edit a file

### applyFileSystemEdit

Apply a file edit

### saveFile

Save a file