Commit graph

7702 commits

Author SHA1 Message Date
Rob Lourens c0bd994bc7 Fix PHP indentation rule for 'case'
Fix #81107
2019-10-09 18:30:30 -07:00
Matt Bierner 21ba436c51 Fix one more case of #81320
The markdown link people write may be uri encoded. We need to decode these before trying to open them
2019-10-09 13:01:30 -07:00
Benjamin Pasero b73f9ec854 Add a setting to disable gpu acceleration (fixes #15211) 2019-10-09 17:15:06 +02:00
Martin Aeschlimann 841d89748a [rust] provide auto indent pattern. Fixes #51802 2019-10-09 17:04:15 +02:00
Martin Aeschlimann 13d3f41417 [html] Format code of type="text/babel" scripts in html files. Fixes #39866 2019-10-09 16:17:36 +02:00
Joao Moreno d1be9d02cd
💄 2019-10-09 12:48:21 +02:00
Joao Moreno 4ce64ef558
Merge commit 'refs/pull/80335/head' of github.com:microsoft/vscode into pr/80335 2019-10-09 12:44:34 +02:00
Joao Moreno ecea71432f
fixes #73613 2019-10-09 12:36:52 +02:00
Martin Aeschlimann eaedd52763
Merge pull request #82101 from microsoft/aeschli/eol_languagespecific
EOL User Setting should be able to be set per language or file type
2019-10-08 17:54:45 +02:00
Martin Aeschlimann eb9fe80de6 when editing c#, typing /* causes */ to be injected. Fixes #43989 2019-10-08 17:39:47 +02:00
Joao Moreno 9e5c2aca23 fixes #67814 2019-10-08 16:57:22 +02:00
Martin Aeschlimann 38fc105e4d
Merge branch 'master' into aeschli/eol_languagespecific 2019-10-08 16:33:47 +02:00
Lucas Larson 94adc2a641 Repair npm links (#70325)
https://registry.npmjs.org instead of https://registry.npmjs/org
2019-10-08 16:05:09 +02:00
Martin Aeschlimann daaf92b5bc [shellscript] Make \n the default eol. Fixes #49418 2019-10-08 14:53:24 +02:00
U-ways 095358e3b2 fix image preview to show correct canvas size when editor is scaled down vertically (#82027)
See issue #81878
2019-10-07 14:48:49 -07:00
Matt Bierner 4c4edcefeb Fixing more TS 3.7 related compile errors
- Import aliasing symbol in file
- Missing function calls in conditional
- Missing return statement
2019-10-07 11:04:31 -07:00
Matt Bierner 2b4638e1ac Fix missing function calls in condition 2019-10-07 11:04:31 -07:00
Johannes Rieken 32b2861498 workaround - remove as const to make webpack happy... 2019-10-07 14:17:39 +02:00
Anthony Dresser 28402eb956 Update sql language syntax (#77601)
* update sql language syntax

* Remove changes to sql grammar
2019-10-07 13:58:48 +02:00
Ԝеѕ 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