Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions IntelliJ-IDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# IntelliJ Setup Tutorial

> In this tutorial, I use CLion. But I think it will also works in WebStorm or IntelliJ which supports Makefile.

1. Follow [nodejs/node/BUILDING.md](https://github.com/nodejs/node/blob/main/BUILDING.md) to setup environment and build a project before we start CLion.

for example:

```shell
git clone https://github.com/nodejs/node.git node
cd node
./configure --debug
make -j8
```

make sure you have ran compilation successfully before next step.

2. Open CLion.
3. In popup, click 'OK'
4. Open 'Settings/Build, Execution, Development/Makefile'
1. Change 'Commands' in 'Pre-configuration...' to './configure --debug'
2. Use your own build options, like '-j32' or '-j4' depends your device.
5. Waiting for 'Updating indexes' done

## References

<https://github.com/nodejs/node-code-ide-configs/issues/9>
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
Here are some IDE specific configs you can use while developing on [Node.js core](https://github.com/nodejs/node)

- Visual Studio Code, see [./vscode.md](./vscode.md)
- IntelliJ IDEs, see [IntelliJ-IDE.md](./IntelliJ-IDE.md)