Skip to content

Commit 123796d

Browse files
authored
Merge pull request #50 from datacoves/document-claude-code
Document Claude Code
2 parents 3e05de8 + 7e27552 commit 123796d

1 file changed

Lines changed: 49 additions & 0 deletions

File tree

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
---
2+
title: Use Claude Code in the Datacoves VS Code IDE
3+
sidebar_label: Claude Code
4+
description: "Set up and log in to Claude Code in the Datacoves VS Code environment to get AI-powered help for SQL and Python files."
5+
sidebar_position: 2
6+
---
7+
8+
# Claude Code
9+
10+
[Claude Code](https://www.anthropic.com/claude-code) is an AI coding assistant available as both a CLI tool and a VS Code extension in Datacoves.
11+
12+
## Prerequisites
13+
14+
- A [Claude](https://claude.ai) account
15+
- Claude Code enabled in your Datacoves environment. Contact [Datacoves support](mailto:support@datacoves.com) to enable it.
16+
17+
## Login
18+
19+
1. Open a terminal in your Datacoves VS Code workspace
20+
21+
2. Run:
22+
23+
```bash
24+
claude login
25+
```
26+
27+
3. Follow the instructions in the terminal
28+
29+
4. When you get the prompt **"Do you want code-server to open the external website?"**, click **Cancel**
30+
31+
5. Ctrl-click (Cmd-click on Mac) the link shown in the terminal
32+
33+
6. Click open in the promp that appears
34+
35+
7. Authenticate in the browser tab that opens
36+
37+
8. Copy the code shown after authentication and paste it back in the terminal where prompted
38+
39+
9. Press **Enter**
40+
41+
Both the CLI and the VS Code extension are now authenticated.
42+
43+
## Trouble copying text from the terminal
44+
45+
If you have problems copying text from Claude Code in the VS Code terminal, run this command inside Claude Code:
46+
47+
```
48+
/tui default
49+
```

0 commit comments

Comments
 (0)