Commit Graph
1677 Commits
Author SHA1 Message Date
Matt Bierner a02320ba80 Fixes md preview to editor sync when before first element in preview (#18959)
* Fixes md preview to editor sync when before first element in preview

* Fix potential undef reference
2017-01-20 17:23:21 -08:00
Matt Bierner dc614f212d Cleanup markdown extension (#18951)
* Splits symbol provider to own file
* Removes duplicate frontmatter logic
2017-01-20 15:20:37 -08:00
Matt Bierner 94909e76d0 Fixes #18946 (#18948) 2017-01-20 13:22:41 -08:00
Morag S 22cc4a1ce7 Markdown fixes (#18704)
* Fix typos

* Add Go, Rust and Scala

* Adjust Go, Rust and Scala's logic as per #17591
2017-01-20 12:51:09 -08:00
Matt Bierner d85dc993f9 Support Local File Links from the Markdown Preview (#18824)
* Support Local File Links from the Markdown Preview

Fixes #989

**Bug**

* `file://` links do not work in the markdown preview.
* `./file` and `/file` and `file` links do not work in the markdown preview.

**Fix**
For the first issue, allow `file://` links explicitly.

Add a custom link validator. If the incoming link has no scheme, try to resolve it relative to the current file or workspace. Likes like `/file` are relative to the workspace, while links like `file` or `./file` are relative to the current file.

* Fix reveal of source line on load in markdown preview
2017-01-20 12:44:09 -08:00
Dirk Baeumer bf89d878d8 Removed <DiagnosticSeverity> cast 2017-01-20 21:21:24 +01:00
Matt Bierner b5ae881b26 Add Markdown Document Link Provider To Support Local Links (#18821)
* Support []() links

* Fix for file switching

* Fix local links with hash fragments
2017-01-20 11:36:34 -08:00
Joao Moreno 6b855fccb8 git: enable languages syntax 2017-01-20 19:50:34 +01:00
Joao Moreno d8489e6616 Merge branch 'joaomoreno-markdown-outline' 2017-01-20 11:46:17 +01:00
Joao Moreno ebba80143b Merge branch 'markdown-outline' of https://github.com/joaomoreno/vscode into joaomoreno-markdown-outline 2017-01-20 11:45:55 +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
Johannes Rieken 133db393db don't double install vscode.d.ts 2017-01-20 10:50:18 +01:00
Johannes Rieken c8adfcc3f9 api tests should require vscode.d.ts from source 2017-01-20 09:53:51 +01:00
Johannes Rieken 05c239f2c6 Merge pull request #18780 from Microsoft/joh/ata-progress
ata progress reporting
2017-01-20 09:19:03 +01:00
Matt Bierner cc4833d868 Improve preview to editor mapping (#18816) 2017-01-19 16:11:34 -08:00
Martin Aeschlimann 9b47ab5339 [handlebars] validation issue in Handlebars file. Fixes #18777 2017-01-19 21:12:49 +01:00
Martin Aeschlimann c0b1937b47 lamguage servers: Require snippetSupport for completionProvider capability 2017-01-19 20:43:50 +01:00
Matt Bierner 1a35a77864 Gate TS go to implementation feature to TS 2.2+ (#18806) 2017-01-19 11:25:40 -08:00
Joao Moreno 424812d9ba git: merge decorator
fixes #18663
2017-01-19 17:00:56 +01:00
Joao Moreno d0badb14da git: fix throttle decorator 2017-01-19 17:00:56 +01:00
Joao Moreno 973eda700e git: fix debounce decorator 2017-01-19 17:00:56 +01:00
Martin Aeschlimann 3358b26968 [html] improve color decorator updating 2017-01-19 16:41:54 +01:00
Martin Aeschlimann d2f8a45adc [css] color decorator initially not shown in all editors 2017-01-19 16:41:52 +01:00
Johannes Rieken 5262c787bc drop packages which are only send on end 2017-01-19 12:34:01 +01:00
Johannes Rieken fca283d7d6 different api, nicer message 2017-01-19 12:24:59 +01:00
Johannes Rieken e562b36e6d Merge branch 'master' into joh/ata-progress 2017-01-19 12:16:53 +01:00
Martin Aeschlimann abfdbf6d46 [typescript] grammars: remove workaround for spaces in scope names 2017-01-19 12:02:16 +01:00
Martin Aeschlimann 3956be9ba6 [typescript] update grammar to to Microsoft/TypeScript-TmLanguage@e47681d (2017-01-17). Fixes #18612 2017-01-19 12:02:15 +01:00
Johannes Rieken 9ddc762670 Merge pull request #18747 from Microsoft/ben/12283
Open new file buffer via API
2017-01-19 11:07:28 +01:00
Martin Aeschlimann 90a8cdb324 [fsharp] Update grammar to ionide/ionide-fsgrammar@16d4cc8 (2017-01-17) 2017-01-19 10:55:18 +01:00
Joao Moreno 6868a0bab1 fixes #18655 2017-01-19 09:42:53 +01:00
Matt Bierner e3b3959d8f Remove droid sans fallback from default markdown font fallback 2017-01-18 22:05:04 -08:00
Matt Bierner b29ef9b4e8 Prototyping Markdown Preview Synchronization With Editors (#18762)
* Adds command to post a message to an html preview

**Bug**
There is currently no easy way to communicate with an html preview document after the preview has been created.

**Fix**
Adds a command called `vscode.htmlPreview.postMessage` to post a message to a visible html preview. This message will only be posted if the target preview is visible.

Inside the preview, the event is recieved using the standard dom event:

* Remove logging

* proto

Continue proto

* clean up rendering

* Gate prototype

* Fix gating

* Remove public command

* Change setting name

* Added current position indicator

* Reveal center
2017-01-18 17:58:45 -08:00
Matt Bierner 5dc2fb8c30 Maintain Markdown Preview Scroll Position on Window Resize (#18760)
* proto

Continue proto

* Basic implementation
2017-01-18 15:42:32 -08:00
Matt Bierner 9721d92af8 Fixed named headers for markdown preview (#18759) 2017-01-18 14:17:26 -08: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
Joao Moreno 535a3de600 git: fix fetch error bubbling 2017-01-18 16:57:24 +01:00
Joao Moreno 7ec10a9052 fixes #18662 2017-01-18 16:53:10 +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 713aaff9d8 Fix test selection range. 2017-01-17 22:42:25 -08:00
Joel Day 3c817c7fe2 Insert snippet API changes. 2017-01-17 16:09:15 -08:00
Joel Day f7587b3e3a Merge remote-tracking branch 'upstream/master' into insert-snippet-api 2017-01-17 15:43:48 -08:00
Martin Aeschlimann 87ae03d980 [json] update dependencies & adopt 2017-01-17 23:09:12 +01:00
Martin Aeschlimann fa8a9424aa [css] update dependencies and migrate 2017-01-17 23:09:11 +01:00
Martin Aeschlimann 410cae8fb5 [html] update client dependencies + migrate 2017-01-17 23:09:11 +01:00
Martin Aeschlimann 54a383e1a2 [html] update server dependencies, migrate 2017-01-17 23:09:10 +01:00
Joel Day 8a3039245e Merge master. 2017-01-17 13:18:41 -08:00
Johannes Rieken 4c69385838 Merge branch 'master' into joh/ata-progress 2017-01-17 18:27:27 +01:00
Johannes Rieken 40729ec1a9 AtaProgressReporter using proposed progress api 2017-01-17 18:23:05 +01:00