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
Matt Bierner
051b8b3243
Remove old package lock file
2018-04-26 11:34:17 -07:00
Matt Bierner
2864ccf676
Only register markdown for file and untitled schemes
...
Fixes #48777
2018-04-26 11:03:29 -07:00
Matt Bierner
82d97b4c3c
Add acquireVsCodeApi to get handle to vscode api inside webview
...
Fixes #48540
2018-04-25 22:28:31 -07:00
Matt Bierner
f36cae36dc
Add vscode namespace in webview
...
From discussion around #48540
2018-04-25 15:33:45 -07:00
Ramya Achutha Rao
1139de12c0
Create appInsights client only if user has opt-in to telemetry
2018-04-25 15:21:15 -07:00
Matt Bierner
edc3bbe603
Use string symbol kind for markdown symbols
2018-04-25 12:43:02 -07:00
Matt Bierner
b845ce918f
Don't include node_modules in markdown results
2018-04-23 18:03:19 -07:00
Matt Bierner
4222253670
Make sure we update markdown workspace results when editing a file wihtout saving
2018-04-23 17:59:29 -07:00
Ramya Achutha Rao
0c47c04e85
Add missing yarn updates
2018-04-21 20:44:21 -07:00
Ramya Achutha Rao
953cdf7f3d
Update vscode-extension-telemetry version
2018-04-20 10:30:05 -07:00
Matt Bierner
91191fb866
Promote webview Api to stable ( #47989 )
...
* Promote webview Api to stable
Fixes #43713
Fixes #28263
* Rename position back to viewColumn and mark viewColumn as deprecated
This allows us to more easily re-introduce a `position` property once we have gridlayout
* Move dispose methods onto webview itself
Also better hide a few 'internal' methods / properties on the panel / webview
* Revert "Move dispose methods onto webview itself"
This reverts commit 8fab6cc1a1 .
* Move title onto webview panel
* Use _ names for private setters
* Remove unused emitter and dispose onMessageEmitter
* Preview internal emitters with _
2018-04-19 10:55:49 -07:00
Martin Aeschlimann
a1bb202eb6
incorperate folding api feedback
2018-04-18 15:26:43 +02:00
Matt Bierner
3a14fde91d
Fix double click md preview when source document is not showing
...
Fixes #47188
2018-04-16 15:21:24 -07:00
Matt Bierner
bc6a2d52ac
Move onDidChangeActiveTextEditor into Preview
2018-04-16 15:13:49 -07:00
Matt Bierner
017d09e2fe
Be more lazy computing symbols
2018-04-13 16:34:25 -07:00
Matt Bierner
7761157030
Update results on file create
2018-04-13 16:34:25 -07:00
Matt Bierner
79098619a5
Handle delete document
2018-04-13 16:34:25 -07:00
Matt Bierner
87f97ad853
Adding test for file change
2018-04-13 16:34:25 -07:00
Matt Bierner
8f877ceec6
Adding multi document workspace symbol provider test
2018-04-13 16:34:25 -07:00
Matt Bierner
6044fcacc8
Adding single file test
2018-04-13 16:34:25 -07:00
Matt Bierner
aa0d43ea2d
Name cleanup
2018-04-13 16:34:25 -07:00
Matt Bierner
62078256fb
Switch to using watcher
2018-04-13 16:34:25 -07:00
Matt Bierner
ba87894f5d
Don't depend on lodash
2018-04-13 15:09:07 -07:00
Pradeep Murugesan
5e993f7160
added the workspace symbol provider for markdown #46406 ( #47610 )
...
* added the workspace symbol provider for markdown 46406
* fixed the review comments 46406
2018-04-13 15:03:50 -07:00
Matt Bierner
4f880aaf59
Rename webview.viewColumn to the more generic webview.position
2018-04-12 14:25:55 -07:00
Matt Bierner
e16ec3c1ff
Tweak WebviewPanelOnDidChangeViewStateEvent to only provide a webview panel
...
Expose a webview panel's view state as properties. Make WebviewPanelOnDidChangeViewStateEvent only fire an event with the webview who's state changed
2018-04-12 14:22:42 -07:00
Matt Bierner
a2346c606d
Rename WebviewEditor to WebviewPanel
2018-04-12 12:06:07 -07:00
Matt Bierner
8cb7e80544
Split out Webview from WebviewEditor in proposed API ( #47370 )
...
* Split out `Webview` from `WebviewEditor` in API
**Problem**
The current proposed `Webview` interface has a few methods and properties that are very editor specific, such as `.reveal` and `.onDidChangeViewState`. These properies will not make sense if we ever allow webview to be displayed in other locations, such as in widgets
**Proposal**
Split the concepts of a `Webview` and of a `WebveiwEditor`. A webview is the html content itself. A `WebviewEditor` is an editor that displays a `Webview`
This would allow us to easily add other types of `Webview` owning objects in the future without having to document that some methods only apply when a webview is used as an editor vs as a widget
2018-04-11 11:49:02 -07:00
Matt Bierner
52c293a050
Fix webview type name casing
2018-04-06 17:09:41 -07:00
Matt Bierner
b641742452
Targeted fix for markdown special character links in #37079
...
Fixes #37079
2018-04-06 16:06:45 -07:00
Matt Bierner
5b90e42e3c
Make sure we don't try posting mesages to disposed markdown previews
...
Fixes #45553
2018-04-06 16:06:45 -07:00
Matt Bierner
c14e30aeb4
Show error when webview restore fails
2018-04-05 19:18:55 -07:00
Matt Bierner
afc08ae477
Make markdown preview revive wait on content populated
2018-04-05 10:24:07 -07:00
Matt Bierner
9755b46bf6
Fix double click markdown editor when in split view
...
#47188
2018-04-05 10:16:39 -07:00
Matt Bierner
dd21d3520a
Add webview restoration api proposal ( #46380 )
...
Adds a proposed webiew serialization api that allows webviews to be restored automatically when vscode restarts
2018-04-03 18:25:22 -07:00