Commit Graph

381 Commits

Author SHA1 Message Date
Matt Bierner
dd124a5cae Cleaning up code
- Use more explicit names
- extract
- Use `??`
2020-10-16 17:18:44 -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
Matt Bierner
240afbde58 Use array.equals 2020-09-16 11:58:01 -07:00
dependabot[bot]
a9a7cf18f3 Bump yargs-parser in /extensions/markdown-language-features (#106373)
Bumps [yargs-parser](https://github.com/yargs/yargs-parser) from 13.1.1 to 13.1.2.
- [Release notes](https://github.com/yargs/yargs-parser/releases)
- [Changelog](https://github.com/yargs/yargs-parser/blob/master/docs/CHANGELOG-full.md)
- [Commits](https://github.com/yargs/yargs-parser/commits)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-09-10 09:34:00 -07: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
dependabot[bot]
0b773db915 Bump elliptic in /extensions/markdown-language-features (#103658)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.4.0 to 6.5.3.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.4.0...v6.5.3)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-08-03 14:01:25 -07:00
Matt Bierner
bd11c7f95a Don't use negative margins for spacing in markdown preview 2020-08-03 12:27:57 -07:00
Jean Pierre
f732547a3d Fixes #103076 (#103578) 2020-07-29 15:31:50 -07:00
Alex Dima
91cdca1bdb Do not ship unnecessary files with extensions 2020-07-24 13:57:51 +02:00
Matt Bierner
731f9c2563 Prefer using data-href if it exists on a markdown preview link
Fixes #101203
2020-07-23 21:51:18 -07:00
dependabot[bot]
454f2dc891 Bump lodash in /extensions/markdown-language-features
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-17 11:08:54 +00:00
Matt Bierner
7099dc0708 Add extra check to markdown state
Possibly for #102733

Tries to get users out of a potential bad state where the state was being stored as a string. Only insiders users should have hit this
2020-07-16 16:27:42 -07:00
Jason Williams
9a12a5abed fix paragraphs inside of <ul>'s which are too spaced apart. (#102719)
* * paragraphs inside of <ul>'s were too spaced apart.
* It looks odd because markdown converts list items to <p>s

* li > p should be even better
2020-07-16 11:20:38 -07:00
Jason Williams
3ef3c105e6 h1 bottom margin is too much (#102520) 2020-07-14 11:21:45 -07:00
Matt Bierner
2a8c8def27 Re-enable markdown document link tests
Fixes #102364
2020-07-14 09:23:39 -07:00
Matt Bierner
c828a5339b Fix indentation style 2020-07-13 18:01:07 -07:00
Jason Williams
b8e773ebed fix styling to improve heading spacing fixes #102036 (#102427)
* updating styling to make headings look better

* be consistent and use em
2020-07-13 17:40:38 -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
1cfd3a1b28 Use own version of toJson
This avoids having the uri transformed unexpectedly
2020-07-13 10:56:21 -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
eb29e868de Use uri 2020-07-10 13:25:16 -07:00
Matt Bierner
ef02845561 Convert to async 2020-07-10 13:25:16 -07:00
Peng Lyu
6a4866acd2 Reposition Editor Reopen With action. (#101936)
* Reposition Editor Reopen With action.
* 1_open

Co-authored-by: Benjamin Pasero <benjpas@microsoft.com>
2020-07-10 09:04:15 -07:00
Matt Bierner
3a54cd7ca3 Disable markdown commands when in markdown cells in notebooks
Fixes #101514
2020-07-06 14:59:29 -07:00
Martin Aeschlimann
16be2c9885 used shared webpack-config for browser 2020-06-25 23:22:02 +02:00
Matt Bierner
b95968eafb Don't include inline source maps in markdown preview scripts 2020-06-17 15:24:16 -07:00
Miguel Solorio
fe70e8e27b Update markdown extension to use codicons (fixes #99976) 2020-06-12 11:30:53 -07:00
Martin Aeschlimann
917064c80c move polyfills to build/polyfills 2020-06-11 21:54:43 +02:00
Martin Aeschlimann
0a5e259993 web: turn off markdown performance hints 2020-06-11 11:37:58 +02:00
Martin Aeschlimann
e9c7969f93 add polyfills/** to vscodeignore 2020-06-11 10:18:39 +02:00
Matt Bierner
1275b918be Use joinPath in a few more places 2020-06-10 16:44:10 -07:00
Matt Bierner
b5ba760623 Adopt Uri.joinPath
For #99717
2020-06-09 16:08:42 -07:00
Matt Bierner
a51205f59d Fix markdown preview in serverless
For #99717
2020-06-09 16:04:47 -07:00
Matt Bierner
b42086b6eb Enable markdown language features for web/serverless 2020-06-09 15:32:18 -07:00
Benjamin Pasero
588097171c Refactor our font stack (#99429)
* fonts - adopt monaco-monospace-font in more places and make it consistent

* font - use platform specific fonts in more places

* font - move system-ui before Ubuntu font in places where we cannot control platform

* font - only use system-ui on Linux

* fonts - adjust font stack for other windows
2020-06-05 10:56:07 +02:00
Matt Bierner
3e9b7f5072 Fix markdown fontsize
Fixes #98178
2020-05-20 15:40:27 -07:00
Matt Bierner
4da345ea2b Clairify breaks setting effect
Fixes #97382
2020-05-11 17:33:28 -07:00
Matt Bierner
df88d8a7ef Use vscode editor font variable in markdown preview
Fixes #97374
2020-05-11 14:23:16 -07:00
Danny Lin
ff118340b5 Use system-ui alias for UI fonts (fixes #10144) (#96948)
Commit 45d93e9325 applied this change in
some areas, but it was reverted to fix #28619. The underlying cause of
the regression was Chromium bug 733219 [1], which has now been fixed, so
this change should be safe to apply now.

The old font stacks have been kept with lower priorities to work around
Chromium bug 724393 [2].

[1] https://bugs.chromium.org/p/chromium/issues/detail?id=733219
[2] https://bugs.chromium.org/p/chromium/issues/detail?id=724393
2020-05-08 08:21:40 +02:00
Matt Bierner
41ca01f942 Remove console log
Fixes #96915
2020-05-04 17:28:33 -07:00
Matt Bierner
7d238f4281 Add 'open with' to the explorer context menu (#95805)
This change primarly adds a new `Open with...` entry to the explorer context menu. To do this however, I had to make a few other changes:

- Add a new explorer context key for availible editors
- Moved the editor select prompt into a new function called `openEditorWith`
- Use `openEditorWith` for the new `open with` explorer command as well as for the `reopen with` command
2020-04-23 14:16:36 -07:00
Thomas Weingartner
b5136c0c79 Fix to 'Markdown Preview of relative links drops 'host' from path' (#95092)
* Fix #93691

* Fix #93961
2020-04-13 14:43:00 -07:00
Matt Bierner
e7bc301be6 When clicking on a link to a folder in markdown, reveal the folder
Fixes #91336
2020-04-13 13:02:14 -07:00
Matt Bierner
9cfd597153 Rework markdown preview code to better support markdown preview editors
Splits the preview part of the markdown preview from the dynamic preview management part of things. Static preview swap to preview the active markdown file and don't scroll sync with any other markdown files
2020-04-11 17:30:12 -07:00
Ilia Pozdnyakov
f3a31a4eeb fix uri fragment slugification #94508 (#94655) 2020-04-09 14:21:18 -07:00
Matt Bierner
d4ce7148dd New custom editor API proposal
For #77131

Fixes #93963
Fixes #94515
Fixes #94517
Fixes #94527
Fixes #94509
Fixes #94514
Fixes #93996
Fixes #93913

This removes explicit edits from the API and reshapes the API to more closely match VS Code's internal API. The change also tries to better express the lifecycle of backups
2020-04-08 17:53:39 -07:00
Matt Bierner
d41997790c Remove CustomDocument.viewType
Fixes #93867
For #77131

This property is no longer needed (or very helpful) with the current api design
2020-03-31 12:00:17 -07:00