Commit Graph

287 Commits

Author SHA1 Message Date
Benjamin Pasero
d2a413ee9a more use of IEnvironmentService 2016-08-17 07:54:59 +02:00
Benjamin Pasero
c121936678 use product over context service 2016-08-17 07:00:39 +02:00
Johannes Rieken
d0b77851a5 align names of CompletionItem and ISuggestion 2016-08-16 09:55:42 +02:00
Johannes Rieken
cfbf71725c add ignoreFocusOut option to showInputBox and showQuickPick, #9918 2016-08-15 13:05:25 +02:00
Johannes Rieken
a8a920e2fc don't push code without tests... #8093 2016-08-12 12:32:15 +02:00
Johannes Rieken
ed26ad524e add TextEditorSelectionChangeKind when emitting selection change event, #8093 2016-08-12 12:23:46 +02:00
Johannes Rieken
a0d3321717 use path primitives when compute workspace relative path, fixes #10446 2016-08-12 10:36:35 +02:00
Johannes Rieken
8236700669 Merge pull request #10225 from sandyarmstrong/cik-method
Support CompletionItemKind.Method
2016-08-11 16:37:24 +02:00
Johannes Rieken
eccb0245a3 Merge pull request #10310 from Microsoft/joh/miniedits
Make text edits more minimal
2016-08-09 10:52:50 +02:00
Johannes Rieken
fbebca5527 do not use for-of and const
https://github.com/Microsoft/TypeScript/issues/10220
2016-08-09 10:41:21 +02:00
Johannes Rieken
a0a56c041f move stringDiff and make minal code, reuse for all format operations (doc, range, on type) 2016-08-09 10:09:01 +02:00
Johannes Rieken
f4c18ebb73 first cut of more minimal text edits 2016-08-08 18:44:36 +02:00
Johannes Rieken
ff061902a7 add cancellation support for showInput and showQuickPick, #9377 2016-08-08 15:51:06 +02:00
Sandy Armstrong
4664a607e0 Support CompletionItemKind.Method
Previously, if a registered completion provider returned items with
CompletionItemKind.Method, they would display in the list as properties,
due to not being converted to the corresponding SuggestionType.
2016-08-05 14:39:56 -07:00
isidor
b4937be487 mainThreadEditorsTracker: skip editors with models not in the model service 2016-08-05 15:13:40 +02:00
Johannes Rieken
9312aa5fe7 debt - provideCompletionItems should not return an array 2016-08-05 14:00:16 +02:00
Johannes Rieken
63765cc2d4 debt - make the SuggestAdapter return only one suggest result 2016-08-04 16:55:18 +02:00
Johannes Rieken
90172cec0a add resolveDocumentLink method to the API 2016-08-03 17:32:07 +02:00
Johannes Rieken
07a53e91d0 add resolveLink and allow incomplete DocumentLink 2016-08-03 17:14:06 +02:00
Johannes Rieken
be8ad1d9b6 Merge pull request #10062 from Microsoft/joh/890
add `resolveWorkspaceSymbol`
2016-08-03 10:39:50 +02:00
Johannes Rieken
fbbb9061bc debt - add some XYZ.isXYZ methods to the ext host types. 2016-08-03 10:36:27 +02:00
Johannes Rieken
a4e3aada07 allow a Location to be created without a range or position 2016-08-03 09:57:20 +02:00
Johannes Rieken
b2a424bf31 deprecate old ctor but keep it working 2016-08-03 09:24:32 +02:00
Johannes Rieken
de5800af31 wire up WorkspaceSymbolProvider 2016-08-02 17:31:24 +02:00
Johannes Rieken
e62cfe9734 add resolveWorkspaceSymbol method and wire it up, not yet exposed in the API 2016-08-02 16:15:15 +02:00
Johannes Rieken
fe8bb5b484 keep order more stable when sorting, add diagnostic message to inform about limit, #9826 2016-08-02 10:47:36 +02:00
Johannes Rieken
df03c156b5 sort by severity when limiting diagnostics list, #9826 2016-08-02 10:47:36 +02:00
Johannes Rieken
f7cdcfe25f update 'open' doc, #9651 2016-07-25 17:44:02 +02:00
Johannes Rieken
d9067043bc add 'vscode.executeLinkProvider' command 2016-07-25 14:57:03 +02:00
Johannes Rieken
b5287d4621 registerDocumentLinkProvider 2016-07-21 16:05:59 +02:00
Johannes Rieken
3c4ae57c99 debt - remove unsed 'shouldAutotriggerSuggest' 2016-07-20 17:21:32 +02:00
Johannes Rieken
1e27b8226d move sorting and snippet selection into low level function, #9286 2016-07-15 15:44:35 +02:00
Benjamin Pasero
b2b2cb0f49 var => let/const 2016-07-15 09:54:35 +02:00
Johannes Rieken
16926be391 mirror 'source' when cursor changes, #8093 2016-07-14 12:34:51 +02:00
Alex Dima
24feea5a75 Fix another TS rename fail 2016-07-14 13:09:16 +03:00
Alex Dima
03c781b91a Fixes #9257: Fix TS rename fail... 2016-07-14 12:37:41 +03:00
Alex Dima
9b33a96365 Remove unused ext host <-> main thread comm class 2016-07-13 11:48:04 +03:00
Alex Dima
217e0b56a8 Consistent naming for ext host <-> main process communication 2016-07-12 21:14:43 +03:00
Alex Dima
bdaa72b842 ext host - extend *Shape classes 2016-07-12 21:10:54 +03:00
Alex Dima
581c260f9a Rename extHostProtocol to extHost.protocol 2016-07-12 19:33:55 +03:00
Johannes Rieken
ad5ff01ac4 commands - use CommandRegistry when it is just a command 2016-07-07 15:05:26 +02:00
Johannes Rieken
2077cb3ff8 turn serviceId into _serviceBrand:any to follow common practive
see https://basarat.gitbooks.io/typescript/content/docs/tips/nominalTyping.html and 7b48a182c0/src/compiler/types.ts (L693-L698)
2016-07-07 12:21:16 +02:00
Johannes Rieken
3f9f7514a5 command - move IKeybindingService#executeCommand to ICommandService 2016-07-07 11:13:45 +02:00
Johannes Rieken
bd4e85d8a3 move CommandRegistry out of KeybindingsRegistry 2016-07-07 10:39:30 +02:00
Johannes Rieken
1920059e45 rename index file 'keybindingService' to 'keybinding' such that it is aligned with the rest 2016-07-06 16:43:01 +02:00
Johannes Rieken
ce6cf7b1e8 fix #8774 2016-07-06 15:47:49 +02:00
Johannes Rieken
7cb8e4514e remove autoClosingPairs, surroundingPair in favour of deprecated api and language config file, fixes #8737 2016-07-06 15:42:53 +02:00
Alex Dima
1d8a0023f4 Fixes #2933: return promise from text editor command to allow to wait for its completion 2016-07-05 15:11:05 +02:00
Alex Dima
c8ba3022eb Fixes #8205: Make emmet edits undoable in one step 2016-06-30 12:41:57 +02:00
Alex Dima
5d218261e8 Fixes #8379: validate column argument of vscode.previewHtml 2016-06-28 16:21:30 +02:00