Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
136 lines (136 loc) · 3.71 KB
/
Copy pathpackage.json
File metadata and controls
136 lines (136 loc) · 3.71 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "python-ply-preview",
"displayName": "Python PLY Preview",
"description": "Preview Open3D point clouds, NumPy arrays and PyTorch tensors in a 3D viewer while debugging Python, right inside VS Code.",
"version": "0.2.1",
"publisher": "cmaranes",
"engines": {
"vscode": "^1.90.0"
},
"icon": "images/icon.png",
"categories": [
"Debuggers",
"Data Science",
"Visualization"
],
"keywords": [
"python",
"ply",
"numpy",
"open3d",
"3d",
"visualization",
"preview"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cmaranes/python-ply-preview"
},
"activationEvents": [
"onLanguage:python"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "python-ply-preview.view",
"title": "View as Point Cloud (PLY)",
"category": "Python PLY Preview"
}
],
"menus": {
"debug/variables/context": [
{
"command": "python-ply-preview.view",
"when": "debugType == debugpy || debugType == python",
"group": "navigation"
}
],
"debug/watch/context": [
{
"command": "python-ply-preview.view",
"when": "debugType == debugpy || debugType == python",
"group": "navigation"
}
],
"editor/context": [
{
"command": "python-ply-preview.view",
"when": "inDebugMode && editorLangId == python",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "python-ply-preview.view",
"when": "inDebugMode"
}
]
},
"customEditors": [
{
"viewType": "pythonPlyPreview.plyEditor",
"displayName": "Point Cloud Viewer (Python PLY Preview)",
"selector": [
{
"filenamePattern": "*.ply"
}
],
"priority": "option"
}
],
"configuration": {
"title": "Python PLY Preview",
"properties": {
"pythonPlyPreview.viewer": {
"type": "string",
"enum": [
"builtin",
"default"
],
"enumDescriptions": [
"Show point clouds in the built-in viewer.",
"Open the exported .ply file with the default editor for .ply files, for example the 3D Preview extension."
],
"default": "builtin",
"description": "Where point clouds previewed during debugging are shown."
},
"pythonPlyPreview.maxPoints": {
"type": "integer",
"minimum": 0,
"default": 1000000,
"markdownDescription": "Larger point clouds are randomly subsampled to this many points before export, to keep the debugger and the viewer responsive. The same points are kept every time. `0` exports every point."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./ && tsc -p src/webview && node esbuild.mjs",
"watch": "tsc -watch -p ./",
"watch:webview": "node esbuild.mjs --watch",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@types/three": "~0.186.0",
"@types/vscode": "^1.90.0",
"@typescript-eslint/eslint-plugin": "^8.72.0",
"@typescript-eslint/parser": "^8.72.0",
"@vscode/test-cli": "^0.0.15",
"@vscode/test-electron": "^3.1.0",
"esbuild": "~0.28.2",
"eslint": "^8.57.1",
"three": "~0.186.1",
"typescript": "^5.9.3"
},
"overrides": {
"serialize-javascript": "^7.0.7",
"brace-expansion": "^5.0.12",
"diff": "^8.0.3"
}
}