Commit graph

8157 commits

Author SHA1 Message Date
Martin Aeschlimann 1837853e5d Merge branch 'master' into aeschli/sem-color-test 2019-11-22 11:58:13 +01:00
Martin Aeschlimann e23cbe05f3 fix pattern 2019-11-22 10:06:58 +01:00
Christof Marti 599c076d91 Fix path 2019-11-22 07:51:52 +01:00
Martin Aeschlimann 28909fd2ad test-SemanticColoringProvider 2019-11-21 20:45:13 +01:00
Joao Moreno f4f0062168 git input box shouldn't handle comments
related to #84201
2019-11-21 16:41:35 +01:00
Joao Moreno 3b0571d8c2 cleanup denodeify from git 2019-11-21 16:41:35 +01:00
Joao Moreno db5b58c442 isolate askpass 2019-11-21 15:16:49 +01:00
Joao Moreno 1b5afdf5c3 refactor 2019-11-21 15:16:49 +01:00
Andre Weinand 5f5a65c441 prevent vscode-api-tests from running in node.js 2019-11-21 13:26:38 +01:00
Andre Weinand 343f26602e remove obsolete comment 2019-11-21 13:26:38 +01:00
Joao Moreno e7e562da3c remove data uri from git 2019-11-21 09:28:23 +01:00
Matt Bierner d9c4923f98 Fix trailiing comma 2019-11-20 21:36:05 -08:00
Matt Bierner 8fa16bd74f Remove custom editor support for data uris
For #85203. Data uris are no longer used by VS Code core
2019-11-20 21:35:29 -08:00
Matt Bierner 827e94edef Hook up basic alert of why a code action could not be applied
For #85160
2019-11-20 17:10:00 -08:00
Andre Weinand 37f18e8f2d don't activate vscode-api-test on debug; fixes #85230 2019-11-20 23:23:18 +01:00
Matt Bierner 8caf39ef37 Fix loading of images with spaces in the name
Partially revert #84667

