New
- Extensions: Added the
Clipboard
API and corresponding entitlement for interacting with the user’s clipboard
- Extensions: Added support for the LSP
Snippet
format in completions
- Extensions: Added support for displaying color swatches to the
CompletionItem
API
- Added a “Report Abuse” link to extension details view
New for Extensions
InsertTextFormat
, an enumeration that contains values for supported text formats:
InsertTextFormat.PlainText
: Plain text. It won’t be modified or tokenized
InsertTextFormat.Snippet
: Completion text will be tokenized using the Clips / Snippet ${}
format
CompletionItem.insertTextFormat
, which defines an enum value from the InsertTextFormat
enumeration
CompletionItem.tokenize
has been deprecated in favor of the newer format property
- Setting this value to
true
will set the format to a private (inaccessible) enum value InsertTextFormat.Placeholder
which is present for backwards compatibility
TextEditor.insert()
has a new, optional second argument that takes an InsertTextFormat
enum value to control the inserted text format in the same way as completion items
- If this argument is undefined, the previous behavior (equivalent to
InsertTextFormat.Placeholder
) will be used
Improved
- Editor focus when opening documents in more than one tab
- Error messages of Extension Developer authentication failure alerts
- Error descriptions in Clone failure alert notification
- Extensions: Loosened restrictions on Tasks category validation
- “Show (Named) Sidebar” menu items now focus the opened sidebar for keyboard navigation, when supported
- Preferences: Added ‘Plain Text’ for custom file type associations
- Tasks: Non-transient tabs are now used when automatically opening a Report tab
- “Center Selection in Visible Area” shortcut (^L) now centers when the insertion point is visible
- Various localization improvements
Fixed
- Editor: Improved performance of text editing and scrolling when there are >100 folds
- Files Sidebar: Fixed an issue that could prevent the contextual menu from being opened with Ctrl-click
- Fixed an issue where the Extension Library sidebar could show a placeholder label or icon when installing an extension
- Spilt drop zone labels are no longer truncated
- Added
mysqli_query()
to PHP/MySQL autocomplete
- Editor: Fixed Shift-Option-Dragging to select multiple, non-contiguous regions
- Files Sidebar: Using Option-DnArrow to enter a folder now retains first responder status with “Show Navigation Controls” enabled
- Fixed a potential issue with key binding field changes not being saved when closing preferences
- LSP: Fixed Potential crash when using
DocumentHighlight
requests
- Extension-provided completions are no longer disabled when a language server is in use
- Fixed a hang when setting the editor Line Height to an empty value
- Fixed an issue with resolving environment variables for Tasks when using a Bash shell
- Servers: Prevent saving of New Servers with no address
- Editor Preferences: Updated “Custom File Type” labels to “Filename / Extension”
- SCSS: Fixed an issue causing autocompletion of variables in comments
- French: Fixed overlapping text in Editor Preferences
- Fixed a missing image in the Preferences > Keys detail sheet
- Resolved an issue that could cause gutter annotations expansions to flash when moving the cursor
- Extensions: Fixed an issue when using hex colors as part of a theme gradient
- Terminal: Resolved a potential issue with dropping characters when pasting
- Resolved an issue that could cause Extensions to fall back on the incorrect base localization