Commit graph

7990 commits

Author SHA1 Message Date
João Moreno 9ff783bdd6
Update extensions/git/src/commands.ts 2020-09-09 16:29:53 +02:00
Wowol c8bf916046 Add cursor change after revert or stage changes 2019-11-17 14:48: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
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
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
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