Commit Graph

641 Commits

Author SHA1 Message Date
Johannes Rieken
211d9ccdd8 explicit insertSnippet function instead of edit overload, #19116 2017-01-25 14:06:39 +01:00
Matt Bierner
57e77e4171 rename (#19282) 2017-01-24 13:32:35 -08:00
Matt Bierner
20f3a9f11b Rename TypeDefinitionProvider to TypeImplementationProvider (#19101)
* Rename TypeDefinitionProvider to TypeImeplementationProvider

**bug**
In #18346, I originally called the new go to implementation provider api `ImplementationProvider` which we then decided to rename to `TypeDefinitionProvider`. At the time, I didn't realize that a type definition was actually its own, unrelated concept.

**Fix**
Rename `TypeDefinitionProvider` to `TypeImplementationProvider` to make it clear what the purpose and use of this api is.

* Fix a few names in comments
2017-01-23 16:25:37 -08:00
Daniel Imms
90a52e87bc Remove waitOnExit option from Terminal API
This may turn into an enum or change behavior soon pending on the result of
task-terminal integration. Removing from the API until more thought has been
put into it.

Part of #15583
Part of #18661
2017-01-23 10:25:16 -08:00
Alexandru Dima
e40b04faf8 Merge pull request #18997 from mjbvz/md-scroll-editor-on-scroll-preview
Add Markdown Preview to Editor Scroll Syncronization
2017-01-23 16:47:39 +01:00
Johannes Rieken
2e3c7b21f0 fix #18808 2017-01-23 15:16:13 +01:00
Matt Bierner
5bf8cc7618 Add Markdown Preview to Editor Scroll Syncronization
Adds an initial implementation of scroll synrconization from the markdown preview to the editor. When the preview is scrolled, automatically scrolls the editor to reveal the same location.

This required adding a new supported reveal type `AtTop` in our API. This is already supported and used internally, but not really exposed in the public apis (except for the `revealLine` command).
2017-01-22 00:47:06 -08:00
Joao Moreno
0286f10bbf scm: add enable/disable scm commands
allow users to toggle between git and preview SCM
2017-01-20 14:59:03 +01:00
Johannes Rieken
b4817e5884 Merge pull request #17628 from joelday/master
Adding an overload to TextEditor.edit for insertion of a SnippetString
2017-01-20 10:52:33 +01:00
Benjamin Pasero
7611715313 files.trimTrailingWhitespace: is now an overridable setting 2017-01-19 16:14:37 +01:00
Benjamin Pasero
a5744684f0 files.insertFinalNewline: is now an overridable setting 2017-01-19 16:11:30 +01:00
Johannes Rieken
67f4ef013c use IRawText and compare before pretending things have changed, #18664 2017-01-19 15:29:53 +01:00
Sandeep Somavarapu
1af9669771 #1587 Adopt editor.formatOnSave to respect language based settings 2017-01-19 15:07:25 +01:00
Johannes Rieken
23c4c8d1b8 progress - make window progress get a title 2017-01-19 12:06:46 +01:00
Joel Day
c21734fd30 Snippet insertion extension API changes
- Basing snippet insertion failure on a new `_codeEditor` null-check.
- Now returns `Thenable<boolean>`.
- Removed vscode.proposed.d.ts copy of the `TextEditor` change.
- Removing empty options interface.
2017-01-18 10:13:56 -08:00
Benjamin Pasero
8b7756063b Open new file buffer via API 2017-01-18 19:13:26 +01:00
Johannes Rieken
3186c15c7f progress - don't rethrow errors on main side 2017-01-18 16:51:50 +01:00
Joel Day
95fc03271c TextEditor.edit snippet overload now returns void. No longer preventing when already in snippet mode. 2017-01-17 23:25:40 -08:00
Joel Day
3c817c7fe2 Insert snippet API changes. 2017-01-17 16:09:15 -08:00
Joel Day
8a3039245e Merge master. 2017-01-17 13:18:41 -08:00
Johannes Rieken
2caf36fdf5 don't debounce FS events 2017-01-17 16:42:58 +01:00
Johannes Rieken
a63ee85284 Merge branch 'master' into joh/progress-api 2017-01-17 09:49:17 +01:00
Johannes Rieken
210fc3c072 path buisness is driving me crazy 2017-01-17 09:43:44 +01:00
Johannes Rieken
419c2dc09c add withScmProgress to begin with 2017-01-17 09:27:16 +01:00
Johannes Rieken
ace744e468 Merge branch 'master' into joh/progress-api 2017-01-17 09:12:37 +01:00
Johannes Rieken
588b14b5bd normalize path 2017-01-17 09:07:15 +01:00
Johannes Rieken
a70478cb1e Merge branch 'master' into joh/progress-api 2017-01-16 18:12:48 +01:00
Johannes Rieken
0c46df976e expose a withScmViewletProgress-API 2017-01-16 18:11:12 +01:00
João Moreno
f8838a3eb0 Merge pull request #15894 from joaomoreno/scm-api
Provisional SCM API & git extension
2017-01-16 17:07:40 +01:00
Johannes Rieken
e9bf909418 use nodejs-path#relative for workspace#getRelativePath, #18350 2017-01-16 14:40:39 +01:00
Johannes Rieken
1c3b4bf4b3 Merge branch 'master' into joh/progress-api 2017-01-16 10:45:14 +01:00
Joao Moreno
6f781ddfcd Merge branch 'master' into scm-api 2017-01-16 10:21:27 +01:00
Daniel Imms
3d82f41352 Support setting cwd in ITerminalService.createInstance
Fixes #18506
2017-01-13 11:34:05 -08:00
Johannes Rieken
3d7c53c82a rename to withWindowProgress 2017-01-13 15:15:36 +01:00
Johannes Rieken
0caa565500 Merge branch 'master' into joh/progress-api 2017-01-13 13:55:31 +01:00
Johannes Rieken
33492341c9 withStatusBarProgress API and implementation 2017-01-13 12:09:19 +01:00
Joao Moreno
4aa47582b3 Merge branch 'master' into scm-api 2017-01-13 09:33:57 +01:00
Matt Bierner
9d611d4dfd Add Go To Implementation Api (#18346)
* Add Go To Implementation Api

For #10806

Adds a new API for supporting  `go to implementation` command for languages. Implements an example for TS

* Rename

* Cleanup
2017-01-12 12:16:48 -08:00
Benjamin Pasero
c936b0f6f5 Jumpy cursor with trim trailing whitespace and autosave (fixes #18410) 2017-01-11 18:45:24 +01:00
Joao Moreno
970f663a74 Merge branch 'master' into scm-api 2017-01-11 11:58:59 +01:00
Daniel Imms
c74ed29322 Fix old API 2017-01-10 19:35:24 -08:00
Daniel Imms
d4c263d1de Merge remote-tracking branch 'origin/master' into tyriar/15583 2017-01-10 19:26:15 -08:00
Johannes Rieken
fd9616dbaa enable proposed API for builtin extensions 2017-01-10 17:44:42 +01:00
Johannes Rieken
61bd582998 first cut of CompletionItem#commitCharacters, #7326 2017-01-10 17:21:37 +01:00
isidor
eecfb293f7 workbench: setPanelHidden returns a promise 2017-01-10 11:52:45 +01:00
Joao Moreno
e96548c2f4 Merge branch 'master' into scm-api 2017-01-10 10:27:33 +01:00
Daniel Imms
6bf0cde91e Add createTerminal with options API with new option waitOnExit
Fixes #15583
2017-01-09 10:56:46 -08:00
Joao Moreno
67f0991014 scm: getResourceFromURI 2017-01-09 17:07:02 +01:00
Alex Dima
4bbc649bd9 Fixes #17285: error stack is undefined when my extension is activated 2017-01-09 16:47:13 +01:00
Joao Moreno
63a755e411 Merge branch 'master' into scm-api 2017-01-09 09:52:34 +01:00