Skip to content

Commit 876f901

Browse files
committed
Rewrote everything in TypeScript, it's cooler
1 parent 752a311 commit 876f901

38 files changed

+21745
-550
lines changed

.gitignore

+2-282
Original file line numberDiff line numberDiff line change
@@ -1,282 +1,2 @@
1-
## Ignore Visual Studio temporary files, build results, and
2-
## files generated by popular Visual Studio add-ons.
3-
4-
# User-specific files
5-
*.suo
6-
*.user
7-
*.userosscache
8-
*.sln.docstates
9-
10-
# User-specific files (MonoDevelop/Xamarin Studio)
11-
*.userprefs
12-
13-
# Build results
14-
[Dd]ebug/
15-
[Dd]ebugPublic/
16-
[Rr]elease/
17-
[Rr]eleases/
18-
x64/
19-
x86/
20-
build/
21-
bld/
22-
[Bb]in/
23-
[Oo]bj/
24-
25-
# Visual Studio 2015 cache/options directory
26-
.vs/
27-
# Uncomment if you have tasks that create the project's static files in wwwroot
28-
#wwwroot/
29-
30-
# MSTest test Results
31-
[Tt]est[Rr]esult*/
32-
[Bb]uild[Ll]og.*
33-
34-
# NUNIT
35-
*.VisualState.xml
36-
TestResult.xml
37-
38-
# Build Results of an ATL Project
39-
[Dd]ebugPS/
40-
[Rr]eleasePS/
41-
dlldata.c
42-
43-
# DNX
44-
project.lock.json
45-
artifacts/
46-
47-
*_i.c
48-
*_p.c
49-
*_i.h
50-
*.ilk
51-
*.meta
52-
*.obj
53-
*.pch
54-
*.pdb
55-
*.pgc
56-
*.pgd
57-
*.rsp
58-
*.sbr
59-
*.tlb
60-
*.tli
61-
*.tlh
62-
*.tmp
63-
*.tmp_proj
64-
*.log
65-
*.vspscc
66-
*.vssscc
67-
.builds
68-
*.pidb
69-
*.svclog
70-
*.scc
71-
72-
# Chutzpah Test files
73-
_Chutzpah*
74-
75-
# Visual C++ cache files
76-
ipch/
77-
*.aps
78-
*.ncb
79-
*.opensdf
80-
*.sdf
81-
*.cachefile
82-
83-
# Visual Studio profiler
84-
*.psess
85-
*.vsp
86-
*.vspx
87-
*.sap
88-
89-
# TFS 2012 Local Workspace
90-
$tf/
91-
92-
# Guidance Automation Toolkit
93-
*.gpState
94-
95-
# ReSharper is a .NET coding add-in
96-
_ReSharper*/
97-
*.[Rr]e[Ss]harper
98-
*.DotSettings.user
99-
100-
# JustCode is a .NET coding add-in
101-
.JustCode
102-
103-
# TeamCity is a build add-in
104-
_TeamCity*
105-
106-
# DotCover is a Code Coverage Tool
107-
*.dotCover
108-
109-
# NCrunch
110-
_NCrunch_*
111-
.*crunch*.local.xml
112-
nCrunchTemp_*
113-
114-
# MightyMoose
115-
*.mm.*
116-
AutoTest.Net/
117-
118-
# Web workbench (sass)
119-
.sass-cache/
120-
121-
# Installshield output folder
122-
[Ee]xpress/
123-
124-
# DocProject is a documentation generator add-in
125-
DocProject/buildhelp/
126-
DocProject/Help/*.HxT
127-
DocProject/Help/*.HxC
128-
DocProject/Help/*.hhc
129-
DocProject/Help/*.hhk
130-
DocProject/Help/*.hhp
131-
DocProject/Help/Html2
132-
DocProject/Help/html
133-
134-
# Click-Once directory
135-
publish/
136-
137-
# Publish Web Output
138-
*.[Pp]ublish.xml
139-
*.azurePubxml
140-
# TODO: Comment the next line if you want to checkin your web deploy settings
141-
# but database connection strings (with potential passwords) will be unencrypted
142-
*.pubxml
143-
*.publishproj
144-
145-
# NuGet Packages
146-
*.nupkg
147-
# The packages folder can be ignored because of Package Restore
148-
**/packages/*
149-
# except build/, which is used as an MSBuild target.
150-
!**/packages/build/
151-
# Uncomment if necessary however generally it will be regenerated when needed
152-
#!**/packages/repositories.config
153-
154-
# Windows Azure Build Output
155-
csx/
156-
*.build.csdef
157-
158-
# Windows Azure Emulator
159-
efc/
160-
rfc/
161-
162-
# Windows Store app package directory
163-
AppPackages/
164-
165-
# Visual Studio cache files
166-
# files ending in .cache can be ignored
167-
*.[Cc]ache
168-
# but keep track of directories ending in .cache
169-
!*.[Cc]ache/
170-
171-
# Others
172-
ClientBin/
173-
[Ss]tyle[Cc]op.*
174-
~$*
175-
*~
176-
*.dbmdl
177-
*.dbproj.schemaview
178-
*.pfx
179-
*.publishsettings
180-
node_modules/
181-
orleans.codegen.cs
182-
183-
# RIA/Silverlight projects
184-
Generated_Code/
185-
186-
# Backup & report files from converting an old project file
187-
# to a newer Visual Studio version. Backup files are not needed,
188-
# because we have git ;-)
189-
_UpgradeReport_Files/
190-
Backup*/
191-
UpgradeLog*.XML
192-
UpgradeLog*.htm
193-
194-
# SQL Server files
195-
*.mdf
196-
*.ldf
197-
198-
# Business Intelligence projects
199-
*.rdl.data
200-
*.bim.layout
201-
*.bim_*.settings
202-
203-
# Microsoft Fakes
204-
FakesAssemblies/
205-
206-
# GhostDoc plugin setting file
207-
*.GhostDoc.xml
208-
209-
# Node.js Tools for Visual Studio
210-
.ntvs_analysis.dat
211-
212-
# Visual Studio 6 build log
213-
*.plg
214-
215-
# Visual Studio 6 workspace options file
216-
*.opt
217-
218-
# Visual Studio LightSwitch build output
219-
**/*.HTMLClient/GeneratedArtifacts
220-
**/*.DesktopClient/GeneratedArtifacts
221-
**/*.DesktopClient/ModelManifest.xml
222-
**/*.Server/GeneratedArtifacts
223-
**/*.Server/ModelManifest.xml
224-
_Pvt_Extensions
225-
226-
# Paket dependency manager
227-
.paket/paket.exe
228-
229-
# FAKE - F# Make
230-
.fake/
231-
232-
# =========================
233-
# Operating System Files
234-
# =========================
235-
236-
# OSX
237-
# =========================
238-
239-
.DS_Store
240-
.AppleDouble
241-
.LSOverride
242-
243-
# Thumbnails
244-
._*
245-
246-
# Files that might appear in the root of a volume
247-
.DocumentRevisions-V100
248-
.fseventsd
249-
.Spotlight-V100
250-
.TemporaryItems
251-
.Trashes
252-
.VolumeIcon.icns
253-
254-
# Directories potentially created on remote AFP share
255-
.AppleDB
256-
.AppleDesktop
257-
Network Trash Folder
258-
Temporary Items
259-
.apdisk
260-
261-
# Windows
262-
# =========================
263-
264-
# Windows image file caches
265-
Thumbs.db
266-
ehthumbs.db
267-
268-
# Folder config file
269-
Desktop.ini
270-
271-
# Recycle Bin used on file shares
272-
$RECYCLE.BIN/
273-
274-
# Windows Installer files
275-
*.cab
276-
*.msi
277-
*.msm
278-
*.msp
279-
280-
# Windows shortcuts
281-
*.lnk
282-
*.vsix
1+
out
2+
node_modules

.vscode/launch.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// A launch configuration that compiles the extension and then opens it inside a new window
2+
{
3+
"version": "0.1.0",
4+
"configurations": [
5+
{
6+
"name": "Launch Extension",
7+
"type": "extensionHost",
8+
"request": "launch",
9+
"runtimeExecutable": "${execPath}",
10+
"args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
11+
"stopOnEntry": false,
12+
"sourceMaps": true,
13+
"outDir": "${workspaceRoot}/out/src",
14+
"preLaunchTask": "npm"
15+
},
16+
{
17+
"name": "Launch Tests",
18+
"type": "extensionHost",
19+
"request": "launch",
20+
"runtimeExecutable": "${execPath}",
21+
"args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
22+
"stopOnEntry": false,
23+
"sourceMaps": true,
24+
"outDir": "${workspaceRoot}/out/test",
25+
"preLaunchTask": "npm"
26+
}
27+
]
28+
}

.vscode/settings.json

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
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+
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
10+
}

.vscode/tasks.json

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// Available variables which can be used inside of strings.
2+
// ${workspaceRoot}: the root folder of the team
3+
// ${file}: the current opened file
4+
// ${fileBasename}: the current opened file's basename
5+
// ${fileDirname}: the current opened file's dirname
6+
// ${fileExtname}: the current opened file's extension
7+
// ${cwd}: the current working directory of the spawned process
8+
9+
// A task runner that calls a custom npm script that compiles the extension.
10+
{
11+
"version": "0.1.0",
12+
13+
// we want to run npm
14+
"command": "npm",
15+
16+
// the command is a shell script
17+
"isShellCommand": true,
18+
19+
// show the output window only if unrecognized errors occur.
20+
"showOutput": "silent",
21+
22+
// we run the custom script "compile" as defined in package.json
23+
"args": ["run", "compile", "--loglevel", "silent"],
24+
25+
// The tsc compiler is started in watching mode
26+
"isWatching": true,
27+
28+
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
29+
"problemMatcher": "$tsc-watch"
30+
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
.vscode/**
22
typings/**
3+
out/test/**
34
test/**
5+
src/**
6+
**/*.map
47
.gitignore
5-
jsconfig.json
8+
tsconfig.json
69
vsc-extension-quickstart.md

0 commit comments

Comments
 (0)