This repository was archived by the owner on Nov 6, 2018. It is now read-only.
Commit fd90209
committed
feat: supply sourcegraphURL and clientApplication to extensions
In some cases, such as to work around sourcegraph/sourcegraph#566, it is useful for extensions to know the Sourcegraph URL and what kind of client application is running it.1 parent 5973a14 commit fd90209Copy full SHA for fd90209
3 files changed
+33-4Lines changed: 33 additions & 4 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src
- extension
- integration-test
Expand file treeCollapse file tree
Open diff view settings
Collapse file
src/extension/extensionHost.ts
Copy file name to clipboardExpand all lines: src/extension/extensionHost.ts+8Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
| 41 | + |
| 42 | + |
| 43 | + |
| 44 | + |
| 45 | + |
| 46 | + |
41 | 47 | |
42 | 48 | |
43 | 49 | |
| ||
150 | 156 | |
151 | 157 | |
152 | 158 | |
| 159 | + |
| 160 | + |
153 | 161 | |
154 | 162 | |
155 | 163 | |
Collapse file
src/integration-test/helpers.test.ts
Copy file name to clipboardExpand all lines: src/integration-test/helpers.test.ts+4-1Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
44 | 44 | |
45 | 45 | |
46 | 46 | |
47 | | - |
| 47 | + |
| 48 | + |
| 49 | + |
| 50 | + |
48 | 51 | |
49 | 52 | |
50 | 53 | |
|
Collapse file
+21-3Lines changed: 21 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
904 | 904 | |
905 | 905 | |
906 | 906 | |
907 | | - |
908 | | - |
909 | | - |
| 907 | + |
| 908 | + |
| 909 | + |
910 | 910 | |
911 | 911 | |
912 | 912 | |
| ||
925 | 925 | |
926 | 926 | |
927 | 927 | |
| 928 | + |
| 929 | + |
| 930 | + |
| 931 | + |
| 932 | + |
| 933 | + |
| 934 | + |
| 935 | + |
| 936 | + |
| 937 | + |
| 938 | + |
| 939 | + |
| 940 | + |
| 941 | + |
| 942 | + |
| 943 | + |
| 944 | + |
| 945 | + |
928 | 946 | |
929 | 947 | |
930 | 948 | |
|
0 commit comments