Commit Graph

398 Commits

Author SHA1 Message Date
Ramya Achutha Rao
c1ee104fd4 Use latest version of telemetry module 2018-02-23 14:57:27 -08:00
Matt Bierner
ed8aa7702b Provide real name and description for markdown extension
#43978
2018-02-22 15:12:09 -08:00
Matt Bierner
2d1f6d422b Add localResourceRoots to webview options
Fixes #44039

Add a new option that lets extensions override which root folders a webview can load local resources from. Defaults to allowing any resource in the workspace
2018-02-21 14:05:47 -08:00
Matt Bierner
e05609d5ec Fix markdown style load error 2018-02-21 11:57:01 -08:00
Ramya Achutha Rao
ad06c9c609 Update telemetry module 2018-02-17 17:27:09 -08:00
Matt Bierner
cc19497c49 Remove unnecessary toLowerCase 2018-02-16 17:26:13 -08:00
Matt Bierner
f5849bebec Fix markdown preview links back to workspace resource
Fixes #43869
2018-02-16 17:19:36 -08:00
Matt Bierner
e44ca4211c Add jscheck casts 2018-02-16 13:50:09 -08:00
Matt Bierner
f9765ffb9f Fix bad old command form being sent from markdown preview 2018-02-16 13:49:09 -08:00
Matt Bierner
7398d3be89 Clean up reveal line logic 2018-02-16 13:48:02 -08:00
Keisuke KATO
d17652218a Fixed an error when previewing the first line with Markdown extension (#43835) 2018-02-16 12:59:33 -08:00
Matt Bierner
3412eab2ec Webview Api Prototype (#42690)
* Webview api

* Cleaning up markdown webview

* Hooking up dispose

* Fix some merge errors

* Use custom context key to show markdown title bar contributions

* Add basic on focus and on blur events

* Fixing find widget in webview

* Hookup _isDisposed

* Use new extension resource scheme to load markdown extension resources

* Documenting keep alive
2018-02-14 18:52:26 -08:00
Ramya Achutha Rao
994bfe6903 Update telemetry module to fix issue of missing version in events 2018-02-13 17:07:30 -08:00
Matt Bierner
4d12201733 Update markdown grammar 2018-02-12 18:08:22 -08:00
Matt Bierner
38cfb0438e Update markdown grammar 2018-02-12 18:08:22 -08:00
Martin Aeschlimann
8fdf170a08 update grammar script: remove unused properties 2018-02-12 16:54:46 +01:00
Matt Bierner
3b8696579f Make markdown show preview command multiselect aware
Fixes #42583
2018-02-09 15:16:10 -08:00
Matt Bierner
5394c43363 Revert commands title change 2018-02-09 15:09:36 -08:00
Joao Moreno
1e456712cb missing yarn.lock changes 2018-02-09 12:35:07 +01:00
Matt Bierner
8e88f8cf03 Update markdown grammar
Fixes #43150
2018-02-08 15:57:20 -08:00
Matt Bierner
9030f132e3 Use extracted markdown grammar
Fixes #43141
2018-02-08 12:59:25 -08:00
Matt Bierner
6e8d4d057b Moving openDocumentLinkCommand to own file
Move OnPreviewStyleLoadErrorCommand to own file

Move commands.ts into new commands directory

Moving show preview commands to own file

Add missing import for tests

Use export from to export commands

Extract tryRevealLine to own method

Extract tryOpen to method

Extract moveCursorToPosition to own file

Extract didClick command to own file

Move RevealLineCommand to own file

Move ShowPreviewSecuritySelectorCommand command to own file

Move refreshPreviewCommand to own file

Move show source command to own file
2018-02-07 16:08:54 -08:00
Matt Bierner
f66c6f9b3f Fixing a few TS 2.7 errors 2018-02-07 16:08:54 -08:00
Matt Bierner
e385fc3e3f Make data2String static 2018-02-07 16:08:54 -08:00
Matt Bierner
e8bc943db4 Adding more tests for toc provider 2018-02-07 16:08:54 -08:00
Matt Bierner
b93fa7bf4c Use find for toc lookup 2018-02-07 16:08:54 -08:00
Matt Bierner
01631fefe4 TOC lookup returns toc entry instead of line number 2018-02-07 16:08:54 -08:00
Matt Bierner
8f497e771c Mark all toc entries properties readonly 2018-02-07 16:08:54 -08:00
Matt Bierner
14b7051664 Adding basic test for markdown 2018-02-07 16:08:54 -08:00
Matt Bierner
5cf57a1b08 Small formatting fix 2018-02-07 16:08:54 -08:00
Matt Bierner
54c037cc65 Make slug a whole value 2018-02-07 16:08:54 -08:00
Matt Bierner
e459b96852 Don't use nan to signal undefined table of contents position 2018-02-07 16:08:54 -08:00
Matt Bierner
31a237f49c Use alwaysStrict in markdown extension 2018-02-07 16:08:54 -08:00
Matt Bierner
2ace8adce1 Mark property reaonly 2018-02-07 16:08:54 -08:00
Royall Spence
c8a22ccead Fix typo (#42364) 2018-01-30 11:27:14 -08:00
Dirk Baeumer
e91b851ca8 Upgrade to latest language pack format 2018-01-30 00:11:57 +01:00
Ramya Achutha Rao
71c3b15465 Update the telemetry module used by extensions 2018-01-29 14:53:24 -08:00
Matt Bierner
eaa199495e Add alias for markdown commands
#39778
2018-01-29 09:55:20 -08:00
Dirk Baeumer
04594c864b Add support for Language Packs 2018-01-25 21:14:34 +01:00
Matt Bierner
9e6b718bd4 Fixing markdown colorization test 2018-01-24 08:42:06 -08:00
Mika Andrianarijaona
2472a47bc8 fix: add word boundray to check markdown italic (#41466)
* fix: add word boundray to check markdown italic

* fix: update markdown.tmLanguage.base
2018-01-24 08:40:25 -08:00
Benjamin Pasero
ee08381433 markdown - put a group to actions for editor/title 2018-01-04 17:28:03 +01:00
Ash258
553ace93d1 Add region markers for Markdown (#40312)
Region markers for Markdown wasn't added since markers were implemented
2018-01-02 15:28:36 -07:00
Matt Bierner
0532a3429a Fix markdown preview section links
Fixes #40877
2018-01-02 10:43:16 -08:00
isidor
b1a8048c19 fix tests and groups 2017-12-27 17:50:31 +01:00
isidor
c89c89f60c markdown contribute to 2_navigation 2017-12-21 16:37:41 +01:00
Matt Bierner
20f2d6fe1b Extract markdown preview scheme to constant 2017-12-20 17:24:45 -08:00
Matt Bierner
55382a106f Cache code-line elements for md scroll-sync
Fixes #19092
2017-12-18 14:25:39 -08:00
SteVen Batten
f929c1bff4 updating the md scroll sync to use binary search over linear search (#40401) 2017-12-18 10:45:45 -08:00
Matt Bierner
6ccc79823d Fix fragment name 2017-12-12 18:12:57 -08:00