Skip to content

Commit a63dc2c

Browse files
authored
Merge pull request #23 from alcarney/develop
New Release
2 parents 613f969 + f53ea06 commit a63dc2c

18 files changed

Lines changed: 4256 additions & 53 deletions

File tree

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
*.pyc
44

55
dist
6+
node_modules
67
.mypy_cache
78
__pycache__
89
*.egg-info

.vscode/settings.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
{
2+
"[python]": {
3+
"editor.defaultFormatter": "ms-python.black-formatter",
4+
"editor.formatOnSave": true,
5+
"editor.codeActionsOnSave": {
6+
"source.organizeImports": true
7+
}
8+
},
9+
"isort.args": [
10+
"--settings-file",
11+
"./lib/lsp-devtools/pyproject.toml"
12+
],
213
"files.exclude": {
314
"**/.git": true,
415
"**/.svn": true,

app/index.html

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>LSP Devtools</title>
9+
10+
<link rel="stylesheet" href="./dist/styles.css">
11+
<script defer src="./dist/index.js"></script>
12+
</head>
13+
14+
<body>
15+
<div class="flex flex-column justify-between">
16+
<div>
17+
<table class="border-collapse ">
18+
<thead>
19+
<tr class="py-2">
20+
<th class="px-4">Timestamp</th>
21+
<th class="px-4">Source</th>
22+
<th class="px-4">ID</th>
23+
<th class="px-4">Method</th>
24+
<th class="px-4">Params</th>
25+
<th class="px-4">Result</th>
26+
<th class="px-4">Error</th>
27+
</tr>
28+
</thead>
29+
<tbody id="table-body">
30+
</tbody>
31+
</table>
32+
</div>
33+
<div id="json-viewer" class="h-screen sticky top-0 flex-grow max-w-[40vw]">
34+
35+
</div>
36+
</div>
37+
38+
<template id="table-row">
39+
<tr class="border-t py-1">
40+
<td class="px-4"></td>
41+
<td class="px-4"></td>
42+
<td class="px-4 text-right"></td>
43+
<td class="px-4"></td>
44+
<td class="px-2"></td>
45+
<td class="px-2"></td>
46+
<td class="px-2"></td>
47+
</tr>
48+
</template>
49+
50+
<template id="view-button">
51+
<button
52+
class="flex px-2 py-1 text-sm items-center justify-between bg-blue-500 hover:bg-blue-400 rounded-md text-white">
53+
<span class="mr-2">View</span>
54+
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5"
55+
stroke="currentColor" class="w-5 h-5">
56+
<path stroke-linecap="round" stroke-linejoin="round"
57+
d="M13.5 6H5.25A2.25 2.25 0 0 0 3 8.25v10.5A2.25 2.25 0 0 0 5.25 21h10.5A2.25 2.25 0 0 0 18 18.75V10.5m-10.5 6L21 3m0 0h-5.25M21 3v5.25" />
58+
</svg>
59+
</button>
60+
</template>
61+
62+
</body>
63+
64+
</html>

0 commit comments

Comments
 (0)