Joel Day
8a3039245e
Merge master.
2017-01-17 13:18:41 -08:00
Benjamin Pasero
f9ce2e16fc
fix compile errors
2017-01-09 18:13:23 +01:00
Joel Day
a41b017b28
Temporarily referencing vscode.proposed.d.ts for API tests.
2016-12-20 15:40:07 -08:00
Joel Day
9c42a68dc0
Merge branch 'master' of https://github.com/Microsoft/vscode
2016-12-20 14:35:38 -08:00
Joel Day
40522e28f8
TextEditor.insertSnippet extension API.
...
More robust type validation on ext side of insertSnippet.
Position/range check for snippet insertion was inverted.
Adding insertSnippet to vscode.d.ts. (Should it be in vscode.proposed.d.ts?)
Adding extension API tests for insertSnippet.
2016-12-20 14:33:37 -08:00
Benjamin Pasero
3cefffccfc
Get rid of IEventService in favour of real events ( #17515 )
2016-12-19 09:37:10 +01:00
Alex Dima
19291ef2c1
Fixes #16573 : Ensure textEditor.options always contains all properties
2016-12-07 14:16:08 +01:00
Johannes Rieken
7b12aeb422
config-editing, api-test use strictNull-checks, #6907
2016-11-23 12:12:31 +01:00
Daniel Imms
c8fc3e418e
Clean up terminal api tests
2016-10-22 04:40:16 -07:00
Daniel Imms
611ed75a9b
Remove wait loop in extHostTerminalService
...
Fixes #12434
2016-10-22 04:30:45 -07:00
Johannes Rieken
093cd8b2a3
enable integration tests again, cleanup a little of the ///-reference mess, #14059
2016-10-20 12:04:01 +02:00
Johannes Rieken
404effdd98
don't use engine-vscode: * with an old version of vscode-module, fixes #14059
2016-10-20 11:18:10 +02:00
Johannes Rieken
dc7402b978
make vscode.d.ts use a declare module, #13990
...
* a declared module allows to have a sibling module containing experimental API
* this change also cleans up some bogous type pollution that happened because vscode used to be both, a declare module and a global namespace
2016-10-19 11:43:56 +02:00
Johannes Rieken
c18db474ba
clean-up util using new event, #643
2016-10-13 10:29:03 +02:00
Johannes Rieken
5f0ba23b69
add simple test for onDidChangeVisibleTextEditors, #643
2016-10-13 10:29:03 +02:00
Johannes Rieken
196c630451
tsfmt - extensions/vscode-api-tests
2016-10-08 09:41:37 +02:00
Johannes Rieken
3650ea4238
register/execute, #12337
2016-09-21 10:14:58 +02:00
Johannes Rieken
203055c6da
make sure to return initial value, #11503
2016-09-19 16:28:15 +02:00
Daniel Imms
5094cf079e
Add test for onDidCloseTerminal
...
Part of #10925
2016-09-15 12:17:39 -07:00
Johannes Rieken
f5a0ea60c8
WinJS.Promise#as is not what you think it is, use wrap instead - fixes #11754
2016-09-09 16:30:50 +02:00
Daniel Imms
b1174ea3d4
Fix tests from terminal API revert
2016-09-01 14:25:07 -07:00
Daniel Imms
d0ec4e6a6a
Fix terminal API tests
2016-08-31 12:42:32 -07:00
Johannes Rieken
182764c361
disconnect token on promise resolve/reject, cancel picker on next picker, fixes #11172
2016-08-31 09:12:28 +02:00
Alex Dima
e1b98c60f6
Fixes #11145 : Write integration test for new option bag in TextEditor.edit
2016-08-30 17:37:25 +02:00
Daniel Imms
1e151dd85c
Add some terminal API tests
...
Fixes #11132
2016-08-29 14:57:34 -07:00
Johannes Rieken
e3219411b7
don't test for the number of methods...
2016-08-29 11:30:18 +02:00
Johannes Rieken
45f1593479
adjust test for new member, #1396
2016-08-25 15:36:56 +02:00
Johannes Rieken
e3c810ec52
test for index-access style, make object immutable, #1396
2016-08-25 12:11:27 +02:00
Johannes Rieken
9cb04a03c8
tests for undefined vs '', #10640
2016-08-18 21:57:26 +02:00
Johannes Rieken
a8a920e2fc
don't push code without tests... #8093
2016-08-12 12:32:15 +02:00
Johannes Rieken
ff061902a7
add cancellation support for showInput and showQuickPick, #9377
2016-08-08 15:51:06 +02:00
Johannes Rieken
903ee61b39
debt - move diagnostics tests
2016-08-02 10:47:36 +02:00
Alex Dima
5d218261e8
Fixes #8379 : validate column
argument of vscode.previewHtml
2016-06-28 16:21:30 +02:00
Johannes Rieken
a941b59fe9
add 'vscode.open' API command, fixes #566
2016-06-27 15:33:17 +02:00
Johannes Rieken
d681654ac9
more test to cement current behaviour, #1396
2016-06-08 13:38:07 +02:00
Johannes Rieken
e8ddfed2cc
getConfiguration should not crash when section denotes a value, #1396
2016-06-08 11:56:30 +02:00
Benjamin Pasero
dcd7c87af5
improve revert logic for untitled (also dispose untitled input after save)
2016-06-06 16:20:16 +02:00
Benjamin Pasero
7c483ab854
polish
2016-06-06 07:32:06 +02:00
Johannes Rieken
3d5e058652
support only custom title of preview pane, #2351
2016-06-03 10:44:31 +02:00
Johannes Rieken
68d19ce0ab
use title in API test, #2351
2016-06-03 08:58:13 +02:00
Johannes Rieken
45a797bec1
check for input box options, fixes #7013
2016-05-30 10:54:15 +02:00
Benjamin Pasero
6b0f18a91f
Merge branch 'master' into ben/stacks
2016-05-21 08:06:12 +02:00
Benjamin Pasero
d8412d0a5a
fix tests?
2016-05-19 16:33:48 +02:00
Johannes Rieken
d37a76dc92
allow empty string as valid document content, fixes #6526
2016-05-19 12:45:42 +02:00
Johannes Rieken
d8f6ac3501
add new api command to compare two resources, fixes #1865
2016-05-17 16:22:05 +02:00
Johannes Rieken
4458bdf5c0
merge tuples of equal Uri, #6373
2016-05-17 11:22:28 +02:00
Alex Dima
8cd47bb55e
Fixes #6281 : Do not truncate line number, column in position
2016-05-13 15:09:57 +02:00
Alex Dima
b02c4facaf
Fixes #5362 : MainThreadTextEditor: disassociate code editor as soon as code editor's model changes
2016-04-28 17:15:09 +02:00
Johannes Rieken
c0b4331de1
use untitled scheme without the risk of a long authority, #5949
2016-04-28 16:42:01 +02:00
Johannes Rieken
5e7f6d8c92
expose appName in env, fixes #5297
2016-04-25 12:03:50 +02:00
Benjamin Pasero
8e0ebc3a21
fix test for #5649
2016-04-24 10:24:29 +02:00
Johannes Rieken
3fc5204134
ops, bad json
2016-04-23 19:17:13 +02:00
Johannes Rieken
11eeab9943
extension test for #5649
2016-04-23 19:15:33 +02:00
Martin Aeschlimann
4fe233c752
completion and language selector test
2016-04-18 17:55:39 +02:00
Johannes Rieken
742ae2ea14
provideCodeActions get those diagnostic instances others provided, not a clone
2016-04-08 17:52:20 +02:00
Johannes Rieken
8cdf377b66
add DiagnosticsCollection#has and #get
2016-04-08 17:31:35 +02:00
Johannes Rieken
aeb52ceb8d
add DiagnosticsCollection#forEach
2016-04-08 16:40:12 +02:00
Johannes Rieken
78dcfe10d8
make sure that the falsy value for the activeTextEditor is undefined
, #5022
2016-04-06 17:43:07 +02:00
Johannes Rieken
5f44e36593
fix issue #4945
2016-04-06 12:49:01 +02:00
Alex Dima
18c4629511
Rename gulp tasks around extensions
2016-03-01 11:40:18 +01:00
Alex Dima
1a97264011
gulpfile.plugins -> gulpfile.extensions
2016-03-01 11:40:17 +01:00
Alex Dima
58c1cdd3eb
php extension compiles to commonjs
2016-03-01 11:40:14 +01:00
Benjamin Pasero
45e344292a
more reliable tests in ci
2016-02-09 11:17:15 +01:00
Benjamin Pasero
d743c3884c
use proper version of vscode
2016-02-09 10:36:22 +01:00
Johannes Rieken
eba220d39c
prepare bulk editor for not having an active editor, fixes #1708
2016-02-02 09:25:58 +01:00
Johannes Rieken
6250b6531e
expose EventEmitter in our API, fixes #2359
2016-01-27 12:18:19 +01:00
Johannes Rieken
8755e438f5
scheme and path or authoriy are mandated, fixes #2341
2016-01-27 11:37:20 +01:00
Johannes Rieken
74d033e92a
allow to register for the same scheme twice. lifo behaviour
2016-01-25 16:12:33 +01:00
Johannes Rieken
ee249f86bd
api - add vscode.env.language
2016-01-25 14:49:36 +01:00
Johannes Rieken
1d47228e95
one more attempt, fixes #2217
2016-01-25 09:59:08 +01:00
Johannes Rieken
86ecfe849d
fix api test
2016-01-22 09:50:52 +01:00
Johannes Rieken
5be404dd5c
#1835 - onDidChangeTextEditorViewColumn event
2016-01-21 15:12:13 +01:00
Johannes Rieken
c14e864b2b
#1835 add viewColumn property to TextEditor, not yet decided if we also need an event to signal changes
2016-01-21 12:05:10 +01:00
Johannes Rieken
a9c1895117
allow to provide ViewColumn with 'vscode.previewHtml' command
2016-01-20 15:49:01 +01:00
Johannes Rieken
a6aa8ddf80
add html preview sample
2016-01-18 18:27:24 +01:00
Johannes Rieken
f345c94847
virtual doc - support content provider signalling change via onDidChange event
2016-01-12 10:50:53 +01:00
Johannes Rieken
44b8ebe084
merge with master
2016-01-11 13:03:39 +01:00
Benjamin Pasero
5884fe2b83
adopt postinstall script
2016-01-08 16:43:14 +01:00
Johannes Rieken
ffc21477ea
add missing changes to test
2016-01-08 16:19:49 +01:00
Johannes Rieken
f484123616
refine API, add closeTextDocument call
2016-01-08 12:04:00 +01:00
Johannes Rieken
ac5267eb61
use resourceEditorInput so that virtual documents can be shown in the editor
2016-01-06 17:53:37 +01:00
Johannes Rieken
26fab247a9
first implementation of registerTextDocumentContentProvider api-idea
2016-01-06 16:26:49 +01:00
Johannes Rieken
4dfa345e91
api - allow to provide a cancellation token to findFiles. Fixes #1553
2015-12-22 09:29:49 +01:00
Benjamin Pasero
71eb6386bf
update test
2015-12-17 11:14:35 +01:00
Johannes Rieken
ec720bfa9a
filter commands that start with an underscore, make it option in the API
2015-12-09 10:43:49 +01:00
Benjamin Pasero
f2074e0af1
delete test that will never work in our PH
2015-12-07 10:11:05 +01:00
Benjamin Pasero
da2688027e
enable another workspace test
2015-12-07 08:15:11 +01:00
Benjamin Pasero
7ceebcf8ab
first cut green integration tests on windows
2015-12-04 16:17:54 +01:00
Johannes Rieken
1de8f1d608
#723 mark untitled documents as dirty when opened
2015-12-02 11:02:10 +01:00
Benjamin Pasero
5ea34f9dba
return early from confirmSave when we are in extension development mode
2015-11-25 12:51:24 +01:00
Benjamin Pasero
2c09792e1c
first commands test (disabled)
2015-11-25 12:13:40 +01:00
Benjamin Pasero
052a1dc8a0
api tests - more use of promises in mocha
2015-11-25 12:04:21 +01:00
Joao Moreno
aba9d6bf3f
better cleanup for api tests
2015-11-25 11:59:55 +01:00
Benjamin Pasero
7754743a7e
api tests: allow to run and debug them
2015-11-25 10:58:17 +01:00
Benjamin Pasero
e5d7c7a919
api tests: cleanup after test run
2015-11-25 10:29:02 +01:00
Benjamin Pasero
4ea2714df8
add more meaningful api tests
2015-11-25 08:44:13 +01:00
Benjamin Pasero
303b02eeac
restore vscode:prepublish to compile tests properly
2015-11-24 07:18:27 +01:00
Benjamin Pasero
222b089f8a
vscode api tests: add back publisher
2015-11-24 07:01:53 +01:00
Benjamin Pasero
3f2b4ba9a6
npm install vscode-api-tests and some polish
2015-11-24 07:00:06 +01:00
isidor
28e29d7977
line endings.
2015-11-23 20:28:42 +01:00
isidor
eceef7a61e
Copyright polish.
2015-11-23 20:26:01 +01:00
Erich Gamma
8f35cc4768
Hello Code
2015-11-13 14:39:38 +01:00