Commit graph

94 commits

Author SHA1 Message Date
Matt Bierner
ee947947a7 Fix duplicate markdown previews potentially being shown in the same editor group
Fixes #56910
2018-08-21 16:42:11 +02:00
Benjamin Pasero
920defc6a6 debt - update extensions node dependency to 8.x 2018-08-14 10:44:56 +02:00
Johannes Rieken
c8ac8ec300 debt - towards scheme-enforcement, #56108 2018-08-10 12:10:30 +02:00
Jackson Kearl
6a1515671f Markdown region folding (#55399)
* Add foldin g of regions to markdown

* Add test for region folding

* Tweak region identification regex
2018-08-07 22:47:29 +02:00
Ramya Achutha Rao
1912c5d755 Allow extensions to log telemetry to log files #54001 2018-07-30 16:18:54 -07:00
Matt Bierner
4be0f07230
Add WebviewPanel.iconPath (#54912)
* Add WebviewPanel.iconPath

Allows webviews to provide icons used in UI. Adds a new `WebviewPanel.iconPath` property for this.

Replaces the static contribution approach from #49657

Fixes #48864

* Fix doc

* Move icon into mainthreadwebview

* Cleaning up implementation

* Cleaning up implementation
2018-07-24 15:08:46 -07:00
HUA Yang
9038bc7b45 fix #53590 (#54257) 2018-07-18 16:22:29 -07:00
Greg Van Liew
c150d0d42d Edit pass on new built-in extension comments (#54277) 2018-07-13 15:28:27 -07:00
Ramya Achutha Rao
a32654c5f1 Link to docs in the website from builtin extension readme #54098 2018-07-12 18:16:01 -07:00
Dirk Baeumer
21991b4912 Move to latest vscode-nls for corrupted cache support 2018-07-03 16:12:52 +02:00
Matt Bierner
a2974a0782 Fix markdown code blocks getting two backgrounds in preview
Fixes #53246
2018-06-28 15:18:05 -07:00
Matt Bierner
33446a0a9e Use hierarchical markdown document symbols
Fixes #52546
2018-06-26 17:31:45 -07:00
Matt Bierner
48c54a009f Override light color for function and params in md code preview
Fixes #52710
2018-06-25 11:09:05 -07:00
Matt Bierner
78f410ce39 Make sure we correctly update local resource roots when switching previewed markdown file
Fixes #49859
2018-06-20 15:48:14 -07:00
Matt Bierner
1a9f7c85b8 Fix content after fenced code block being treated as code
Fixes #52509
2018-06-20 14:15:34 -07:00
Matt Bierner
66a9cfd809 Update deps 2018-06-20 14:12:18 -07:00
Matt Bierner
a85c0b6669 Introduce webview.active
The current `.visible` property actually means active. Rename this value to `.active` and introduce a real `.visible`
2018-06-15 15:51:46 -07:00
Matt Bierner
749eb1ebcd Make sure we handle line number links correctly in preview
Fixes #51919
2018-06-15 10:09:27 -07:00
Benjamin Pasero
2ec2cf597a
API tweaks for grid editor (#51876)
* fix #51001

* add onDidChangeTextEditorViewColumn test that validates moving editor group

* adopt vscode.ViewColumn.Beside

* add vscode.setEditorLayout command
2018-06-14 17:17:39 +02:00
Matt Bierner
68afee908e Allow updating webview settings after creation
Fixes #51733
2018-06-13 15:20:18 -07:00
Matt Bierner
99c825f4e2 Make sure we use correct resource when accessing the [markdown] config setting
Fixes #51650
2018-06-12 11:09:41 -07:00
Joao Moreno
8a3ffed0ab vsts: report smoketest results 2018-06-12 17:37:53 +02:00
Joao Moreno
4dc738593b complete integration test results 2018-06-12 17:24:23 +02:00
Matt Bierner
05aab259e7 Extract constant 2018-06-11 18:38:03 -07:00
Matt Bierner
31a8fe2690 Use lazy for creating output channel 2018-06-11 18:38:03 -07:00
Matt Bierner
ed3e645112 Use _private 2018-06-11 18:38:03 -07:00
Joao Moreno
d8555f56c1 tests: scope xml file per platform 2018-06-11 22:36:32 +02:00
Joao Moreno
4eceb88ebf wip: build show integration tests 2018-06-11 22:05:12 +02:00
Matt Bierner
4f324d1712 Fix markdown preview not cleaning up context/state on close
Fixes #51033
2018-06-07 16:38:52 -07:00
Rob Lourens
047b88c39c Fix deps for building with node 10 - see #48699 and anodynos/upath#20 2018-06-04 14:28:51 -07:00
Matt Bierner
e0ae63888d Extracting common code for getMarkdownDocument 2018-06-04 11:50:04 -07:00
Matt Bierner
7b69194f91 Introduce the concept of a SkinnyTextDocument that provides minimal interface to generate toc 2018-06-04 11:50:04 -07:00
Matt Bierner
7a24ced69f Make sure fenced code blocks properly get line numbers assigned
Fixes #51095
2018-06-04 10:16:58 -07:00
Cherry Wang
749a1bfeee Markdown and common toolbar icons consistency pass (#50484)
* arkdown and common toolbar icons consistency pass

* Fixed icon size related css

* fix merge issue

* flip
2018-06-03 11:32:59 +02:00
Matt Bierner
717c2f4b2c Fix markdown preview not setting context properly on first creation
Fixes #50558
2018-05-31 01:09:10 -07:00
Matt Bierner
608bbb7c01 Use better colors for markdown code blocks 2018-05-30 22:53:56 -07:00
Matt Bierner
2319e47db1 Make sure we use normalized path for compare
Fixes #50760

(the path should already have been normalized at this point so I don't think there is any user impact)
2018-05-30 11:16:16 -07:00
Matt Bierner
b00948ffec Use more specific onWebviewPanel activation event 2018-05-25 12:11:57 -07:00
Matt Bierner
558c694d47 Use blacklist for puctuators
Currently we can't use `/\p{L}/u` which would let use use a whitelist instead

Fixes #37079
2018-05-25 11:57:01 -07:00
Matt Bierner
281f242cff Don't strip special characters in slugify
Fixes #48482
2018-05-25 11:57:01 -07:00
Matt Bierner
feeefd1037 Inject slugifier into markdown engine 2018-05-25 11:57:01 -07:00
Matt Bierner
176a27a53b Start encapsulating slugifier 2018-05-24 08:05:52 -07:00
Matt Bierner
ab2efd6724 Make sure we inherit the correct border-color
#49978
2018-05-16 15:16:15 -07:00
Matt Bierner
be413aed89 Use css vars for more webview styling
Fixes #49749
2018-05-14 14:36:13 -07:00
Matt Bierner
21ee81c03b Working on webview persistence API
#49022
2018-05-14 10:34:59 -07:00
Matt Bierner
7980812a43 Properly handle links with title 2018-05-04 11:37:32 -07:00
Matt Bierner
43ed87ccde Add test for #49011 2018-05-04 11:37:32 -07:00
Matt Bierner
bd29afad2c More pinning tests for markdown links 2018-05-04 11:37:32 -07:00
Matt Bierner
c068e6fdfe Start adding some basic document link pinning tests 2018-05-04 11:37:32 -07:00
Matt Bierner
0d584a9086 Allow open preview from markdown file title context menu
Part of #37045
2018-04-30 17:30:44 -07:00