Thank you, Sean Corfield!
clj -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.13"}' :as new
| (defun vk/show-lsp-diagnostics-xref () | |
| "Display LSP diagnostics in a persistent `xref`-style buffer." | |
| (interactive) | |
| (let ((diagnostics (lsp-diagnostics)) | |
| (xref-items '())) ;; Initialize xref items list | |
| ;; Collect diagnostics as `xref-item` structures | |
| (maphash | |
| (lambda (file errors) | |
| (dolist (error errors) | |
| (let* ((range (gethash "range" error)) |
Thank you, Sean Corfield!
clj -Ttools install io.github.seancorfield/deps-new '{:git/tag "v0.4.13"}' :as new
| # propDeclaration | |
| $type$ $name$() const; | |
| void set$name:c$(const $type$& $name$); | |
| #propImplementation | |
| $type$ $className$::$name$() const { return $member$; } | |
| void $className$::set$name:c$(const $type$& $name$) { | |
| if ($name$ == $member$) | |
| return; |
| git checkout yourBranch | |
| git reset --soft HEAD~$(git rev-list --count HEAD ^develop) | |
| git commit -m "one commit on yourBranch" |