C/C++/ObjC language server ccls 0.20181225 release

2018-12-27 16:07:01 +08:00
 MaskRay

https://maskray.me/blog/2018-12-25-ccls-release

聖誕發佈新版https://github.com/MaskRay/ccls/releases/tag/0.20181225

Completion

Others

重點是

其他

;; xref.el
(defclass xref-file-location (xref-location)
  ((file :type string :initarg :file)
   (line :type fixnum :initarg :line :reader xref-location-line)
   (column :type fixnum :initarg :column :reader xref-file-location-column))
  :documentation "A file location is a file/line/column triple.
Line numbers start from 1 and columns from 0.")

;; lsp-ui-peek.el
          (-if-let (uri (gethash "uri" x))
              (-let (((&hash "start" (&hash "line" "character")) (gethash "range" x)))
                (lsp-ui-peek--goto-xref `(:file ,(lsp--uri-to-path uri) :line ,line :column ,character)))
            (-let (((&hash "start" (&hash "line" "character")) (or (gethash "targetSelectionRange" x) (gethash "targetRange" x))))
              (lsp-ui-peek--goto-xref `(:file ,(lsp--uri-to-path (gethash "targetUri" x)) :line ,line :column ,character))))

1977 次点击
所在节点    程序员
4 条回复
mxi1
2018-12-27 16:13:14 +08:00
一直没时间试, 等把 emacs 的 ccls 环境搭好,再来咨询.哈哈
zivyou
2018-12-27 18:51:56 +08:00
mark
visylar
2018-12-28 02:27:57 +08:00
ccls for vscode is great! Thank you
saintaugustinus
2018-12-29 00:52:04 +08:00
支持支持

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/521565

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX