-
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
(docstr--c-style-search-string 1)
(defun docstr-trigger-swift (&rest _)
"Trigger document string inside Swift."
(when (and (memq major-mode docstr-swift-modes)
(docstr--doc-valid-p)
(docstr-util-looking-back "///" 3))
(insert " ")
(docstr--insert-doc-string (docstr--c-style-search-string 1)))) /// [summary]
///
/// - arr1: [description]
/// - arr2: [description]
/// - returns: [description] The default swift language annotation is the C language style. How to customize a swift style to replace the C language style?
this swift style like:
/// <#Description#>
/// - Parameters:
/// - arr1: <#arr1 description#>
/// - arr2: <#arr2 description#>
/// - Returns: <#description#>Metadata
Metadata
Assignees
Labels
No labels