Commit Graph

69 Commits

Author SHA1 Message Date
Benjamin Pasero
e916637528 tests - enable color output for integration tests 2021-03-01 15:10:15 +01:00
Henning Dieterichs
1f8643ef76 Refresh Images In Markdown Preview On Change (#114083)
* Refresh Images In Markdown Preview On Change (implements #65258).

* Fixes tests.

* Implements etags.

* Adds tests for urlToUri.

* Updates doc comment.
2021-01-19 18:01:21 -08:00
Alexandru Dima
7242082983 Fixes #112834: Ensure the markdown link provider is registered before invoking vscode.executeLinkProvider 2020-12-30 21:50:10 +01:00
Alexandru Dima
7ca71e763d Move away from deprecated 'vscode' node module (#112718) 2020-12-17 21:40:14 +01:00
meganrogge
4884986dd6 tweak smart select test 2020-12-02 10:13:02 -08:00
meganrogge
a2193cb827 fix #111714 2020-12-02 10:10:21 -08:00
meganrogge
5e54da666c fix #111675 and #111673 2020-12-01 17:03:47 -08:00
meganrogge
b2eca1fd4d Fix InMemoryDocument to support both OS line endings
Co-authored-by: mjbvz <matb@microsoft.com>
Co-authored-by: meganrogge <megan.rogge@microsoft.com>
2020-11-11 14:05:20 -08:00
Rob Lourens
35f9bac07d Disable markdown smart select tests #110365 2020-11-10 20:02:24 -08:00
Megan Rogge
63d15a97c7 Support character markup in mardown smart select (#110195)
* create tests and add selection functions for inline ranges
2020-11-10 11:38:27 -08:00
meganrogge
6e2aa0bfb7 clean up code and remove unused methods 2020-11-06 12:42:17 -08:00
meganrogge
08e556dc5d fix #109486 and #109489 2020-11-04 10:16:06 -08:00
Megan Rogge
5d4df8273e markdown smart select (#108818)
smart select
2020-10-26 15:33:48 -07:00
Nafana
df59ceb026 Markdown reference links starting with ^ should not be clickable (#108015)
Co-authored-by: mmacovei <mmacovei@sfu.ca>
2020-10-08 00:38:17 -06:00
Ladislau Szomoru
06730e3e29 Azure DevOps pipeline - generate unique test result names (#105148)
* Set suite name based on environment variable
2020-08-21 15:05:15 +02:00
Ladislau Szomoru
b2efcbf687 Add process.arch into the test results file name (#104946) 2020-08-19 07:48:37 +02:00
Johannes Rieken
4398a424d5 fix compile error 2020-08-13 12:49:55 +02:00
Matt Bierner
2a8c8def27 Re-enable markdown document link tests
Fixes #102364
2020-07-14 09:23:39 -07:00
Matt Bierner
3926674c39 Skip document link tests
These currently do not work on web

Skipping while investigating this
2020-07-13 14:07:29 -07:00
Matt Bierner
fdf23dc5f9 Working on supporting markdown links in serverless+web
For #101203
2020-07-10 13:25:55 -07:00
Matt Bierner
362d345448 Adding tests for opening markdown document links 2020-07-10 13:25:55 -07:00
Matt Bierner
b5ba760623 Adopt Uri.joinPath
For #99717
2020-06-09 16:08:42 -07:00
Pine Wu
2362584a62 Revert "Fix #73803"
This reverts commit 67e6aef0c8.
2020-03-06 00:30:14 -08:00
Pine Wu
4857a9a746 Revert "Fix integration test"
This reverts commit 5a0ab960f0.
2020-03-06 00:29:57 -08:00
Pine Wu
5a0ab960f0 Fix integration test 2020-03-05 12:41:06 -08:00
Pine Wu
67e6aef0c8 Fix #73803 2020-03-05 11:34:58 -08:00
Matt Bierner
6e30cf38a7 Mark markdown comment folding regions as comments
Fixes #91271
2020-03-02 11:26:29 -08:00
Benjamin Pasero
c2444b42af tests - proper text fixtures dir 2020-02-10 15:33:04 +01:00
Alex Dima
c9a2de2d9c Improve integration test output on Windows (#84239) 2019-11-08 17:21:35 +01:00
Connor Peet
3c42f56552 fixup! render a string as well 2019-07-11 11:24:28 -07:00
Micah Smith
01f7276b7e Fix for issue #35245 2019-06-12 14:30:54 -04:00
Johannes Rieken
c110d84460 fix integration test 2019-02-08 18:03:56 +01:00
Matt Bierner
198e6a55e7 Make sure we dispose of event emitters properly 2019-02-06 14:04:24 -08:00
Matt Bierner
038e8d3904 Make markdown extension points dynamic
For #67574

Blocked by #67958
2019-02-05 17:45:11 -08:00
Matt Bierner
476d7fe0ab Refactor markdown contributions
Reducing code duplication and reducing state
2019-02-05 16:56:45 -08:00
Phil Marshall
a7c88d79a2 updated test for switched order and new tests for image link 2019-01-25 18:46:28 -06:00
Phil Marshall
b1de159292 added test for markdown image link underline 2019-01-22 18:46:55 -06:00
Matt Bierner
e325cce9bc Fixing markdown unit tests 2019-01-09 18:15:34 -08:00
Prabhanjan S Koushik
e05aa178d6 Fix 63749 - Markdown, U+2028, and "Go to Symbol in File..." (#63936)
* fix-63749 - Added UNICODE_NEWLINE_REGEX

* fix-63749 - Removed .skip for the test method

* fix-63749 Moved Replace to parse
2018-11-29 09:09:36 -08:00
Matt Bierner
2f9f0c35cc Added failing test for #63749
Add skipped test for #63749 so someone can pick this up
2018-11-27 12:02:39 -08:00
Matt Bierner
7d95e3e5f9 Support markdown link navigation when duplicate slugs exist
Fixes #59711

For a md document:

```md
# a

# a

- [a](#a)
- [next a](#a-1)
```

You can now click on the second link in the editor to navigate to the second `a` header. It is identified by being suffixed with `-1`.
2018-10-08 15:51:29 -07:00
Matt Bierner
2806df93e4 Try to keep one blank line after markdown block element folds
Fixes #58187
2018-09-07 13:48:44 -07:00
Matt Bierner
a118676a3b Allow folding of html blocks in markdown files
Fixes #57505
2018-09-07 13:41:55 -07:00
Matt Bierner
5eab03cf75 Fix folding code blocks / lists with front matter 2018-09-07 11:36:38 -07:00
Jason Bright
d540729e40 add markdown list folding, #57104 (#57899) 2018-09-04 17:43:35 -07: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
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
Matt Bierner
33446a0a9e Use hierarchical markdown document symbols
Fixes #52546
2018-06-26 17:31:45 -07:00
Joao Moreno
8a3ffed0ab vsts: report smoketest results 2018-06-12 17:37:53 +02:00