editor: Add support for drag_and_drop_selection (#30671)

Closes #4958 

Release Notes:

- Added support for drag and drop text selection. It can be disabled by
setting `drag_and_drop_selection` to `false`.

---------

Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com>
This commit is contained in:
CharlesChen0823 2025-06-09 12:51:18 +08:00 committed by GitHub
parent b15aef4310
commit 4fe05530b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 214 additions and 16 deletions

View file

@ -217,6 +217,8 @@
"show_signature_help_after_edits": false,
// Whether to show code action button at start of buffer line.
"inline_code_actions": true,
// Whether to allow drag and drop text selection in buffer.
"drag_and_drop_selection": true,
// What to do when go to definition yields no results.
//
// 1. Do nothing: `none`