Commit Graph

7679 Commits

Author SHA1 Message Date
Ԝеѕ
32b4eb7359 Add .har extension to JSON language (#77300) 2019-10-07 12:08:52 +02:00
Matt Bierner
8e944be15c Support jsonc for code block type with highlightjs 2019-10-04 17:57:33 -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
a967c8ada3 Move js/ts json validation to js/ts language features extension
Fixes #73336
2019-10-04 15:31:21 -07:00
Matt Bierner
bac36e97c6 Close image preview when file on disk is deleted
Fixes #81884
2019-10-03 13:46:31 -07:00
Matt Bierner
ef698fa6cd Make markdown refresh more stable
Fixes #80680

- Always sync the current preview line number with the editor, even when `scrollEditorWithPreview` is false

- If the md file is focused and refresh is called, do not try resetting the current line to match the editor file. This mainly effects the case where `scrollEditorWithPreview` is false
2019-10-03 13:46:31 -07:00
Pine Wu
d4e49567f3 Update html language service 2019-10-03 12:14:14 -07:00
Jean Pierre
096eb643d1 Fixes #81876 (#81885) 2019-10-03 11:27:40 -07:00
Pine Wu
2b9bb7c2e0 Update css language service 2019-10-03 09:33:34 -07:00
Matt Bierner
b8869cd989 Fix git diff view for untracked image files showing an error on left side 2019-10-02 14:19:29 -07:00
Matt Bierner
2235ebf5db Handle new vscode-resource format for md linkes
Fixes #81849

This is a safer scoped fix, not the best one. Will look into removing most of this uri munging for october
2019-10-02 14:09:38 -07:00
Pine Wu
f7efcef2be Fix #81845 2019-10-02 13:16:46 -07:00
Christof Marti
a1b7714d26 Schema for attached container configurations (fixes microsoft/vscode-remote-release#1577) 2019-10-02 21:11:42 +02:00
Matt Bierner
b058a2831a Correctly style image loading indicator for various themes
Wrong class name was being used
2019-10-02 10:44:00 -07:00
Matt Bierner
b7cc9ca822 Update md grammar 2019-10-02 10:39:26 -07:00
Alex Ross
75e6fa0797 Add completion suggestion for defaultBuildTask
Fixes #81816
2019-10-02 15:42:16 +02:00
Benjamin Pasero
689e2fd320 fix compile 2019-10-02 14:20:32 +02:00
Benjamin Pasero
bb0dbb3b9c fix vscode.open() tests (#81833) 2019-10-02 12:28:48 +02:00
Martin Aeschlimann
ddcdb9dd66 json: provideFormatter fix 2019-10-02 12:14:01 +02:00
Joao Moreno
695ee74864 doh 2019-10-02 10:28:23 +02:00
Joao Moreno
3f21572d6a comment out test 2019-10-02 09:54:18 +02:00
Matt Bierner
a25c6e6660 Add CSP 2019-10-01 17:00:00 -07:00
Matt Bierner
04d0cf6ad6 Show errors when image can't be loaded
For #81803
2019-10-01 16:17:48 -07:00
Matt Bierner
aeae28bf2c Remove tiff as a supported image preview format
Fixes #81803

This is not supported by chromium
2019-10-01 15:41:56 -07:00
Matt Bierner
c241e1d5e4 Making status bar items for images more reliable
Fixes #81738
2019-10-01 15:05:22 -07:00
Matt Bierner
47ac64a019 Make sure status bar name for zoom/size can be localized 2019-10-01 15:05:22 -07:00
Matt Bierner
b3da545c1d Use enum to track preview state to avoid getting into invalid states such as active & disposed 2019-10-01 15:05:22 -07:00
Matt Bierner
6493b8dc0a Make sure active is set to false when webviews are disposed 2019-10-01 15:05:22 -07:00
Matt Bierner
72c8590b39 Make sure zoom status bar selections only effect the active image
Fixes #81799
2019-10-01 15:05:22 -07:00
Matt Bierner
00b1067cab Add simple description for image preview extension
Fixes #81741
2019-10-01 13:45:00 -07:00
Matt Bierner
eedf80d84b Re-render image preview when image on disk changes
Fixes #81751

Make sure we reload the image in the preview when it changes on disk
2019-10-01 11:57:37 -07:00
Pine Wu
9bb24dc1c1 Upgrade html/css language services 2019-09-30 16:42:01 -07:00
Martin Aeschlimann
1465409125 update json server & service 2019-09-30 22:58:40 +02:00
Martin Aeschlimann
d6169488c3 update html server & service 2019-09-30 22:58:18 +02:00
Martin Aeschlimann
ecba37c6ef update css service/server 2019-09-30 22:55:31 +02:00
Pine Wu
7a27b26446 Polish css.completion.completePropertyWithSemicolon doc 2019-09-30 11:41:07 -07:00
Martin Aeschlimann
bae6f5f1a5 [json] "Fetch Online Package Info" feature doesn't work when npm is not present. Fixes #77066 2019-09-30 16:59:34 +02:00
Martin Aeschlimann
78a6b2d72f #81592 again 2019-09-30 14:51:26 +02:00
Martin Aeschlimann
078acb7872 JSON formatting often fails at first. Fixes #71652 2019-09-30 12:25:57 +02:00
Alex Ross
09836b5a84 Undo change to scope/coloring of #includes in cpp 2019-09-30 11:57:34 +02:00
João Moreno
3a01780e9e Merge pull request #81609 from vedipen/saveAllAndCommitFix
Save all and commit fix
2019-09-30 09:42:33 +02:00
Martin Aeschlimann
3259fbf267 [json] Use textDocument.rangeFormatting.dynamicRegistration instead of workspace.symbol.dynamicRegistration? #81592 2019-09-30 09:23:23 +02:00
Dipen Ved
6a0c40a0cc save all and commit fix 2019-09-29 19:55:17 +05:30
Matt Bierner
408a3eb7bb Add loading indicator while image is loading in image preview
Fixes #81571
2019-09-27 14:50:43 -07:00
Matt Bierner
e5efdb4b4b Expand documentation for typescript.tsdk
Fixes #42243
2019-09-26 17:29:13 -07:00
Matt Bierner
d9950173c1 Draw image border for custom image editor 2019-09-26 16:10:48 -07:00
Pine Wu
5dc057df59 Upgrade emmet helper deps for #77776 2019-09-26 10:21:36 -07:00
Matt Bierner
f7274467ca Fix compile error in extension 2019-09-25 18:57:39 -07:00
Matt Bierner
6b947b14ed Fix image preview extension for remote
Fixes #81434

- Make image preview a ui exension

- Add logic so that `asWebviewUri` supports preserving the scheme of the requested resource. This is important as we know where to load the resource from
2019-09-25 16:25:40 -07:00
Ron Buckton
340f7beef9 Fix to allow for optional chain token in completions (#81402) 2019-09-25 11:13:58 -07:00