Commit Graph

120 Commits

Author SHA1 Message Date
Alexandru Dima e42440bd35
Merge remote-tracking branch 'origin/master' into alex/node-modules-webpack 2020-12-17 17:35:21 +01:00
Alexandru Dima 1cada18542
Share webpack related node modules (#112718) 2020-12-17 11:16:03 +01:00
Alexandru Dima ed19f6082f
Share mocha related node modules (#112718) 2020-12-17 11:03:49 +01:00
Matt Bierner 92723a8a2c Bump markdown-it and highlight versions 2020-12-11 12:14:27 -08:00
dependabot[bot] 6062ebe318
Bump highlight.js in /extensions/markdown-language-features (#111262)
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 9.15.10 to 10.1.2.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/10.1.2/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/9.15.10...10.1.2)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-11-30 17:32:45 -08: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
Miguel Solorio fe70e8e27b Update markdown extension to use codicons (fixes #99976) 2020-06-12 11:30:53 -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
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 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
Pine Wu 2362584a62 Revert "Fix #73803"
This reverts commit 67e6aef0c8.
2020-03-06 00:30:14 -08:00
Pine Wu 67e6aef0c8 Fix #73803 2020-03-05 11:34:58 -08:00
Matt Bierner dc68e6578e rename custom editor activation event
For #77131

Renames the activation event from `onWebviewEditor` to `onCustomEditor` to be consistent with the reset of the API
2020-02-26 10:59:36 -08:00
Matt Bierner dc1e7871b8 Rename custom editor contribution point
Renaming to match new API proposal
2020-02-25 10:55:41 -08:00
태재영 a03df2d635
update markdown-it-front-matter version (#90122) 2020-02-10 14:45:13 -08:00
Matt Bierner 007b3032ad Update to TS 3.7.3 for building VS Code 2019-12-11 15:58:59 -08:00
Matt Bierner 0491afb85e Update md version 2019-11-09 12:52:27 -08:00
Matt Bierner 8236f06bfc Add experimental webview editor based markdown preview
Potentially for #54776, #2766
2019-11-08 10:38:51 -08:00
Matt Bierner 37753d5bbc Update deps 2019-11-02 15:28:01 -07:00
Benjamin Pasero ca22de4b17 debt - bump node.d.ts dependency in extensions to 12.x (part of #82514) 2019-10-28 08:11:47 +01:00
Matt Bierner acdbc65fcc Update highlight js and md versions 2019-10-12 20:14:07 -07:00
Matt Bierner 36aa903d5a Rewrite how we handle links in the md preview
Try to simplify how we resolve links:

- Move most logic out of the preview itself.
- Simplify the amount of rewriting we do in the markdown engine
2019-10-04 17:57:33 -07:00
Matt Bierner a835f40c5b Remove deprecated scrollPreviewWithEditorSelection setting 2019-09-11 14:28:22 -07:00
Matt Bierner 28c5988f47 Renaming setting names 2019-09-10 16:20:01 -07:00
Salvador Cabrera Lozano c307d73664 Fix for #26659. (#80227)
* Fix for #26659.

Clicking on a  local file link will open up the editor on a separate editor group (new or reuse existing one).

* Fix for #26659: Add way to open Markdown links in a different editor group

Adding "markdown.editor.openMarkdownLinks" setting to specify where
links to markdown files should open (current editor group by default).
2019-09-10 15:58:27 -07:00
Matt Bierner 4f5ef27990 Pull in latest markdown-it version 2019-08-21 18:03:50 -07:00
Matt Bierner f509f7f141 Rename command
#75612
2019-08-20 11:25:42 -07:00
Matt Bierner 7c3aeb10a2
Merge pull request #77151 from connor4312/feat/markdown-render-command
feat(markdown): add render command (fixes #75612)
2019-08-20 11:23:47 -07:00
Pine Wu d44f9dae34 Use array of string for applicable builtin settings 2019-07-17 15:07:31 -07:00
Connor Peet 7dd109c2df
feat(markdown): add render command (fixes #75612)
This adds a command which renders the provided document, or the active
editor if one is provided. Following the pattern of some of the preview
commands, it returned `undefined` if there's no document provided and
no active text editor. Otherwise, seems to work...

```ts
const html = await vscode.commands.executeCommand<string>('markdown.render');
```

A way to render arbitrary strings in addition to documents may be useful at
some point in the future. However, I didn't implement that here as that'd
require some refactoring of the markdown engine. If we're interested though
I could certainly give that a shot.
2019-07-10 15:49:06 -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 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
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 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 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
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
SteVen Batten ccdd2997a6
update AI module (#66370)
fixes #64849
2019-01-10 17:43:25 -08:00
Matt Bierner 1bbc0e3b4d Deprecate the previewFrontMatter setting
Switch to always hiding the frontmatter and then allowing markdown-it plugins to render it properly if they wish. `previewFrontMatter: "show"` is also not very useful since it usually results in a jumble of text at the top of the file

This is required with the new performance work to avoid re-tokenizing the document  multiple times during rendering
2019-01-09 19:05:55 -08:00
Benjamin Pasero 83232ef060 fonts - remove HelveticaNeue-Light from list 2019-01-04 10:11:04 +01:00
Matt Bierner 23508cf1a0 Update markdown dependencies 2018-12-19 13:40:54 -08:00
Johannes Rieken b343fcf6ab declare proposed api usage only where actually being used 2018-10-24 12:27:59 +02:00
Ramya Achutha Rao a975e59eaf Update applicationInsights for #60585 2018-10-16 16:29:08 -07:00
Matt Bierner 9e017425b3 Replace markdown-named-headers with custom version
Fixes #47537

Use our own version of markdown named headers. This fixes some bugs around handling duplicate headers
2018-10-08 16:04:47 -07:00
Ramya Achutha Rao 972ee3f948 Use latest applicationinsights in extensions too 2018-09-25 16:45:00 -07:00
Matt Bierner e19c9ba82d Addd option to open markdown preview links in markdown preview
Fixes #19339
2018-09-21 15:08:42 -07:00
Johannes Rieken 6999ddbab7 update vscode-extension-telemetry 2018-09-20 12:06:55 +02:00
Ramya Achutha Rao d0a67178ca Update appinsights in built in extensions 2018-09-18 18:35:12 -07:00
Johannes Rieken fc2b0a8ec1 add missing vscode-nls updates 2018-09-06 15:12:28 +02:00
Benjamin Pasero 920defc6a6 debt - update extensions node dependency to 8.x 2018-08-14 10:44:56 +02:00
Ramya Achutha Rao 1912c5d755 Allow extensions to log telemetry to log files #54001 2018-07-30 16:18:54 -07:00
Dirk Baeumer 21991b4912 Move to latest vscode-nls for corrupted cache support 2018-07-03 16:12:52 +02:00
Matt Bierner 66a9cfd809 Update deps 2018-06-20 14:12:18 -07:00
Joao Moreno 4dc738593b complete integration test results 2018-06-12 17:24:23 +02:00
Matt Bierner 608bbb7c01 Use better colors for markdown code blocks 2018-05-30 22:53:56 -07:00
Matt Bierner b00948ffec Use more specific onWebviewPanel activation event 2018-05-25 12:11:57 -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
Ramya Achutha Rao 1139de12c0 Create appInsights client only if user has opt-in to telemetry 2018-04-25 15:21:15 -07:00
Ramya Achutha Rao 953cdf7f3d Update vscode-extension-telemetry version 2018-04-20 10:30:05 -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
Martin Aeschlimann f57c35c0f2 Languages -> Programming Languages (for #47103) 2018-04-03 14:30:02 +02:00
Martin Aeschlimann 53332ed17f fix npm scripts after extension rename 2018-03-20 15:29:48 +01:00
Matt Bierner 468dc867cd Rename markdown to markdown-language-features 2018-03-19 21:08:39 -07:00