Commit graph

7990 commits

Author SHA1 Message Date
Connor Peet 867bcaee0d
php - fix identation drifting on empty single-long blocks
Fixes https://github.com/microsoft/vscode/issues/34424
2019-10-11 11:22:13 -07:00
Connor Peet 72f3185301
php - open executable settings if the validator fails
Fixes https://github.com/microsoft/vscode/issues/8735
2019-10-11 10:53:31 -07:00
Joao Moreno 4a81920398 Revert "scm: make tree rendering opt-in via proposed API"
This reverts commit afa911d942.
2019-10-11 19:10:27 +02:00
Connor Peet f840384927
php - fix custom tags appearing invalid
Fixes https://github.com/microsoft/vscode/issues/76997
2019-10-11 08:48:05 -07:00
Alex Ross dc4b1c231c Rename CustomExecution2 to CustomExecution
Part of #80375
2019-10-11 14:43:23 +02:00
Matt Bierner d80739df02 Fixing TS 3.7 dom typings errors 2019-10-10 14:16:26 -07:00
Joao Moreno afa911d942 scm: make tree rendering opt-in via proposed API
fix #82203
2019-10-10 18:37:38 +02:00
Daniel Imms 1dd67cb2ce
Merge pull request #82103 from nikeee/fix-executable-bits
Remove executable bits from non-executable files
2019-10-10 07:57:26 -07:00
Martin Aeschlimann 42d95e583b json ls-server readme: typos 2019-10-10 09:26:22 +02:00
Martin Aeschlimann 3da9bcbb78 JSON Language Server 1.2.2 2019-10-10 09:19:26 +02:00
Benjamin Pasero 0575dd40d9 improve static argv configuration (#15211) 2019-10-10 07:37:06 +02:00
Rob Lourens c0bd994bc7 Fix PHP indentation rule for 'case'
Fix #81107
2019-10-09 18:30:30 -07:00
Daniel Imms dfee0337a5
Merge branch 'master' into fix-executable-bits 2019-10-09 15:16:07 -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
Niklas Mollenhauer 1cc0b592c2
Remove executable bits from non-executable files 2019-10-08 15:18:42 +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
Martin Aeschlimann d9856eccb2 Merge remote-tracking branch 'origin/master' into aeschli/tokenScopes 2019-10-07 15:51:04 +02: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
jeanp413 5d2eb0a06e Fixes #81158 2019-10-06 23:31:49 -05: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
Erich Gamma 3577fd0fab
Merge branch 'master' into runNpmFromContextMenu 2019-09-30 17:00:58 +02: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
Erich Gamma 846fefe1b7
Merge branch 'master' into runNpmFromContextMenu 2019-09-30 16:52:14 +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
Martin Aeschlimann a5ab40556d Merge remote-tracking branch 'origin/master' into aeschli/tokenScopes 2019-09-27 15:55:22 +02: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
Sandeep Somavarapu 48f914fda2 Fix #80419 2019-09-24 17:51:50 +02:00
Joao Moreno 14d47d35a9 fixes #79239 2019-09-23 12:00:36 +02:00
Alexander ce6319c76c
Merge branch 'master' into git_branch_name 2019-09-22 13:17:47 +03:00
Sandeep Somavarapu 81ec777df2 support merge code lens for vscode-userdata 2019-09-20 22:09:21 +02:00
Joao Moreno 95d7625a27 Merge branch 'joao/scm-tree' 2019-09-20 17:04:00 +02:00
Andre Weinand f20785db31 always use the uriFormat; fixes #79596 2019-09-20 13:37:31 +02:00
Martin Aeschlimann bcf67c867f allow trailing commas in tsconfig.json (for #80419) 2019-09-20 12:07:26 +02:00
Martin Aeschlimann cb70fd5ef0 rename allowTrailingsCommas -> allowTrailingCommas 2019-09-20 11:31:11 +02:00
Matt Bierner 8f6108beea Removing unused .mac style rule for rendered markdown 2019-09-19 16:26:33 -07:00
Martin Aeschlimann 6dce52093c fix score based rule matching 2019-09-19 16:11:43 +02:00
Alex Ross 6ba021ba32 Add more scopes to themes based on feedback for C++ and discussion
Part of #80783
2019-09-19 11:49:52 +02:00
Alex Ross c1fdabc4f2 Update themes with c++ scopes based on discussion
Part of #80783
2019-09-19 11:22:47 +02:00
Benjamin Pasero cd0f833fe0 title - introduce remoteName as variable 2019-09-18 19:14:13 +02:00
Alex Ross 6d7917cd3c Add some C++ scopes to dark+ and light+ themes
Part of #80783
2019-09-18 12:14:32 +02:00
Joao Moreno ced9fdfa4f scm: folder context actions 2019-09-18 11:58:44 +02:00
Joao Moreno bcd7bcedff wip: scm folder menus 2019-09-18 09:49:35 +02:00
Joao Moreno 4aa94e20ed remove unused import 2019-09-17 10:30:12 +02:00
Joao Moreno 227cebfac7 fixes #80671 2019-09-17 09:58:43 +02:00
Matt Bierner d54dbd33f4 Add icon for image preview ext
Fixes #80677
2019-09-16 16:02:56 -07:00
Matt Bierner 04da82c1d2 Let webview editors show in diff original view too
Fixes #80740

The original view in diff views uses a data uri instead of a resource on disk. Make sure our webview editors can register themselves to handle this case too
2019-09-16 14:17:34 -07:00
Andre Weinand 1961739dfc adopt new terminal API 2019-09-16 23:16:45 +02:00
Konstantin Solomatov 316fd807fe remove docIndex in markdown language extension (#80933) 2019-09-16 10:50:20 -07:00
Alex Ross 0070dabc0e Update cpp grammar and add test
Fixes https://github.com/microsoft/vscode/issues/80644
2019-09-16 15:38:05 +02:00
Alex Ross 8601a47040
Update cpp grammar to handle macros (#80974) 2019-09-16 12:27:51 +02:00
Rob Lourens 099485461d
Merge pull request #80801 from orta/capital_S
Fixes some capital S typoes with JS/TS
2019-09-15 14:55:34 -07:00
Rob Lourens d3780038d7 Revert "Revert "Merge pull request #80657 from KapitanOczywisty/patch-1""
CLA signed, bring back PR

This reverts commit 0e8a10aa7d.
2019-09-15 12:42:33 -07:00
Rob Lourens 0e8a10aa7d Revert "Merge pull request #80657 from KapitanOczywisty/patch-1"
This reverts commit ea10827333, reversing
changes made to 9f2d08eaa3.
2019-09-15 12:26:59 -07:00
Rob Lourens ea10827333
Merge pull request #80657 from KapitanOczywisty/patch-1
Fix PHP in HTML style tags
2019-09-15 12:24:51 -07:00
Rob Lourens f57f8f7063 Update grammar files 2019-09-15 12:23:31 -07:00
Matt Bierner 11c451728a Fix potential race detecting image load 2019-09-13 17:19:57 -07:00
Andrew Branch 8774e0bb05 [typescript-language-features] Add formatter option for semicolons (#80828)
* Add formatter option for semicolons

* Add compatibility note

* Make it compile without TS 3.7
2019-09-13 13:40:41 -07:00
Matt Bierner 3890a199a2 Pick up TS 3.6.3 final 2019-09-13 13:39:37 -07:00
Benjamin Pasero f8effd5fad api - introduce env.uiKind (web, desktop) 2019-09-13 17:58:30 +02:00
Andre Weinand e7ce954d0b enable proposed API for new terminal API 2019-09-13 16:10:16 +02:00
Andre Weinand 17ed78cbe3 remove unnecessary comma 2019-09-13 16:10:16 +02:00
Daniel Imms 39794796a1
Merge pull request #80836 from microsoft/tyriar/78574
Remove Terminal.onDidWriteData
2019-09-12 21:15:07 -07:00
Daniel Imms 31f7168b99 Fix task tests 2019-09-12 20:47:40 -07:00
Miguel Solorio a09826fc81
Merge branch 'master' into fix-79618 2019-09-12 19:55:49 -07:00
Daniel Imms 678abfe8b2 Remove Terminal.onDidWriteData
Replaced by vscode.window.onDidWriteTerminalData

Fixes #78574
2019-09-12 19:09:12 -07:00
Matt Bierner 67e37803b7 Add telemtry property for local TS version
We are interested in understanding which TS versions user have enabled in their workspaces, and how widely these diverge from these the workspace version
2019-09-12 17:27:28 -07:00
Rachel Macfarlane 700780d927
Set default colors for 'minimap.selectionHighlight' in other built in themes 2019-09-12 16:40:57 -07:00
Miguel Solorio 188ffef604
Merge branch 'master' into fix-79618 2019-09-12 16:32:20 -07:00
Orta Therox a89b72bf63 Fix hardcoded lower case S issues for JS/TS only for presentation-ish strinngs 2019-09-12 09:58:03 -04:00
Johannes Rieken 9aab002dea push workaround for ts-loader weirdness 2019-09-12 09:59:31 +02:00
Matt Bierner 153e063486 Fix markdown preview refresh command potentially resetting preview scroll position to top if focused on preview
Fixes #80680
2019-09-11 20:50:52 -07:00
Matt Bierner 22db92f71b Add telemetry event when TS server is spawned
This is needed to help us better understand which TS versions users have enabled in their workspaces
2019-09-11 18:03:14 -07:00
Matt Bierner f4524551e9 Remove gating for TS < 2.2.0 features
Based on telemetry, these versions have pretty much zero usage in the past 30 days. Removing the extra gating code since we can now assume users are on TS > 2.2.
2019-09-11 15:50:50 -07:00
Matt Bierner a835f40c5b Remove deprecated scrollPreviewWithEditorSelection setting 2019-09-11 14:28:22 -07:00
Pine Wu 4dec1f7b49 Fix #32200 2019-09-11 14:27:25 -07:00
Konstantin Solomatov 5db460d2fe Fix activation of linters on unopened files caused by markdown plugin (#80506)
* Fix bug causing a large number of linters to be activated due to the markdown extension opening TextDocuments during indexing

* indentation problem

* code review by @OmarTawfik

* revert changed file

* Code review: use nodejs' Buffer

* fix ineffcient code
code review comments

* introduce SkinnyTextLine

* refactor redundant code

* revert changed files

* formatting

* remove empty line
2019-09-11 11:39:08 -07:00
Johannes Rieken 3a384c9c59 add test for #80688 2019-09-11 16:37:47 +02:00
gjsjohnmurray 25f615fe65 Tweak opacity of editorIndentGuide.background and .activeBackground 2019-09-11 12:10:20 +01:00
Martin Aeschlimann dd7daae7de associate .i with c 2019-09-11 10:27:02 +02:00
Matt Bierner 011836a150
Prototyping custom editors (#77789)
* Custom Editor exploration

For #77131

Adds a prototype of custom editors contributed by extensions. This change does the following:

- Introduces a new contribution point for the declarative parts of a custom editor
- Adds API for registering a webview editor provider. This lets VS Code decided when to create a webview editor
- Adds an `openWith` command that lets you select which editor to use to open a resource from the file explorer
- Adds a setting that lets you say that you always want to use a custom editor for a given file extension
- Hooks up auto opening of a custom editor when opening a file from quick open or explorer
- Adds a new extension that contributes a custom image preview for png and jpg files

Still needs a lot of UX work and testing. We are also going to explore a more generic "open handler" based approach for supporting custom editors

Revert

* Re-use existing custom editor if one is already open

* Don't re-create custom editor webview when clicking on already visible custom editor

* Move customEditorInput to own file

* First draft of serializing custom editor inputs

* Use glob patterns instead of simple file extensions for matching custom resoruces for custom editors

* Add descriptions

* Try opening standard editor while prompting for custom editor

* Make sure we hide image status on dispose

* Make sure we restore editor group too

* Use glob patterns for workbench.editor.custom

* Allow users to configure custom editors for additional file types

* Use filename glob instead of glob on full resource path

* Adding placeholder for prompt open with

* Add enableByDefault setting for editor contributions

* Enable custom editors by default and add `discretion` enum

Changes `enableByDefault` boolean to a `discretion` enum. This should give more flexibility if we want other options (such as forcing a given custom editor to always be used even if there are other default ones)

* Allow custom editors to specify both a scheme and filenamePattern they are active for

* Rework custom editor setting

* Don't allow custom editors to be enabled for all resources by a config mistake

* Replace built-in image editor with one from extension

* Adding reopen with command

* Improve comment

* Remove commented code

* Localize package.json and remove image

* Remove extra lib setting from tsconfig
2019-09-10 17:56:57 -07:00
Matt Bierner 2fe62e7dfe Use the document that contains the md link as the resource for getting config, not the target document 2019-09-10 16:31:53 -07:00
Matt Bierner 28c5988f47 Renaming setting names 2019-09-10 16:20:01 -07:00
Matt Bierner 728ee3aa73 Extract 2019-09-10 16:06:08 -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
KapitanOczywisty dd02755bfc
Fix PHP in HTML style tags 2019-09-10 19:13:03 +02:00
Matt Bierner a7704164b4 Pick up TS 3.6.3 insiders 2019-09-10 08:51:33 -07:00
Pine Wu 1c5b3fd83d Update html service. Fix #80600 2019-09-10 08:26:32 -07:00
Alexander 3ff6b96ab7 Update enablement of status bar item in constructor (#80517) 2019-09-10 10:27:33 +02:00
al 6ec5f47c0b Just compare to undefined 2019-09-09 21:40:13 +03:00
Matt Bierner 7226e32d1b Use shared tsconfig for markdown preview
Fixes #80121
2019-09-09 10:20:56 -07:00
Johannes Rieken f8ba99ba5a update test file 2019-09-09 11:04:36 +02:00
al 4afe989cfa 💄 2019-09-08 22:40:11 +03:00
Alex Dima ea661bb83f Fix HTML integration test 2019-09-07 00:28:05 +02:00
Johannes Rieken f8daa9eac4 use project-src() to compile what tsconfig-defines 2019-09-06 18:16:12 +02:00
Joao Moreno fe44d14e71 fixes #80415 2019-09-06 09:40:08 +02:00
Alex Ross 7077b6b7f9 Fix very annoying gulp task error that always takes you to tasks output
Even when you click dismiss
2019-09-05 15:20:08 +02:00
al 4b90d9ba82 Add branch name to commit input box 2019-09-05 00:03:16 +03:00
Alex Ross 32d72e6565 Filter out 'No license field' in gulp tasks
Fixes #80081
2019-09-04 17:43:33 +02:00
Johannes Rieken 6c0bb9ba4d make DecorationData a class and rename it to Decoration, #54938 2019-09-04 11:16:11 +02:00
Johannes Rieken 07d19b90a5 remove automatic merging/overwriting of decorations, simplify proposed API, #54938 2019-09-04 11:16:11 +02:00
Benjamin Pasero 4cd5047073 build 💄 2019-09-04 08:55:20 +02:00
Pine Wu 1c623c163d Part of #71996 2019-09-03 10:54:02 -07:00
Pine Wu 6829b31625 Fix #80274 2019-09-03 10:13:46 -07:00
Pine Wu 14a3819e74 Fix #80269 2019-09-03 09:19:56 -07:00
Benjamin Pasero e655624145 remote - it is still server.bat locally 2019-09-03 16:11:10 +02:00
Benjamin Pasero e34c6c18e6 remote - server.bat => server.cmd 2019-09-03 16:08:55 +02:00
Benjamin Pasero c6c88cbbfb
debt - remote integration tests (#80265)
* fix

* 🆙 distro
2019-09-03 15:31:23 +02:00
Benjamin Pasero 7c4afcf360
add TEST_RESOLVER_USE_SERVER_FROM_SOURCES (#80254)
* remove unused deps

* use TEST_RESOLVER_USE_SERVER_FROM_SOURCES
2019-09-03 11:25:50 +02:00
Matt Bierner 7a00ddf9f8 Format files for 3.6
Fixes #80118
2019-09-02 21:29:05 -06:00
Benjamin Pasero db0d5ee0e7 fix env.test for remote 2019-09-02 15:07:45 +02:00
Martin Aeschlimann 7df2c87e94
Merge pull request #80187 from Heromyth/master
Add .c++ externsion support for CPP
2019-09-02 14:46:01 +02:00
Benjamin Pasero 4312a6ca44 debt - enable env.remoteName test again 2019-09-02 12:02:01 +02:00
Alex Ross 3ac5830dcf Update grammars 2019-09-02 11:39:10 +02:00
Benjamin Pasero 155f85b679
Build: run integration tests against actual build (#80203)
* experiment with running macOS integration test against real build

* echo command

* more tests

* Revert "more tests"

This reverts commit b07bde89be.

* test

* fix script

* fix build

* fix tests

* fix build

* fix build

* conditionally enable test for remote

* adopt for linux and windows

* disable failing test

* fix build

* windows - echo off

* fix variable check

* fix path

* fix compile

* echo off

* mac polish
2019-09-02 11:26:26 +02:00
heromyth 69c9f545d1 Add c++ externsion support for CPP 2019-09-02 11:33:57 +08:00
João Moreno b3f85bc76d
fix git branch sort order (#80096) 2019-08-30 10:27:20 +02:00
Jakobeha 966e3fd070
Merge branch 'master' into hide-untracked 2019-08-29 19:12:10 -04:00
jakob 63f6496094 config option to separate or hide untracked files 2019-08-29 17:09:47 -04:00
Helen Choi 757097d2d8 fix UX bug, runs when user clicks the result now 2019-08-29 10:47:26 -07:00
Martin Aeschlimann a7def72d9e trailing commas only for setting files 2019-08-29 13:19:03 +02:00
Joao Moreno 3b439a8c49 rephrase related to #66296 2019-08-29 09:07:59 +02:00
Matt Bierner 54c9d7f62c Pick up TS 3.6.2
Fixes #78973
2019-08-28 17:42:17 -07:00
Pine Wu 43788e3ee1 Update html services 2019-08-28 17:25:14 -07:00
Pine Wu 8cafaf5900 Fix #79766 2019-08-28 12:58:08 -07:00
Pine Wu 64c07ab1e3 Polish description for customdata 2019-08-28 10:21:41 -07:00
Alex Ross ac565b419d Fix bad grunt task in resolve task 2019-08-28 12:37:54 +02:00
Pine Wu afe281cf51 Update CSS service to get deprecated items 2019-08-27 21:49:39 -07:00
Pine Wu 210302848e Add middleware for processing deprecated. Fix #79584 2019-08-27 21:44:07 -07:00
Helen Choi 1f78795f58 enable running individual npm scripts in the containing folder 2019-08-27 19:25:20 -07:00
Matt Bierner 8891b85518 Fix caption parsing
For #79704

- Use regexp
- Handle unix line endings
- Don't highlight caption as part of code block
2019-08-27 14:49:19 -07:00
Matt Bierner 9ab856b571 Update markdown grammar
Includes https://github.com/microsoft/vscode-markdown-tm-grammar/pull/47
2019-08-27 14:39:22 -07:00
Matt Bierner bebb585231
Merge pull request #79846 from hypercubestart/fix-79704
fix for 79704 - support for @example <caption>
2019-08-27 14:38:51 -07:00
Erich Gamma de3c53b21d Adjust description to match the behaviour of the checkbox 2019-08-27 22:59:41 +02:00
Greg Van Liew 7ee04f67c7 Update Git count badge description 2019-08-27 12:00:50 -07:00
Erich Gamma 9fee53765e Fixing #76711 handle the case that a script is customized in the tasks.json 2019-08-27 19:40:45 +02:00
Pine Wu 739ae7737a Fix #78068 2019-08-27 09:25:15 -07:00
Martin Aeschlimann ba5ea8e2d2 [json] update service 2019-08-27 14:45:36 +02:00
gjsjohnmurray 423f99eb91 Make Quiet Light active indent guide discernible 2019-08-27 12:05:36 +01:00
Alex Ross 59462eb0b1 Local md fix for embedded C++
Fixes #79810
2019-08-27 11:46:43 +02:00
Erich Gamma 67b0d5805e Fixing #78474 don't move focus on click 2019-08-27 11:42:33 +02:00
Alex Ross c587f23553 Use version of C++ grammar from 1.37.1
There is an issue in the current version of the grammar that causes duplicate scopes. Until that's fixed, rolling back
2019-08-27 11:42:11 +02:00
Andrew Liu 86723e74b6 fix for 79704 - support for @example <caption> 2019-08-26 17:19:36 -07:00
Matt Bierner 91e99652cd Fix js/ts refactorings 2019-08-26 14:51:26 -07:00
Matt Bierner a66e9d4835 Don't dispose markdown preview emitters before firing events
Fixes #79827
2019-08-26 13:40:07 -07:00
Matt Bierner e3b9b8eefc Re-check opened files while executing refactoring
Fixes #79650
2019-08-23 23:06:01 -05:00
Pine Wu adbee7d26e Update html/css services 2019-08-23 12:01:51 -07:00
Christof Marti 00d53e9686 Option to configure which services should be run (microsoft/vscode-remote-release#211) 2019-08-23 15:21:24 +02:00
Matt Bierner 962158e164 Fix yarn lock 2019-08-21 18:15:49 -07:00
Matt Bierner 4f5ef27990 Pull in latest markdown-it version 2019-08-21 18:03:50 -07:00
Matt Bierner 908ea77860 Revert "Use per-resource settings for js/ts validate.enable"
This reverts commit 8b61c15d3d.
2019-08-21 17:20:03 -07:00
Matt Bierner 8b61c15d3d Use per-resource settings for js/ts validate.enable
For #78549 but requires more work
2019-08-21 16:23:23 -07:00
Mickael Istria 558d23bd26 Issue #79599 - CSS LS fails if InitializationOptions.dataPaths not set
Signed-off-by: Mickael Istria <mistria@redhat.com>
2019-08-21 23:14:07 +02:00
Martin Aeschlimann 379623e369 update yarn.lock files 2019-08-21 18:04:55 +02:00
Martin Aeschlimann be8f289fa9 update jsonc-parser 2019-08-21 16:55:59 +02:00
Martin Aeschlimann 4a6f60ba0e dynamic schemas not updated. Fixes #79363 2019-08-21 16:52:47 +02:00
Matt Bierner 646d4ddb75 Use _register 2019-08-20 15:07:25 -07:00
Xhulio Hasani 32d59ba806 Added quickpick option and display of tag annotation on menu 2019-08-20 16:05:46 -04:00
Matt Bierner e44d9a2888 Rename parameter 2019-08-20 11:28:31 -07:00
Matt Bierner 1802be3b70 Always require an argument to command
#75612
2019-08-20 11:26:49 -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
Matt Bierner 1429e8182f Enable "restart ts server" command in js/tsconfig files
Fixes #79530
2019-08-20 11:22:24 -07:00
Matt Bierner 5c27385212 Restrict which subsets of the markdown grammar the js/ts injection eagerly loads
Fixes #77990
2019-08-20 10:43:10 -07:00
Matt Bierner c5dc9d16be Finalize asWebviewUri api
Fixes #79242

As discussed, renames `toWebviewResource` to `asWebviewUri` to be consistent with the `asAbsolutePath` api naming
2019-08-19 20:18:26 -07:00
Matt Bierner 7af2ebb9fc Update md grammar 2019-08-19 20:10:35 -07:00
Matt Bierner bfda914104 Update md grammar
Fixes #https://github.com/microsoft/vscode/issues/79478
2019-08-19 19:48:50 -07:00
Matt Bierner b9b5692e27 Support using csharp in markdown preview to identify c# code blocks 2019-08-19 09:18:22 -07:00
Salvador Cabrera 34339f92c4 Fix: Markdown Preview scroll remains same after clicking on some other link #78465
Improves the behavior on how markdown preview behaves when clicking a link
2019-08-19 09:35:06 -05:00
Matt Bierner dc5f96bc62 Pick up TS rc 2019-08-16 11:25:45 -07:00
Martin Aeschlimann ae42e42cf1 Seti uses TS-icon for jsonc-language. Fixes #78261 2019-08-16 18:08:20 +02:00
Matt Bierner d9aba4fa7f Use const enums 2019-08-15 18:03:55 -07:00
Matt Bierner 35c97ea91d Mark readonly 2019-08-15 18:02:28 -07:00
Matt Bierner 1bbf3b3fa6 Add telemetry+warning for webviews that don't have a content security policy
Fixes #79248
2019-08-15 15:16:39 -07:00
Miguel Solorio 324da04f35 Update checkmark so they look more like a ✓ 2019-08-15 22:52:38 +02:00
Johannes Rieken 926e27cb4f fix compile error 2019-08-15 16:05:00 +02:00
Matt Bierner 46d0bd8100 Don't include closing ] in folded range
Fixes #79142
2019-08-14 17:05:13 -07:00
Matt Bierner 2c4edeb617 Make sure we compare fully normalized error codes when checking for fix all actions 2019-08-14 17:05:13 -07:00
Matt Bierner c4733f91c8 Still show fix all actions for fix-all actions that can fix multiple errors with multple different diagnostics 2019-08-14 14:49:23 -07:00
Matt Bierner e4863753b9 Update markdown grammar 2019-08-14 11:46:22 -07:00
Matt Bierner bf15dfdf27
Merge pull request #78991 from amcasey/ShortenTelemetry
Strip a path list out of an error message
2019-08-13 09:46:14 -07:00
Alex Ross d0c08100fa Update C grammars 2019-08-13 10:42:35 +02:00
Joao Moreno 22a3f3ec83 💄 2019-08-13 09:54:20 +02:00
Joao Moreno 2c878484c8 Merge commit 'refs/pull/78695/head' of github.com:microsoft/vscode into pr/78695 2019-08-13 09:46:54 +02:00
TypeScript Tools 41414c2b5f Strip a path list out of an error message
The error, which happens quite frequently, contains an excessively long path list.  The message itself was cleaned up in https://github.com/microsoft/TypeScript/pull/32785 but we add some additional filtering to the editor since older server versions are still in use.
2019-08-12 15:10:29 -07:00
Matt Bierner 1f4c94ecb8 Pick up TS 3.6 dev
For #78973
2019-08-12 10:47:42 -07:00
Alex Ross bdd162c53a Fix spaghetti in test file 2019-08-12 15:57:29 +02:00
Alex Ross 91da8dc700 Update C++ grammar for insiders to get hang fix
Fixes #78769
2019-08-12 15:01:26 +02:00
Joao Moreno 264d6ac829 💄 2019-08-12 14:06:53 +02:00
Joao Moreno 28bcf28232 Merge commit 'refs/pull/78562/head' of github.com:microsoft/vscode into pr/78562 2019-08-12 09:41:30 +02:00
Benjamin Pasero 5099e36e3d fix #77735 2019-08-12 08:13:10 +02:00
Xhulio Hasani 98ed0fc2e8 Merge branch 'master' of https://github.com/microsoft/vscode 2019-08-11 19:50:41 -04:00
Daniel Imms d2ed5fb5e5 Make tslint.json jsonc language
Fixes #78821
2019-08-09 11:11:58 -07:00
Darrien Singleton 74a08650d6 Fixed incorrect git uri ref for untracked files 2019-08-09 08:08:42 -04:00
Daniel Imms ced08707d1 Fix terminal integration test 2019-08-08 09:34:34 -07:00
Joao Moreno 9f65705acf Merge commit 'refs/pull/75295/head' of github.com:microsoft/vscode into pr/75295 2019-08-08 16:56:51 +02:00
Joao Moreno 2c189f373f fix capture group 2019-08-08 16:38:39 +02:00
Joao Moreno daf581da39 fixes #71258 2019-08-08 16:30:47 +02:00
skprabhanjan 1556800102 Fix fix-64077 With a setting 2019-08-08 16:14:23 +05:30
Joao Moreno 0bb4cc3daf remove misdirection 2019-08-08 12:43:01 +02:00
Dan McCarthy 72e3d3b45d Updated branch tooltip to display full branch name instead of "checkout..." (#72275)
Previously the tooltip displayed when hovering over a branch name in the git workflow simply said "Checkout...".

However, this could be better used by displaying the full branch name since long branch names are concatenated and not shown in full. Therefore it has been updated to do so.
2019-08-08 12:28:03 +02:00
Joao Moreno 5481dcca5e Merge commit 'refs/pull/71710/head' of github.com:microsoft/vscode into pr/71710 2019-08-08 12:17:46 +02:00
Joao Moreno 6af97c8756 💄 2019-08-08 12:02:55 +02:00
Joao Moreno 273cca4ac8 Merge commit 'refs/pull/70536/head' of github.com:microsoft/vscode into pr/70536 2019-08-08 11:57:25 +02:00
Joao Moreno 181759fe6a add git.smartCommitChanges 2019-08-08 11:55:13 +02:00
Joao Moreno 3dc34be7ae Merge commit 'refs/pull/70539/head' of github.com:microsoft/vscode into pr/70539 2019-08-08 11:34:18 +02:00
Joao Moreno fbf793cb4d Merge branch 'pr/67953' 2019-08-08 11:32:09 +02:00
Joao Moreno fa5c79386c git: promptToSaveFilesBeforeCommit should have more options
related to #66296
2019-08-08 11:30:25 +02:00
Joao Moreno f7fd6b34ba git: improve promptToSaveFilesBeforeCommit message 2019-08-08 11:22:52 +02:00
Joao Moreno d69616088c Merge commit 'refs/pull/67953/head' of github.com:microsoft/vscode into pr/67953 2019-08-08 11:22:28 +02:00
Alex Dima 3ffd892399 Fixes #59980 2019-08-08 11:06:50 +02:00
Joao Moreno bd30caa0d7 fix git count badge setting change update 2019-08-08 10:38:33 +02:00
Pine Wu bcc7f1219f Update services for #78285 2019-08-07 10:46:54 -07:00
Joao Moreno 59e3396c27 use add instead of stage 2019-08-07 17:37:44 +02:00
Joao Moreno 5a40f525bc Merge commit 'refs/pull/69506/head' of github.com:microsoft/vscode into pr/69506 2019-08-07 17:35:21 +02:00
João Moreno 555693ca34
Merge pull request #75213 from Olovan/master
Fix #72640
2019-08-07 17:30:15 +02:00
Daniel Imms 977a82fba3 Disable terminal tests that depend on terminal being hidden or shown in the past 2019-08-07 06:50:46 -07:00
Joao Moreno 8a2819be58 fixes #66620 2019-08-07 12:18:44 +02:00
João Moreno b8a8085ad1
Merge branch 'master' into rievans/gitpushbranchwithsymbolfail 2019-08-07 11:51:55 +02:00
Joao Moreno 3f4b96732c fixes #78541 2019-08-07 11:41:21 +02:00
Daniel Imms 81adc15a12 Merge remote-tracking branch 'origin/master' into tyriar/69865_remove_renderers 2019-08-06 10:02:39 -07:00
Daniel Imms dc6b475be7 Add global event window.onDidWriteTerminalData
Fixes #78502
2019-08-06 09:58:26 -07:00
Daniel Imms fcb78f5919
Merge branch 'master' into tyriar/69865_remove_renderers 2019-08-06 09:33:05 -07:00
Joao Moreno 21a4e91688 cleanup 2019-08-06 18:28:33 +02:00
Joao Moreno a6177d979a cleanup for pr #66095 2019-08-06 17:49:42 +02:00
Joao Moreno c769d8a08a Merge commit 'refs/pull/66095/head' of github.com:microsoft/vscode into pr/66095 2019-08-06 16:57:22 +02:00
Joao Moreno 797bd786ac Merge commit 'refs/pull/65906/head' of github.com:microsoft/vscode into pr/65906 2019-08-06 16:44:25 +02:00
Joao Moreno 7f30cbc3a2 Merge remote-tracking branch 'origin/master' 2019-08-06 16:42:16 +02:00
Joao Moreno a39b7f23aa Merge commit 'refs/pull/65247/head' of github.com:microsoft/vscode into pr/65247 2019-08-06 16:41:02 +02:00
Alex Ross 742a6d7240 Fix powershell color test 2019-08-06 16:39:10 +02:00
Alex Ross a648e3063e
Add powershell members to default themes (#78270)
Fixes #78212
2019-08-06 15:55:49 +02:00
Daniel Imms 42b36208eb Merge remote-tracking branch 'origin/master' into tyriar/69865_remove_renderers 2019-08-06 06:41:51 -07:00
Darrien Singleton b93c4fa3b5 new branch 2019-08-06 09:22:17 -04:00
Joao Moreno 54c6639bf8 add git.supportCancellation setting 2019-08-06 14:15:47 +02:00
Joao Moreno 1c781cb1d2 Merge branch 'pr/78504' 2019-08-06 13:53:54 +02:00
Joao Moreno 3bbbad38c1 💄 2019-08-06 13:53:34 +02:00
Joao Moreno c30ae90a9c Merge commit 'refs/pull/78504/head' of github.com:microsoft/vscode into pr/78504 2019-08-06 13:52:15 +02:00
Alex Ross 2bf257c0c5 Implement resolveTask for typescript tasks
Fixes #76521
2019-08-06 09:59:09 +02:00
Daniel Imms 0eed3275f6 Some clean up 2019-08-05 15:03:31 -07:00
Daniel Imms 25fe980387 Remove terminal renderers
Part of #69865
2019-08-05 14:31:15 -07:00