Commit Graph

108 Commits

Author SHA1 Message Date
Martin Aeschlimann 5b96deebf4 inspectEditorToken: to work with no grammar 2020-01-17 15:49:15 +01:00
Alex Dima 9e1d730cf2 SemanticTokens - implement feedback received in API call:
- extract a separate DocumentRangeSemanticTokensProvider that deals with a document range
- extract a separate provideDocumentSemanticTokensEdits that deals with updating via SemanticTokensEdits a previous result
2020-01-16 18:02:02 +01:00
Martin Aeschlimann 2717c6da1e change command label to Inspect Editor Tokens and Scopes 2020-01-16 10:39:31 +01:00
Martin Aeschlimann 3d1dca5a8a fix style 2020-01-15 22:45:51 +01:00
Martin Aeschlimann 4db305c825 Add semantic tokens to inspectTMScopes, rename to inspectEditorTokens 2020-01-15 17:36:50 +01:00
Alex Dima a4a3e90dc8 Only register PasteSelectionClipboardAction on Linux 2020-01-14 10:07:08 +01:00
Alex Dima ad1500b9db Extract paste selection clipboard code to an action 2020-01-14 10:03:25 +01:00
Alexandru Dima 476c4fef21 Merge branch 'master' into sameer/36170 2020-01-14 09:20:25 +01:00
Matt Bierner 942753b777 Fix TS 3.8 dom.d.ts changes
`.color` is no longer nullable. Use an empty string instead of null
2020-01-06 10:13:10 -08:00
Johannes Rieken 09ee89ca87 remove more unused tslint directives 2020-01-03 08:14:23 +01:00
isidor 046ae379de simple editor options: no indent guides. 2019-12-19 10:42:03 +01:00
Sandeep Somavarapu efbcd7f563 rename 2019-12-13 16:23:56 +01:00
Sandeep Somavarapu fe24fd8269 rename 2019-12-13 16:23:56 +01:00
Sandeep Somavarapu 0014aa16bd #85884 rename 2019-12-13 00:09:19 +01:00
Jackson Kearl a4880b13a2 Allow checking contrast of transparent colors in TM scope viewer. 2019-12-11 11:59:31 -08:00
SteVen Batten ac39756049 initialize multicursormodifier
fixes #86654
2019-12-10 11:43:57 -08:00
Benjamin Pasero e7c1372393 lcd - revert layer promotion for now (#86396)
* lcd - revert layer promotion for now

* Revert "Fix #86347. Fixed overflow widget only for extension viewlet"

This reverts commit beb8a0c7b7.

* Revert "Re #85313. Fix suggest widget position for extension editor."

This reverts commit 9d47191895.

* repatch titlebar for AA fix
2019-12-05 14:44:59 -08:00
rebornix beb8a0c7b7 Fix #86347. Fixed overflow widget only for extension viewlet 2019-12-04 16:27:05 -08:00
Peng Lyu 9d47191895 Re #85313. Fix suggest widget position for extension editor. 2019-12-03 10:37:36 -08:00
Johannes Rieken be257638d2 rename ICommandAction.iconLocation to ICommandAction.icon 2019-11-29 10:03:35 +01:00
Joao Moreno c2c643947b editor: fix word wrap settings in simple editor 2019-11-25 15:42:47 +01:00
Alex Dima 7521ebdeb4 Adopt latest vscode-textmate (fixes #84401) 2019-11-21 08:44:26 +01:00
Jackson Kearl bc4550bdae Remove suggest input transparency to fix #85099 2019-11-19 11:29:13 -08:00
Sameer 2e93b5726d Enable Shift-Insert to paste primary clipboard on Linux, fixes #36170. 2019-11-19 12:27:50 -06:00
Alexandru Dima ca81ca47db More changes for #81574 2019-11-15 18:02:35 +01:00
Matt Bierner 36a8322ae8 Convert SyncActionDescriptor to use a create function (#84878)
For #81574

See #84669 for details of the problem around strict function types. This change converts `SyncActionDescriptor` to use a static `create` function. This allows us to make the `create` function generic so that it can take the correct types for strictFunctionTypes
2019-11-14 16:49:25 -08:00
Alexandru Dima 898fbafa5b Make implements type relationships more explicit to help treeshaking 2019-11-13 11:15:37 +01:00
Peng Lyu 06cbe30f69 Fix #83599. Run onHide hook when monaco editor is removed from DOM tree. 2019-11-11 10:42:49 -08:00
Benjamin Pasero 87064db103 debt - untitled editor => untitled text editor 2019-11-06 12:44:59 +01:00
Johannes Rieken a537d00e71 debt - merge goToDefinition and referenceSearch into gotoSymbol, extract peekView 2019-11-05 10:53:57 +01:00
Alexandru Dima 0ba9f6631d Load extension resources using IExtensionResourceLoaderService 2019-10-30 15:52:10 +01:00
Alex Dima 447b901c35 Fixes #83282: Have editor.selectionClipboard:false disable it for everywhere 2019-10-30 14:35:10 +01:00
Alex Dima 90856c1bdf Add fallback keybinding rules for cmd+x, cmd+c and cmd+v on the mac to trigger cut, copy and paste by default (in all contexts).
fixes #83412
2019-10-29 15:43:03 +01:00
Alexandru Dima cd052e817a Partial revert "Converting some search for loops to use .some/.every instead"
This partially reverts commit 6e593ab812.
2019-10-28 16:54:33 +01:00
Benjamin Pasero 5ff0b530ba web - cleanup vendor specific CSS rules 2019-10-25 12:45:37 +02:00
Martin Aeschlimann ce9f8e1c94 adopt json.ParseOptions.allowEmptyContent and getNodeType 2019-10-25 10:16:53 +02:00
Alex Dima 7ae8c1cdf1 Fixes #55747: adjust width/height for the accessibility help widget and show scrollbars if needed 2019-10-24 23:47:23 +02:00
Martin Aeschlimann 05f1f27851 adopt editorWidgetForeground 2019-10-24 16:21:27 +02:00
Miguel Solorio d1499b2664 Fix #58531, cleanup viewlet margins 2019-10-21 14:53:14 -07:00
Alexandru Dima 620a5e80a0 Fixes #82603: Remove SelectionClipboardController from web 2019-10-17 11:37:10 +02:00
Alexandru Dima 3b16cc4622 Register editor contributions with their ID (#82603) 2019-10-17 11:26:31 +02:00
Alex Dima 4aee31efe2 Switch to use a notification when the max computation time is reached 2019-10-16 14:47:00 +02:00
Alex Dima e7b9c03552 Rename diffEditor.maximumComputationTime to diffEditor.maxComputationTime 2019-10-16 11:29:21 +02:00
Alex Dima 0a55dcfccb Show hint when the diff algorithm quits early 2019-10-16 11:29:20 +02:00
Alex Dima 643e57fb73 Fixes #45131: Render a floating click widget when the diff editor has whitespace only changes and whitespace is ignored 2019-10-12 02:03:54 +02:00
Alex Dima 59abaab728 Fixes #75345: Do not write to the selection clipboard when restoring selection state 2019-10-11 11:13:27 +02:00
Alex Dima f51b40808a Fixes #49305: Call preventDefault on mouseup event for middle button when selectionClipboard is turned off 2019-10-10 16:46:07 +02:00
Rob Lourens 4e53af222f Fix #75349 2019-10-09 10:36:24 -07:00
Matt Bierner b0dccbcf75 Marking a bunch of static variables as readonly
Readonly helps out with TS's type guards and is also a good best practice. Specifically, readonly strings/numbers have their literal type instead of a generic `string` | `number` type, which can help catch dead code and some common programming mistakes
2019-10-07 15:40:02 -07:00
Matt Bierner 6e593ab812 Converting some search for loops to use .some/.every instead
Prefer using these predicates as they are shorter and make the code easier to understand
2019-10-07 14:18:58 -07:00