Commit graph

44866 commits

Author SHA1 Message Date
Yash Garg 35689d1261
Update README.md 2019-01-22 20:38:28 +05:30
Martin Aeschlimann ddd17d938f argv: fix null checks 2019-01-22 15:56:28 +01:00
Martin Aeschlimann 585099e139 support add/diffMode in windowService.openWindow 2019-01-22 15:56:28 +01:00
Martin Aeschlimann 998d665c39 cli server for internal terminal 2019-01-22 15:56:28 +01:00
Martin Aeschlimann 032f640ba7 support files in windowOpen 2019-01-22 15:56:28 +01:00
Martin Aeschlimann efc4d93818 make argv handling reusable 2019-01-22 15:56:28 +01:00
isidor 5d00c4b2ca fixes #66791 2019-01-22 15:52:12 +01:00
Martin Aeschlimann 6ecf349967 Make color/icon theme contribution points dynamic 2019-01-22 15:40:40 +01:00
isidor cf67606c1f open editors: drag to outside of vscode
fixes #66747
2019-01-22 15:35:57 +01:00
isidor 55951f06fa fixes #66810 2019-01-22 14:51:01 +01:00
isidor 93b0145d37 explorer: do not react on selection events if user is modifying selection via shift
fixes #66792
2019-01-22 11:58:56 +01:00
Sandeep Somavarapu b29504c5c2 #66907 Move cached configurations to user home directory 2019-01-22 11:00:28 +01:00
Johannes Rieken 23f534b7b7 fix tests 2019-01-21 21:07:57 -08:00
Johannes Rieken 9faa15ed6f fix strict null errors 2019-01-21 19:39:21 -08:00
Johannes Rieken 97ed8aba29 add developer command that prints available formatters to console, #41882 2019-01-21 18:19:02 -08:00
Matt Bierner 65b0d6d274 Fix spelling error 2019-01-21 18:04:01 -08:00
Matt Bierner f929531dfb Add CodeActionKind.intersects
Fixes #66881
2019-01-21 18:04:01 -08:00
Matt Bierner 86bb14550b Strict null check tokenization 2019-01-21 18:04:01 -08:00
Johannes Rieken e910e4e678 OpenerService#open should return a boolean 2019-01-21 17:39:26 -08:00
Johannes Rieken 1d4bed79e1 add some jsdoc #66741 2019-01-21 17:39:26 -08:00
Matt Bierner 73ba671e2b
Merge pull request #66754 from piraces/suggestMemory
Add strict null checks to suggestMemory.test.ts
2019-01-21 17:20:08 -08:00
Matt Bierner d8375f6967
Merge pull request #66521 from Microsoft/dev/mjbvz/source-auto-fix-prototype
Prototype autoFix source code action
2019-01-21 17:18:08 -08:00
Matt Bierner c994fc20fa Apply auto fix on save actions sequentially and make sure we request fixes of the specific type we are interested in 2019-01-21 17:16:06 -08:00
Matt Bierner 2ebdac4afd Fix potential crash when using preferred code actions 2019-01-21 17:16:06 -08:00
Matt Bierner ee65a242a9 Gate auto fix for TS to use an undocumented experimental TS setting
We likely do not want to enable autofixes until we have proper TS support: https://github.com/Microsoft/TypeScript/issues/29452
2019-01-21 17:16:06 -08:00
Matt Bierner 4e6bd4aedd Prototype autofix source code action
Part of #62110

* Adds a new `CodeActionKind`: `source.autoFix`.
* Implements a simple auto fix provider for typescript. This provider can auto fix `implement interface` and `spelling` errors (provided there is only a single valid fix listed)

The provider is likely not something we actually want to check it (especially in its current state), we should ask TS for proper autoFix support
2019-01-21 17:16:06 -08:00
Matt Bierner 4f8d546aa7 De-duplicate "fix all" quick fixes across requests for multiple diagnostics in selection range
For https://github.com/Microsoft/typescript-tslint-plugin/issues/49
2019-01-21 17:15:49 -08:00
Johannes Rieken 232006c427 use electron openExternal, return boolean-promise, rename to 'open', #66741 2019-01-21 17:03:15 -08:00
Johannes Rieken e83c7a08a9 use fallback-command instead of text, make fallback configurable via keybindings file, #65587 2019-01-21 16:29:41 -08:00
Johannes Rieken 96ab284b4e move function to env, rename to openItem #66741 2019-01-21 15:42:54 -08:00
isidor 3dd928224b fix null checks 2019-01-22 00:02:28 +01:00
Johannes Rieken 32629a8125 update reference view extension, #64376 2019-01-21 14:41:27 -08:00
Matt Bierner 2826369c0a Make sure we send proper arguments to completion item command
Fixes #66870
2019-01-21 14:38:46 -08:00
isidor b4971f371c explorer: polish cut action 2019-01-21 23:10:39 +01:00
isidor ff82242210 explorer: copy path and copy relative path to their own groups 2019-01-21 23:10:39 +01:00
isidor b555eb888b past file action not needed, use command instead 2019-01-21 23:10:39 +01:00
Matt Bierner 59ce7f3b28 Fix markdown preview code highlighting
Fixes #66772
2019-01-21 14:09:30 -08:00
Matt Bierner e84eca9c8c Extend Disposable 2019-01-21 14:09:30 -08:00
Matt Bierner 55be1d8d28 Trying to use less state in lightbulb api 2019-01-21 14:09:30 -08:00
Matt Bierner e2fed92362 Mark preferred code actions with a star in the code action list
#66702

Experimentally mark preferred code actions with a star while we come up with better UX for this
2019-01-21 14:09:30 -08:00
Matt Bierner e42d49be2b Extraction and convert to async 2019-01-21 14:09:30 -08:00
Matt Bierner bcc2281e45 Rename CodeAction.canAutoApply -> CodeAction.preferred
Part of #62110

Use the more generic name as suggested in https://github.com/Dart-Code/Dart-Code/issues/1393. This makes the intent of the field more clear and also allows us to extend the concept of preferred code actions to refactorings and other classes of code actions

Experimentally also allows a `preferred` value for `apply` when configuring code aciton keyboard shortcuts. This applies the preferred code action returned from the list of code actions returned
2019-01-21 14:09:30 -08:00
Daniel Imms 0e90c2e328
Merge pull request #66781 from g1tman/patch-1
refactor terminalInstance.ts
2019-01-21 10:45:44 -08:00
Rob Lourens b9b1f0306c Fix #66573 2019-01-21 18:25:58 +00:00
Johannes Rieken 172b5a5c59 delegate to opener service, #66741 2019-01-21 10:20:57 -08:00
Johannes Rieken dc0e64414e fix #65412 2019-01-21 09:34:44 -08:00
Johannes Rieken 3b4cea2aa0 add telemetry to know how often multiple formatter situation occur, #41882 2019-01-21 08:55:28 -08:00
Johannes Rieken 409293d564 fix #66824 2019-01-21 08:31:08 -08:00
Johannes Rieken a12582cb86 fix #66728 2019-01-21 08:25:33 -08:00
Martin Aeschlimann 24e8857cc5 theme watching: support icon themes (for #66115) 2019-01-21 17:16:19 +01:00