Skip to content

Commit 93a3a97

Browse files
committed
Initial commit
0 parents  commit 93a3a97

17 files changed

+4484
-0
lines changed

.eslintrc.js

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// This is a workaround for https://github.com/eslint/eslint/issues/3458
2+
require("@rushstack/eslint-config/patch/modern-module-resolution");
3+
4+
module.exports = {
5+
extends: ["@rushstack/eslint-config/profile/node"],
6+
parserOptions: { tsconfigRootDir: __dirname },
7+
};

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
out
2+
node_modules
3+
*.vsix

.prettierignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
out
2+
node_modules
3+
*.vsix

.vscode/extensions.json

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
3+
}

.vscode/launch.json

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"version": "0.2.0",
3+
"configurations": [
4+
{
5+
"name": "Run Extension",
6+
"type": "extensionHost",
7+
"request": "launch",
8+
"args": ["--extensionDevelopmentPath=${workspaceFolder}"],
9+
"outFiles": ["${workspaceFolder}/out/**/*.js"],
10+
"preLaunchTask": "${defaultBuildTask}"
11+
}
12+
]
13+
}

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"typescript.tsc.autoDetect": "off",
3+
"editor.defaultFormatter": "esbenp.prettier-vscode",
4+
"editor.formatOnSave": true
5+
}

.vscode/tasks.json

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"type": "npm",
6+
"script": "watch",
7+
"problemMatcher": "$tsc-watch",
8+
"isBackground": true,
9+
"presentation": {
10+
"reveal": "never"
11+
},
12+
"group": {
13+
"kind": "build",
14+
"isDefault": true
15+
}
16+
}
17+
]
18+
}

.vscodeignore

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
*
2+
*/**
3+
4+
!CHANGELOG.md
5+
!LICENSE.md
6+
!out/extension.js
7+
!package.json
8+
!README.md
9+
!resources/icon.png

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Change Log
2+
3+
## 0.1.0 - 2022-08-25
4+
5+
- Initial release

LICENSE.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
The MIT License (MIT)
2+
3+
Copyright © 2022 Ben McMorran
4+
5+
Permission is hereby granted, free of charge, to any person
6+
obtaining a copy of this software and associated documentation
7+
files (the "Software"), to deal in the Software without
8+
restriction, including without limitation the rights to use,
9+
copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the
11+
Software is furnished to do so, subject to the following
12+
conditions:
13+
14+
The above copyright notice and this permission notice shall be
15+
included in all copies or substantial portions of the Software.
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
19+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
21+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
22+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
23+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
24+
OTHER DEALINGS IN THE SOFTWARE.

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# VS Code API Explorer
2+
3+
![demo](resources/demo.gif)
4+
5+
This extension adds a new "VS Code API Explorer" terminal profile. Unlike a normal Node REPL, it is hosted directly in the VS Code extension host process and has access to the VS Code API through the predefined `vscode` variable. This makes it easy to experiment with the API or better understand edge cases that aren't covered in the documentation.
6+
7+
## Contributing
8+
9+
If you encounter problems or have ideas for new features, please open [open an issue](https://github.com/benmcmorran/vscode-api-explorer/issues/new).
10+
11+
Contributions are also welcome! To get started, clone the repo, run `npm install` and then press F5 to build and start debugging. Once your changes are ready, [open a pull request](https://github.com/benmcmorran/vscode-api-explorer/compare).
12+
13+
## Credits
14+
15+
[Icon](https://www.flaticon.com/free-icon/development-plan_4248507) made by [Smashicons](https://www.flaticon.com/authors/smashicons) from [www.flaticon.con](https://www.flaticon.com)

0 commit comments

Comments
 (0)