Miguel Solorio
0f295fd07b
Update markdown preview icon to have bevel edges
2019-07-03 15:05:45 -07:00
Matt Bierner
9e7bb2c881
Support image/* data uris in markdown preview
...
Fixes #76080
2019-07-01 15:57:35 -07:00
Miguel Solorio
05ee90f7fd
Merge remote-tracking branch 'origin/master' into misolori/new-icons
2019-06-28 11:05:33 -07:00
Miguel Solorio
9f7dd28e6d
Update icons
2019-06-26 15:46:15 -07:00
Matt Bierner
be41fd02a2
Show document link tooltip first and put click instructions in parens
...
Fixes #76077
This change also update our standard link hovers to follow this format
2019-06-25 16:38:50 -07:00
Matt Bierner
8119b4aee7
Move the webviewResourceRoot property to be set on each webview instead of as a global property
...
For #72155
This allows us to potentially change the resource root per webview
2019-06-24 17:07:06 -07:00
Miguel Solorio
e998949260
Update markdown icons
2019-06-20 11:53:01 -07:00
Matt Bierner
7f3d3d835f
Add vscode.env.webviewResourceRoot api
...
Fixes #72155
Adds a constant to the api that tracks the root path for resources inside of webviews. This is required because we will not be able to use `vscode-resource:` uris on the web. Our current approach is to rewrite the html we are given but there are almost certainly going to be cases where we don't get this quite right.
Adopts the new api for the markdown preview
2019-06-18 22:29:37 -07:00
Matt Bierner
18ba826e67
Markdown previews should be able to load resources from next to where they are running
...
Add `'self'` to some content security policies for the preview
2019-06-17 11:20:19 -07:00
Matt Bierner
2ad085b5bd
Merge pull request #75357 from Olovan/fix_35245
...
Fix for issue #35245
2019-06-12 16:56:13 -07:00
Micah Smith
01f7276b7e
Fix for issue #35245
2019-06-12 14:30:54 -04:00
Matt Bierner
8de74d9255
Extracting common webview elements
...
Minimizing diff with the iframe based webview branch
2019-06-11 22:45:55 -07:00
Aurélien Pupier
7a5bca9faf
Add License field to package.jsons #68423 ( #68771 )
...
it should avoid to have "warning XXX: No license field" during yarn
build
Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Matt Bierner
b33f52a46e
Update highlightjs version
2019-06-05 15:41:45 -07:00
Benjamin Pasero
d78a75973c
update @types/node ( #74881 )
2019-06-05 10:20:01 +02:00
Matt Bierner
143bebfbb4
Use em for code font size instead of rem
...
This fixes some cases where a user style sheet may be setting a weird base font-size.
2019-05-29 15:44:48 -07:00
Matt Bierner
f3b8d15b0d
Add DocumentLink.tooltip api proposal
...
For #72824
2019-05-23 17:57:04 -07:00
Matt Bierner
71deb5b6ee
Extend disposable
2019-05-22 15:25:48 -07:00
Matt Bierner
519eb3690c
Extract duplicated escaping code
2019-05-22 15:25:48 -07:00
Matt Bierner
f250d19bb5
Use relative size for markdown code font size
...
Fixes #74125
2019-05-22 10:53:49 -07:00
Howard Hung
0ddd999172
Fix typo: showSecutitySelectorForResource -> showSecuritySelectorForResource
2019-05-22 01:25:59 +08:00
Matt Bierner
4470b868a3
Check pending version before updating markdown preview content
...
For #72671
2019-04-29 13:49:36 -07:00
Matt Bierner
6b2daa3388
Revert marking markdown extension with explicit kind
2019-04-22 21:05:16 -07:00
Matt Bierner
5ae3178c1d
Mark markdown as a ui extension
2019-04-15 15:28:03 -07:00
Matt Bierner
312b09cc6b
extract setContent
2019-04-12 14:43:14 -07:00
Matt Bierner
74103c4c8d
Don't change preview when click fails but do show an alert
2019-04-12 14:43:14 -07:00
Matt Bierner
3b58a011da
Only try/catch openTextDocument
2019-04-12 14:43:14 -07:00
Matt Bierner
c79f1cd8e3
Styling
2019-04-12 14:43:14 -07:00
pkoushik
bda2870db9
fix-71570 Fixed localize string issue
2019-04-06 12:19:10 +05:30
pkoushik
10a4ebf006
Merge remote-tracking branch 'upstream/master' into fix-71570
...
* upstream/master: (34 commits)
Fix markdown.styled regression caused by Uri.parse changes
Process explorer refactoring
fix compile error
fix open workspace uri from cli
Delete deprecated search provider stub
test dependenices are devDependencies
Fix default uri when scheme is file
disable flaky test, #71801
use `readonly T[]` instead of `ReadonlyArray<T>`
simplify protocol check
Let enablment service handles local workspace extensions in remote window
debt - make ext host init data more complete
Fix colorization tests
fixes #71671
Update grammars
Add yes-no choice for overwriting existing file for save as
update distro
ExtensionEnablementService: - Remove getDisabledExtensions and instead use isEnabled or getEnablementState methods
Simplify reload action and fix test
Update distro hash
...
2019-04-06 12:17:00 +05:30
Matt Bierner
f44e51ed38
Fix markdown.styled regression caused by Uri.parse changes
...
Fixes #71802
Uri.parse now defaults to a `file` scheme, which broke this code
2019-04-05 16:05:32 -07:00
pkoushik
3cef5067be
fix-71570 Added logic to handle markdown preview update on file rename and delete
2019-04-05 11:38:18 +05:30
Matt Bierner
86fe4b3b1c
💄
2019-04-03 11:37:19 -07:00
Matt Bierner
0ec326531e
Use flatten array helper
2019-04-02 17:16:10 -07:00
Matt Bierner
d655e6f726
Make sure we always include uriScheme in knownSchems for markdown
2019-04-02 16:27:22 -07:00
Matt Bierner
37c9a750b0
Merge pull request #71442 from vitaliymaz/fix-markdonw-re-render
...
re-rendering Markdown preview when updated extra configurations provided by extension
2019-04-02 11:03:59 -07:00
Evan Bovie
8c1079b443
Add vscode-insiders URI prefix to knownSchemes in links.ts
2019-04-02 10:23:39 -07:00
Vitaliy Mazurenko
e40d72b1b5
re-rendering Markdown preview when updated extra configurations provided by extension
2019-04-01 10:52:23 +03:00
Evan Bovie
13948796f3
Add vscode:
URI prefix to knownSchemes in links.ts
2019-03-28 12:36:37 -07:00
Matt Bierner
f62d1f25f3
Only show the markdown refresh preview command when preview is active or you are in a markdown file
2019-03-01 16:06:51 -08:00
Matt Bierner
877bb6f5d8
Remove tommorow theme from registrations.
...
Fixes #63564
We only use highlight.js which includes a theme based on tommorw, we do not use the tommorow theme repository directly.
2019-02-22 16:04:08 -08:00
Matt Bierner
fe01a19db1
Revert change accidentially include in check in
2019-02-20 13:56:58 -08:00
Matt Bierner
178327770c
Add lightbulb badge when a preferred fix is available
...
Fixes #66702
2019-02-20 13:36:44 -08:00
Matt Bierner
003521e715
Fix markdown preview restoring to wrong position on restart
2019-02-14 18:24:01 -08:00
Johannes Rieken
c110d84460
fix integration test
2019-02-08 18:03:56 +01:00
Alex Dima
f15a6faaca
Try to fix Markdown
2019-02-07 09:53:52 +01:00
Benjamin Pasero
e2d1fd06d1
debt - update extensions node dependency to 10.x
2019-02-07 08:49:36 +01:00
Matt Bierner
6ca137730b
Extract
2019-02-06 14:04:24 -08:00
Matt Bierner
198e6a55e7
Make sure we dispose of event emitters properly
2019-02-06 14:04:24 -08:00
Matt Bierner
6b8b1b7bea
Improve naming
2019-02-06 14:04:24 -08:00