Skip to content

Commit ea6fadc

Browse files
feat: Stac VS Code Plugin (#448)
1 parent ab5cc15 commit ea6fadc

66 files changed

Lines changed: 10641 additions & 12 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Miscellaneous
22
*.class
3+
**/node_modules/
34
*.log
45
*.pyc
56
*.swp
@@ -45,3 +46,10 @@ mason-lock.json
4546

4647
# FVM Version Cache
4748
.fvm/
49+
50+
# VS Code extension (stac-vscode)
51+
tools/stac-vscode/out/
52+
tools/stac-vscode/build/
53+
*.vsix
54+
.eslintcache
55+
.vscode-test/

examples/counter_example/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -452,10 +452,10 @@ packages:
452452
dependency: transitive
453453
description:
454454
name: matcher
455-
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
455+
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
456456
url: "https://pub.dev"
457457
source: hosted
458-
version: "0.12.18"
458+
version: "0.12.19"
459459
material_color_utilities:
460460
dependency: transitive
461461
description:
@@ -861,10 +861,10 @@ packages:
861861
dependency: transitive
862862
description:
863863
name: test_api
864-
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
864+
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
865865
url: "https://pub.dev"
866866
source: hosted
867-
version: "0.7.9"
867+
version: "0.7.10"
868868
timing:
869869
dependency: transitive
870870
description:

examples/movie_app/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -388,10 +388,10 @@ packages:
388388
dependency: transitive
389389
description:
390390
name: matcher
391-
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
391+
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
392392
url: "https://pub.dev"
393393
source: hosted
394-
version: "0.12.18"
394+
version: "0.12.19"
395395
material_color_utilities:
396396
dependency: transitive
397397
description:
@@ -789,10 +789,10 @@ packages:
789789
dependency: transitive
790790
description:
791791
name: test_api
792-
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
792+
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
793793
url: "https://pub.dev"
794794
source: hosted
795-
version: "0.7.9"
795+
version: "0.7.10"
796796
typed_data:
797797
dependency: transitive
798798
description:

examples/stac_gallery/pubspec.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -428,10 +428,10 @@ packages:
428428
dependency: transitive
429429
description:
430430
name: matcher
431-
sha256: "12956d0ad8390bbcc63ca2e1469c0619946ccb52809807067a7020d57e647aa6"
431+
sha256: dc0b7dc7651697ea4ff3e69ef44b0407ea32c487a39fff6a4004fa585e901861
432432
url: "https://pub.dev"
433433
source: hosted
434-
version: "0.12.18"
434+
version: "0.12.19"
435435
material_color_utilities:
436436
dependency: transitive
437437
description:
@@ -860,10 +860,10 @@ packages:
860860
dependency: transitive
861861
description:
862862
name: test_api
863-
sha256: "93167629bfc610f71560ab9312acdda4959de4df6fac7492c89ff0d3886f6636"
863+
sha256: "8161c84903fd860b26bfdefb7963b3f0b68fee7adea0f59ef805ecca346f0c7a"
864864
url: "https://pub.dev"
865865
source: hosted
866-
version: "0.7.9"
866+
version: "0.7.10"
867867
typed_data:
868868
dependency: transitive
869869
description:

tools/stac-vscode/.vscode-test.mjs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from '@vscode/test-cli';
2+
3+
export default defineConfig({
4+
files: 'out/test/**/*.test.js',
5+
});
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
// See http://go.microsoft.com/fwlink/?LinkId=827846
3+
// for the documentation about the extensions.json format
4+
"recommendations": [
5+
"dbaeumer.vscode-eslint",
6+
"ms-vscode.extension-test-runner"
7+
]
8+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
// Use IntelliSense to learn about possible attributes.
3+
// Hover to view descriptions of existing attributes.
4+
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+
{
6+
"version": "0.2.0",
7+
"configurations": [
8+
{
9+
"name": "Run Extension",
10+
"type": "extensionHost",
11+
"request": "launch",
12+
"args": [
13+
"--extensionDevelopmentPath=${workspaceFolder}"
14+
],
15+
"outFiles": [
16+
"${workspaceFolder}/out/**/*.js"
17+
],
18+
"preLaunchTask": "${defaultBuildTask}"
19+
}
20+
]
21+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Place your settings in this file to overwrite default and user settings.
2+
{
3+
"files.exclude": {
4+
"out": false // set this to true to hide the "out" folder with the compiled JS files
5+
},
6+
"search.exclude": {
7+
"out": true // set this to false to include "out" folder in search results
8+
},
9+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
10+
"typescript.tsc.autoDetect": "off"
11+
}
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// See https://go.microsoft.com/fwlink/?LinkId=733558
2+
// for the documentation about the tasks.json format
3+
{
4+
"version": "2.0.0",
5+
"tasks": [
6+
{
7+
"type": "npm",
8+
"script": "watch",
9+
"problemMatcher": "$tsc-watch",
10+
"isBackground": true,
11+
"presentation": {
12+
"reveal": "never"
13+
},
14+
"group": {
15+
"kind": "build",
16+
"isDefault": true
17+
}
18+
}
19+
]
20+
}

tools/stac-vscode/.vscodeignore

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
.vscode/**
2+
.vscode-test/**
3+
src/**
4+
.gitignore
5+
.yarnrc
6+
vsc-extension-quickstart.md
7+
**/tsconfig.json
8+
**/eslint.config.mjs
9+
**/*.map
10+
**/*.ts
11+
**/.vscode-test.*
12+
preview_host/.dart_tool/**
13+
preview_host/build/**
14+
preview_host/.flutter-plugins
15+
preview_host/.flutter-plugins-dependencies

0 commit comments

Comments
 (0)