Also seems to fix #85190
2019-11-20 11:43:09 -08:00
Andre Weinand f09c852a28 web worker: support F5 debugging w/o launch.config 2019-11-20 17:36:09 +01:00
Christof Marti 1a88e9d166 Allow null (microsoft/vscode-remote-release#1201) 2019-11-20 17:20:10 +01:00
Christof Marti 6be5444bf5 Update devcontainer schema (microsoft/vscode-remote-release#1201) 2019-11-20 16:55:19 +01:00
Joao Moreno 3bf8e81517
fixes #85205 2019-11-20 16:25:10 +01:00
Joao Moreno f37b9d742c
git: isolate ipc env 2019-11-20 16:07:01 +01:00
Joao Moreno 39c14fc431
💄 2019-11-20 15:15:46 +01:00
Joao Moreno 14cc75aa22
git: extract ipc 2019-11-20 15:15:45 +01:00
Joao Moreno ec8de4eb45
git: better uri parsing error message 2019-11-20 10:53:20 +01:00
Joao Moreno 5fdfdd7e6c
git: use querystring instead of JSON for uris 2019-11-20 10:50:53 +01:00
Alex Ross 54421ea4fa Update PHP grammar
Fixes #85132
2019-11-20 09:46:24 +00:00
Alex Ross e82dd213dd Make typescript problem match watch patterns less locale specific
Improves #46373
2019-11-20 09:33:32 +00:00
Joao Moreno fb2f985aa9
git.publish should not ask if only one remote
related to #84697
2019-11-20 10:12:31 +01:00
Joao Moreno e055299e77
fix git commands 2019-11-20 09:37:02 +01:00
Daniel Imms 7ab2322170 Fix compile 2019-11-19 11:28:31 -08:00
Matt Bierner 0e5a5f6524 Better time logging for js + markdown
We don't need full date, only times
2019-11-19 11:22:08 -08:00
Pine Wu 07574365c9 Add HTML rename for #47069 2019-11-19 11:15:16 -08:00
Joao Moreno b6899391cd
wip: comment out git data uris 2019-11-19 17:03:15 +01:00
Joao Moreno b7ead236be
git api: expose toGitUri 2019-11-19 16:54:41 +01:00
Joao Moreno ff23412237
provide gitfs resource label formatter 2019-11-19 16:47:55 +01:00
Joao Moreno 5014becb72
Merge branch 'master' into joao/git-fs-provider 2019-11-19 16:26:08 +01:00
Benjamin Pasero 04d634e1d6 💄 sample extension 2019-11-19 15:33:21 +01:00
Andre Weinand 5c372215d5 add mock debug to web sample 2019-11-19 12:12:17 +01:00
Alexandru Dima cf624b01fc
Fix memory leak caused by listeners to nulToken (#84940) 2019-11-19 11:13:38 +01:00
Matt Bierner 525b43fc00 Pick up new TS insiders 2019-11-18 15:36:00 -08:00
Matt Bierner e6abf471d8 Update js/ts grammars 2019-11-18 15:34:42 -08:00
Matt Bierner 8bbe3157f0 Trying to hook up basic save for custom editors 2019-11-18 11:27:45 -08:00
Matt Bierner 942287eb44 Fix report issue command
For #85021
2019-11-18 11:00:47 -08:00
Pine Wu adc45b549b Fix package.json in css server test fixture 2019-11-18 09:53:06 -08:00
Matt Bierner 5b428d2ec1 Don't use locale strings
For #84803

These can cause issues on node 12
2019-11-18 09:35:35 -08:00
Andre Weinand 4b79df84fb fix launch.json 2019-11-18 16:29:21 +01:00
Johannes Rieken 47d1736ad5 some more API tests for creating/deleting files, #43768 2019-11-18 15:58:33 +01:00
Johannes Rieken 95a7255725 fix more compilos 2019-11-18 15:26:44 +01:00
Johannes Rieken 8252d8afb7 fix compile error 2019-11-18 14:32:17 +01:00
Alexandru Dima e7f8a94eb2
Split TS changes to separate PR 2019-11-18 12:17:23 +01:00
Alexandru Dima 41be9a6142
Merge remote-tracking branch 'origin/master' into alex/semantic-exploration 2019-11-18 08:59:14 +01:00
Matt Bierner 27a33ee6fe Hook up very basic undo/redo for webview editors
For #77131
2019-11-15 18:21:46 -08:00
OneQuid ba19fe0e9b Fix opening image with '%' in the filename (#84667) 2019-11-15 18:14:30 -08:00
Matt Bierner 2dc8bac0a3 Use undefined instead of -1 to indicate that there is no size yet 2019-11-15 15:06:24 -08:00
Matt Bierner d628c3b82e Make sure we call update after the binary size of the image is computed
Fixes a possible race if the dimensions of the image are computed before the get the size (which is unlikely but possible)
2019-11-15 15:05:01 -08:00
Shizeng Zhou 14e6ad3138 Fix #84111 (#84610)
* Fix #84111

* Replace fs with vscode's fs

* Put binary size in the binarySizeStatusBar
2019-11-15 15:02:09 -08:00
Matt Bierner 91200b1202 Use const enum for types 2019-11-15 14:55:14 -08:00
Matt Bierner fa72810c77 Don't send TS Server open requests if we open then quickly close a resource
Fixes #84875
2019-11-15 14:02:46 -08:00
Alexandru Dima cbb231754f
Merge remote-tracking branch 'origin/master' into alex/semantic-exploration 2019-11-15 10:10:39 +01:00
Matt Bierner 40b8c9d073 Allow _ in markdown word definitions 2019-11-14 15:35:46 -08:00
Matt Bierner 738d85a51e Don't return js/ts fix all for empty edits 2019-11-14 15:35:46 -08:00
Matt Bierner 88c2100793 Make sure we always reset bufferSyncSupport when the TS server is started
Splits `reset` from `reinitialize` and makes sure we always `resset` buffer sync support when the service starts
2019-11-14 11:30:41 -08:00
Pine Wu 537fcc46d7 Update css LS 2019-11-14 10:51:52 -08:00
isidor d5bc3ab7ee Remove gray attributes in launch.json since they are confusing
fixes #80026
2019-11-14 18:19:56 +01:00
Joao Moreno 31d13c8401 Merge remote-tracking branch 'origin/master' into joao/git-fs-provider 2019-11-14 11:10:41 +01:00
Joao Moreno 9f2592e261 gitfs: fix mtime 2019-11-14 10:31:18 +01:00
Matt Bierner 4e8ef4cf4d Remove gating for inMemoryResourcePrefix
Some users are setting weird errors related to untitled TS files. In some of these cases (such as https://github.com/microsoft/TypeScript/issues/35091) we see a untitled file being sent to the tsserver without the `inMemoryResourcePrefix`.

I can't figure out how to get into this state but am removing the gating that *could* perhaps cause use not to set `inMemoryResourcePrefix`. This gating targets TS 2.7 or older, which telemetry shows very, very few users are still enabling in their workspaces
2019-11-14 00:17:57 -08:00
Alex Dima 15beb36ccf
Merge remote-tracking branch 'origin/master' into alex/semantic-exploration 2019-11-14 09:16:10 +01:00
Greg Van Liew 93e87cabe5 Another nit in settings comment 2019-11-13 07:29:04 -08:00
Johannes Rieken 27eafea04a
Merge pull request #84578 from microsoft/joh/outlineNav
Symbol navigation
2019-11-13 12:33:36 +01:00
Matt Bierner cf197953d7 Prefer using vscode.workspace.fs over node fs 2019-11-12 21:59:36 -08:00
Matt Bierner 0749b7aca8 Timebox the TSServer request used in the JS/TS task provider
Fixes #84278
2019-11-12 21:59:36 -08:00
Matt Bierner 8b1e55780c Fix grammar pinning test 2019-11-12 21:13:48 -08:00
Matt Bierner 403f364a72 Remove test fixtures for jsdoc 2019-11-12 17:06:20 -08:00
Matt Bierner 96f2f3d66f Remove jsdoc markdown injections
New extension offers a replacement: https://marketplace.visualstudio.com/items?itemName=bierner.jsdoc-markdown-highlighting
2019-11-12 16:45:12 -08:00
Matt Bierner 60f8583d95 Adding setting to enable a test command for making a fake "edit" to an image preview
This will be use for testing custom editors
2019-11-12 16:08:04 -08:00
Matt Bierner cfbf6b58f6 Better fix for disabling pinch to zoom in a webview zooming the entire editor in chrome
Fixes #84406
2019-11-12 15:41:41 -08:00
Matt Bierner f50c8264fa Don't try rendering TGAs in the built-in image preview
Fixes #84533

Looks like tga is not currently supported by Chrome
2019-11-12 14:36:22 -08:00
Matt Bierner 1f3642a07d Add explicit type on experimental fixAll provider
For #84602
2019-11-12 14:28:43 -08:00
Matt Bierner a170916295 Highlight a few other types in jsdoc comments
Fixes #84622
2019-11-12 13:31:09 -08:00
Greg Van Liew 8ae2921645 Nits in settings comments 2019-11-12 10:55:04 -08:00
Benjamin Pasero 6d1ddf0730 web - fix problems to show up from yarn web 2019-11-12 19:06:48 +01:00
Benjamin Pasero 1a1e7c9545
debt - allow extHostSearch in common (#84109)
* debt - allow extHostSearch in common

* web - implement text search provider

* fix text search

* Update extensions/vscode-api-tests/src/extension.ts

Co-Authored-By: Rob Lourens <roblourens@gmail.com>
2019-11-12 18:57:08 +01:00
Pine Wu cf8d61ebd2 Fix #81943 2019-11-12 06:37:21 -08:00
Joao Moreno 4583277fbd
continuation of #84201 2019-11-12 12:11:15 +01:00
Joao Moreno 6f1d6c5c56
one more fix for #84201 2019-11-12 11:55:55 +01:00
Johannes Rieken 7e333135dd often set selection range for TS document symbols, #84576 2019-11-12 11:28:48 +01:00
Benjamin Pasero 5ae52b61cb files - implement ctime properly as btime (fix #84525) 2019-11-12 10:42:04 +01:00
Alex Ross 33a084fa44 Update c++ grammar
Fixes #84410
2019-11-12 10:08:44 +01:00
Matt Bierner 2ec3bc4fd0 Removed undocumented setting usage 2019-11-11 16:12:52 -08:00
Matt Bierner 8904a3cbce 💄 2019-11-11 16:12:52 -08:00
Matt Bierner 6118d2713e Make sure synchronized buffers are reset when tsserver restarts 2019-11-11 16:12:52 -08:00
Eric Amodio 8e94fc342b Fixes uri issue with remote uris w/ querystrings 2019-11-11 14:41:42 -05:00
Martin Aeschlimann 9365004a05 Merge branch 'master' into aeschli/tokenScopes 2019-11-11 16:04:33 +01:00
Benjamin Pasero b8bb1770a5 🆙 jschardet (for #83421) 2019-11-11 07:52:18 +01:00
Matt Bierner 0491afb85e Update md version 2019-11-09 12:52:27 -08:00
Matt Bierner b10335675f Improve scroll sync for nested markdown lists
Fixes #83735
2019-11-08 18:13:01 -08:00
Matt Bierner cbd414ba58 Don't force refresh the markdown preview's html when changing the active document 2019-11-08 17:00:56 -08:00
Matt Bierner 979e2b0387 Remove duplicate call to dispose 2019-11-08 16:56:06 -08:00
Matt Bierner 21fd94b70c Make sure buffer sync reset clears pending diagnostics 2019-11-08 14:47:06 -08:00
Matt Bierner 7218d47251 Make sure we don't try calling a cached getErr on a closed resources that are in the getErr queue 2019-11-08 14:47:06 -08:00
kieferrm 59ba1190b4 fix GDPR annotation 2019-11-08 22:36:55 +00: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 43a2ca8840 Remove forceUpdate property 2019-11-08 10:38:51 -08:00
Matt Bierner 1cdb534185 Try to redeuce duplication for create vs refactor 2019-11-08 10:38:51 -08:00
Matt Bierner 886ea7a8b4 💄 2019-11-08 10:38:51 -08:00
Matt Bierner aafc307dd8 Use set to store preview instead of array 2019-11-08 10:38:51 -08:00
Matt Bierner 884d52f1e7 Extract DynamicPreviewStore 2019-11-08 10:38:51 -08:00
Matt Bierner 7ee9aa4757 Rename and move types around to get ready for webview editor based previews 2019-11-08 10:38:51 -08:00
Alex Dima c9a2de2d9c
Improve integration test output on Windows (#84239) 2019-11-08 17:21:35 +01:00
Joao Moreno fd091abb85
fixes #84274 2019-11-08 15:55:30 +01:00
Joao Moreno 062d516448
fixes #84201 2019-11-08 12:53:26 +01:00
Matt Bierner fdeb9aa9b8 Use 'as const' instead of readonly class object 2019-11-07 20:31:32 -08:00
Matt Bierner a8ad448cb0 Aggressively cancel code lens requests when the resource changes
For #84185
2019-11-07 18:47:39 -08:00
Matt Bierner 278b4f8cfa Hookup experimental undo for customEditors
This currently is not connected to any actual actions in the editor
2019-11-07 17:22:21 -08:00
Matt Bierner d83f121f6d Fix spelling 2019-11-07 07:57:04 -08:00
Alexandru Dima c34e736195
Forward SemanticColoring disposals to the ext host 2019-11-07 16:06:46 +01:00
Alexandru Dima bdbe2e3612
Clear semantic tokens in case of errors/empty results 2019-11-07 15:40:06 +01:00
Alexandru Dima 7761e75deb
API tweak from the standup discussion 2019-11-07 15:26:22 +01:00
Joao Moreno 15bfc40222 smaller footprint 2019-11-07 14:05:21 +01:00
Joao Moreno 467079f43d remove double action 2019-11-07 13:56:55 +01:00
Joao Moreno 5d60b7fdc4 wip: git fs provider 2019-11-07 11:31:01 +01:00
Matt Bierner bea911842a Fix name and make sure tell VS Code about about specific code actions 2019-11-06 18:21:43 -08:00
Matt Bierner 5b63895862 Docment remaining known js/ts refactorings 2019-11-06 18:13:54 -08:00
Matt Bierner 26c4541c4a Add coalease helper function 2019-11-06 17:47:43 -08:00
Matt Bierner 692630172a Documenting more js/ts refactorings 2019-11-06 17:47:43 -08:00
Matt Bierner 42d53cf373 Document extract constant and extract type alias 2019-11-06 16:51:49 -08:00
Matt Bierner c3983ca63b Document extract interface for js/ts
Also re-organizes the code action kinds fo better encapsulate mapping of TS kinds to VS Code kinds
2019-11-06 16:51:49 -08:00
Matt Bierner 2510769bf9 Updat codeActions contribtions schema based on https://github.com/microsoft/vscode/issues/82718#issuecomment-550468267
- Adds a description
- Remove schama
- Moves the language to the top level so we don't need to duplicate so much info for each code action
2019-11-06 16:51:49 -08:00
Pine Wu 181ba10e5f Fix #71996 2019-11-06 16:03:19 -08:00
Matt Bierner c8d64b13e5 Add code actions contributon point
For #82718
Fixes #52846

This adds a newly proposed codeActions contribution point. For details, see #82718

This change also makes the intellisense for the `editor.codeActionsOnSave` property dynamic by using the new contribution point
2019-11-06 10:13:59 -08:00
Benjamin Pasero 5a569ad3dd yarn web - do not have root in memfs 2019-11-06 15:30:50 +01:00
Benjamin Pasero 4d44cfa7c8 web - fix decoration sample 2019-11-06 14:11:17 +01:00
Martin Aeschlimann c504a89202 Merge branch 'master' into aeschli/tokenScopes 2019-11-06 11:42:07 +01:00
Alex Dima 57995de234
Merge remote-tracking branch 'origin/master' into alex/semantic-exploration 2019-11-06 08:51:39 +01:00
MartinBrathen c53db9ba76 Fix zoom on first click (#83826)
* no zoom on fast click

* fixed a visual bug where the zoom-in icon would show briefly before zoom-out on first click when ctrl/alt is pressed
2019-11-05 15:00:34 -08:00
Martin Aeschlimann 1476c4e20b [html] update to TextDocument and switch to incremental 2019-11-05 22:19:43 +01:00
Martin Aeschlimann c198ec2eac [css] update TextDocument & use incremental sync 2019-11-05 22:19:43 +01:00
Martin Aeschlimann fd6d7489a8 [json] adopt TextDocuments and use incremental sync 2019-11-05 22:19:43 +01:00
Matt Bierner ed9f435931 Pick up TS 3.7 final
Fixes #83935
2019-11-05 13:05:08 -08:00
Daniel Imms e41c71b0d0
Merge branch 'master' into tyriar/63052 2019-11-05 10:32:42 -08:00
Daniel Imms 1d60909d1f Implement Terminal.creationOptions API
Fixes #63052
2019-11-05 10:30:43 -08:00
Daniel Imms fedfbacf80
Merge pull request #84000 from microsoft/tyriar/exitCode
Support Terminal.exitStatus API
2019-11-05 09:59:23 -08:00
Daniel Imms 2a0d3d0140 Support Terminal.exitStatus API
Fixes #62103
2019-11-05 09:09:39 -08:00
Alexandru Dima 013433992a
Semantic tokenization 2019-11-05 17:17:28 +01:00
Benjamin Pasero 4de0e4d27a web - support tasks in "yarn web" 2019-11-05 15:45:10 +01:00
Benjamin Pasero 4bcb08d773 web - better sample and problems support for "yarn web" 2019-11-05 15:31:25 +01:00
Alexandru Dima 308ff31f95
Merge remote-tracking branch 'origin/master' into alex/semantic-exploration 2019-11-05 09:44:55 +01:00
Pine Wu 7ab195a897 Revert "Update css LS for #3145"
This reverts commit d327d5e890.
2019-11-04 18:15:36 -05:00
Matt Bierner dcecb9eea6 Documenting thoughts on direction for custom editor API
This documents the current thinking on the custom editor api. The current api proposal is not actually implemented yet
2019-11-04 15:11:54 -08:00