Skip to content

Commit

Permalink
Support VSCode.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Sep 10, 2024
1 parent 2fe74ed commit 68bd9e1
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.vscode

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down
44 changes: 44 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Launch EN",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"start-en"
]
},
{
"type": "node",
"request": "launch",
"name": "Launch CN",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"start-cn"
]
},
{
"type": "node",
"request": "launch",
"name": "Build",
"skipFiles": [
"<node_internals>/**"
],
"runtimeExecutable": "npm",
"runtimeArgs": [
"run",
"build"
]
}
]
}
4 changes: 4 additions & 0 deletions i18n/en-us/docusaurus-plugin-content-docs/current/doc/ide.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ hide_table_of_contents: false

SRS supports JetBrains [CLion](http://www.jetbrains.com/clion/)

## VSCode

See [VSCode: Usage](https://github.com/ossrs/srs/blob/develop/.vscode/README.md) for example.

## JetBrains

The clion of JetBrains, please open `trunk/ide/srs_clion/CMakeLists.txt`
Expand Down
4 changes: 4 additions & 0 deletions i18n/zh-cn/docusaurus-plugin-content-docs/current/doc/ide.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ hide_table_of_contents: false

关于SRS的IDE(集成开发环境)。

## VSCode

See [VSCode: Usage](https://github.com/ossrs/srs/blob/develop/.vscode/README.md) for example.

## CLion

SRS只支持JetBrains的[CLion](http://www.jetbrains.com/clion/),它是基于cmake编译的。
Expand Down

0 comments on commit 68bd9e1

Please sign in to comment.