Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(vscode): create Visual Studio Code extension project #713

Merged
merged 38 commits into from Jun 21, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
bf03aa6
chore: yo code
alestiago Jun 9, 2023
933cd13
chore: moved files
alestiago Jun 9, 2023
4e67570
chore: setting up
alestiago Jun 9, 2023
1226201
feat: registered new-route command and menu
alestiago Jun 9, 2023
127aa8b
feat: some progess
alestiago Jun 9, 2023
3030e76
refactor: small changes
alestiago Jun 9, 2023
40692df
feat: improving creation
alestiago Jun 10, 2023
1505c87
feat: improved running experience
alestiago Jun 10, 2023
29db517
chore: formatter
alestiago Jun 10, 2023
125516b
docs: started contributing
alestiago Jun 10, 2023
5a8553e
docs: added TODOs
alestiago Jun 10, 2023
0b6a95b
docs: started Creating a Pull Request section
alestiago Jun 10, 2023
fd52ed8
docs: updated README.md
alestiago Jun 11, 2023
be5197e
docs: updated header
alestiago Jun 11, 2023
ed9dd48
chore: removed unused imports
alestiago Jun 11, 2023
32d5377
feat: support using new from command prompt
alestiago Jun 13, 2023
64c5927
feat: resolved TODOs
alestiago Jun 13, 2023
7ba97ab
test: mocha
alestiago Jun 13, 2023
7303458
test: remove tests
alestiago Jun 13, 2023
928791c
chore: removed ununsed dependencies
alestiago Jun 13, 2023
8e79acd
chore: removed .svg
alestiago Jun 14, 2023
3e39f26
chore: releasing configuration
alestiago Jun 14, 2023
d37887c
docs: developing extension
alestiago Jun 14, 2023
ccbc06c
docs: updated CHANGELOG
alestiago Jun 15, 2023
91b11e5
refactor: cleaning files
alestiago Jun 15, 2023
acf98ba
docs: update CONTRIBUTING.md
alestiago Jun 15, 2023
6a9ad77
docs: used npm run
alestiago Jun 15, 2023
11dff7e
Merge branch 'main' into feat/vs-code-extension
alestiago Jun 15, 2023
2f01bad
chore: added logo
alestiago Jun 18, 2023
d2740f0
chore: ammended package.json categories and keywords
alestiago Jun 18, 2023
34d3c50
chore: preparing for review
alestiago Jun 20, 2023
0ea60ea
chore: removed new-route command
alestiago Jun 20, 2023
4bb8abc
Merge branch 'main' into feat/add-only-vscode-extension
alestiago Jun 20, 2023
e03b601
chore: remove commands
alestiago Jun 20, 2023
bf83d02
Merge branch 'main' into feat/add-only-vscode-extension
alestiago Jun 20, 2023
51ece02
Update extensions/vscode/README.md
alestiago Jun 20, 2023
5be2ec2
Update extensions/vscode/README.md
alestiago Jun 20, 2023
3b543d6
Update extensions/vscode/README.md
alestiago Jun 20, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
24 changes: 24 additions & 0 deletions extensions/vscode/.eslintrc.json
@@ -0,0 +1,24 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off"
},
"ignorePatterns": [
"out",
"dist",
"**/*.d.ts"
]
}
5 changes: 5 additions & 0 deletions extensions/vscode/.gitignore
@@ -0,0 +1,5 @@
out
dist
node_modules
.vscode-test/
*.vsix
7 changes: 7 additions & 0 deletions extensions/vscode/.vscode/extensions.json
@@ -0,0 +1,7 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint"
]
}
34 changes: 34 additions & 0 deletions extensions/vscode/.vscode/launch.json
@@ -0,0 +1,34 @@
// A launch configuration that compiles the extension and then opens it inside a new window
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}"
],
"outFiles": [
"${workspaceFolder}/out/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
},
{
"name": "Extension Tests",
"type": "extensionHost",
"request": "launch",
"args": [
"--extensionDevelopmentPath=${workspaceFolder}",
"--extensionTestsPath=${workspaceFolder}/out/test/suite/index"
],
"outFiles": [
"${workspaceFolder}/out/test/**/*.js"
],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
11 changes: 11 additions & 0 deletions extensions/vscode/.vscode/settings.json
@@ -0,0 +1,11 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false // set this to true to hide the "out" folder with the compiled JS files
},
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off"
}
20 changes: 20 additions & 0 deletions extensions/vscode/.vscode/tasks.json
@@ -0,0 +1,20 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
}
]
}
10 changes: 10 additions & 0 deletions extensions/vscode/.vscodeignore
@@ -0,0 +1,10 @@
.vscode/**
.vscode-test/**
src/**
.gitignore
.yarnrc
vsc-extension-quickstart.md
**/tsconfig.json
**/.eslintrc.json
**/*.map
**/*.ts
21 changes: 21 additions & 0 deletions extensions/vscode/LICENSE
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Very Good Ventures

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
18 changes: 18 additions & 0 deletions extensions/vscode/README.md
@@ -0,0 +1,18 @@
[![Dart Frog Logo][logo_white]][dart_frog_link_dark]
[![Dart Frog Logo][logo_black]][dart_frog_link_light]

This is the [Dart Frog](https://dartfrog.vgv.dev/) [VS Code](https://code.visualstudio.com/) extension, which provides tools for effectively creating routes.

Developed with 💙 by [Very Good Ventures][very_good_ventures_link] 🦄

## Installation

Dart Frog can be installed from the [VS Code Marketplace](https://marketplace.visualstudio.com/vscode) or by [searching within VS Code](https://code.visualstudio.com/docs/editor/extension-gallery#_search-for-an-extension).

[ci_link]: https://github.com/VeryGoodOpenSource/dart_frog/actions/workflows/main.yaml
[dart_frog_link_dark]: https://github.com/verygoodopensource/dart_frog#gh-dark-mode-only
[dart_frog_link_light]: https://github.com/verygoodopensource/dart_frog#gh-light-mode-only
[license_link]: https://opensource.org/licenses/MIT
[logo_black]: https://raw.githubusercontent.com/VeryGoodOpenSource/dart_frog/main/assets/dart_frog_logo_black.png#gh-light-mode-only
[logo_white]: https://raw.githubusercontent.com/VeryGoodOpenSource/dart_frog/main/assets/dart_frog_logo_white.png#gh-dark-mode-only
[very_good_ventures_link]: https://verygood.ventures
Binary file added extensions/vscode/assets/logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.