Maybe use a replaces? If nothing else, it'll still make this conflict with the old package.
Search Criteria
Package Details: clangd-opt-git 20.r12369.g0d38f64e7df9-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/clangd-opt-git.git (read-only, click to copy) |
---|---|
Package Base: | clangd-opt-git |
Description: | Trunk version of standalone clangd binary, with custom patches (look AUR page or PKGBUILD comments) |
Upstream URL: | https://llvm.org/ |
Licenses: | Apache-2.0 WITH LLVM-exception |
Conflicts: | clangd-opt |
Provides: | clangd-opt |
Replaces: | clangd-opt |
Submitter: | sr.team |
Maintainer: | sr.team |
Last Packager: | sr.team |
Votes: | 2 |
Popularity: | 0.019085 |
First Submitted: | 2024-03-15 10:25 (UTC) |
Last Updated: | 2024-11-16 00:32 (UTC) |
Dependencies (18)
- gcc-libs (gcc-libs-gitAUR, gccrs-libs-gitAUR, gcc11-libsAUR, gcc-libs-snapshotAUR)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR, glibc-eac-binAUR, glibc-eac-rocoAUR)
- ncurses (ncurses-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cmake (cmake-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- libedit (make)
- libffi (libffi-gitAUR) (make)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (make)
- ncurses (ncurses-gitAUR) (make)
- ninja (ninja-kitwareAUR, ninja-memAUR, ninja-fuchsia-gitAUR, ninja-gitAUR, ninja-jobserverAUR) (make)
- patch (patch-gitAUR) (make)
- python-psutil (make)
- python-setuptools (make)
- python-sphinx (python-sphinx-gitAUR) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compat) (make)
- zstd (zstd-gitAUR, zstd-staticAUR) (make)
Required by (0)
Sources (23)
- config-include-style.patch
- doxygen-extra-render-trunk.patch
- doxygen-more-fields.patch
- git+https://github.com/llvm/llvm-project.git#branch=main
- hover-bit-fields-mask.patch
- hover-doxygen-trunk.patch
- hover-field-idx.patch
- hover-hex-formats.patch
- hover-layout-everyhere.patch
- hover-no-defs.patch
- hover-record-paddings.patch
- hover-resolve-forward-params.patch
- hover-virt-offset.patch
- implement-abstract-class.patch
- inlay-hints-blockend-linelimit10.patch
- inlay-hints-hide-deduced-types-ignore-evident.patch
- inlay-hints-paddings.patch
- lsp-codelens.patch
- lsp-remove-files-from-cdb.patch
- postfix-completion-trunk.patch
- refactor-extract-function.patch
- resolve-depend-type.patch
- resolve-incomplete-header-includes.patch
Latest Comments
« First ‹ Previous 1 2
aliu commented on 2024-03-15 12:02 (UTC)
sr.team commented on 2024-03-15 10:25 (UTC) (edited on 2024-09-29 14:12 (UTC) by sr.team)
This PKGBUILD build trunk version of clangd, and may apply some non-standard patches
Applying patches controls via enviroment variables (e.g. CLANGD_DEFAULT_PATCH_STATE=y makepkg -si
):
Toggle all below patches
CLANGD_DEFAULT_PATCH_STATE
:
- 'n' - disable all patches
- 'y' - apply all patches
Apply user patches from ~/.config/clangd
. Patches must have extension *.patch
NOTE: This variable ignores the CLANGD_DEFAULT_PATCH_STATE
variable
CLANGD_USER_PATCHES
:
- 'n' - do not use user patches
- 'y' - apply user patches (default)
Show Doxygen comments in hover (D134130)
CLANGD_DOXYGEN
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Resolve forwarded parameters in hover (D130265)
CLANGD_RESOLVEFWDPARAMS
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Implement textDocument/codeLens (D91930)
It's also required patched vscode-clangd
extension - https://github.com/lightmelodies/vscode-clangd/commit/46266b4adb106b5080f5c771099c777806a16adc
CLANGD_CODELENS
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Contextual postfix completions (D125224)
Demo: https://asciinema.org/a/rxyoicX44ya2jLDpdbNj3rVcC
CLANGD_POSTFIXCOMPLETION
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Extract Function: add hoisting support (D138499)
CLANGD_EXTRACTFUNC
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Add inlay hints for structure paddings
CLANGD_INLAYHINTSPADS
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Add hex formats in size
and offset
fields on hover, when values more than 10
CLANGD_HOVERINHEX
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Show mask for bit fields on hover
Demo: Screen 1, Screen 2
CLANGD_HOVERBITFIELDSMASK
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Show offset of virtual methods
Limitations: supports only Itanium and MS abi
CLANGD_HOVERVIRTOFF
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Show layout hover info everyhere
CLANGD_HOVERLAYOUTEVERYHERE
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Hide definition from hover info for functions and variables
CLANGD_HOVERNODEFS
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Resolve the dependent type from its single instantiation (PR: 71279)
CLANGD_RESOLVEDEPTYPE
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Increase minimal limit for BlockEnd inlay-hints to 10 lines (default is 2)
This disabled show BlockEnd inlay-hints for small functions (less than 10 lines)
CLANGD_INLAYHINTSBLOCKEND
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Resolve includes in non-self-contained headers
Limitations: AST for source must be loaded before open incomplete header
CLANGD_RESOLVEINCHEADERS
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Add way to remove files from CDB via LSP
No need in many cases. Useful only in multi project workspaces with patched client
CLANGD_LSPREMOVEFROMCDB
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Show total record paddings in hover
CLANGD_HOVERRECORDPAD
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Allow specifying what headers are always included via "" or <> (PR: 67749)
CLANGD_CONFIG_INCLUDE_STYLE
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Add tweak for implementing abstract class (D94942)
CLANGD_IMPL_ABSTRACT_CLASS
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Hover information: Show fields indexes in layout: Offset: 8 bytes (index 1)
CLANGD_HOVERFIELDIDX
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Inlay hints: Ignore evident types in deduced types
CLANGD_INLAYHINTSIGNOREEVIDENT
:
- 'n' - do not apply this patch
- 'y' - apply this patch
Pinned Comments
sr.team commented on 2024-03-15 10:25 (UTC) (edited on 2024-09-29 14:12 (UTC) by sr.team)
This PKGBUILD build trunk version of clangd, and may apply some non-standard patches
Applying patches controls via enviroment variables (e.g.
CLANGD_DEFAULT_PATCH_STATE=y makepkg -si
):Toggle all below patches
CLANGD_DEFAULT_PATCH_STATE
:- 'n' - disable all patches
- 'y' - apply all patches
Apply user patches from
~/.config/clangd
. Patches must have extension*.patch
NOTE: This variable ignores the
CLANGD_DEFAULT_PATCH_STATE
variableCLANGD_USER_PATCHES
:- 'n' - do not use user patches
- 'y' - apply user patches (default)
Show Doxygen comments in hover (D134130)
CLANGD_DOXYGEN
:- 'n' - do not apply this patch
- 'y' - apply this patch
Resolve forwarded parameters in hover (D130265)
CLANGD_RESOLVEFWDPARAMS
:- 'n' - do not apply this patch
- 'y' - apply this patch
Implement textDocument/codeLens (D91930)
It's also required patched
vscode-clangd
extension - https://github.com/lightmelodies/vscode-clangd/commit/46266b4adb106b5080f5c771099c777806a16adcCLANGD_CODELENS
:- 'n' - do not apply this patch
- 'y' - apply this patch
Contextual postfix completions (D125224)
Demo: https://asciinema.org/a/rxyoicX44ya2jLDpdbNj3rVcC
CLANGD_POSTFIXCOMPLETION
:- 'n' - do not apply this patch
- 'y' - apply this patch
Extract Function: add hoisting support (D138499)
CLANGD_EXTRACTFUNC
:- 'n' - do not apply this patch
- 'y' - apply this patch
Add inlay hints for structure paddings
CLANGD_INLAYHINTSPADS
:- 'n' - do not apply this patch
- 'y' - apply this patch
Add hex formats in
size
andoffset
fields on hover, when values more than 10CLANGD_HOVERINHEX
:- 'n' - do not apply this patch
- 'y' - apply this patch
Show mask for bit fields on hover
Demo: Screen 1, Screen 2
CLANGD_HOVERBITFIELDSMASK
:- 'n' - do not apply this patch
- 'y' - apply this patch
Show offset of virtual methods
Limitations: supports only Itanium and MS abi
CLANGD_HOVERVIRTOFF
:- 'n' - do not apply this patch
- 'y' - apply this patch
Show layout hover info everyhere
CLANGD_HOVERLAYOUTEVERYHERE
:- 'n' - do not apply this patch
- 'y' - apply this patch
Hide definition from hover info for functions and variables
CLANGD_HOVERNODEFS
:- 'n' - do not apply this patch
- 'y' - apply this patch
Resolve the dependent type from its single instantiation (PR: 71279)
CLANGD_RESOLVEDEPTYPE
:- 'n' - do not apply this patch
- 'y' - apply this patch
Increase minimal limit for BlockEnd inlay-hints to 10 lines (default is 2)
This disabled show BlockEnd inlay-hints for small functions (less than 10 lines)
CLANGD_INLAYHINTSBLOCKEND
:- 'n' - do not apply this patch
- 'y' - apply this patch
Resolve includes in non-self-contained headers
Limitations: AST for source must be loaded before open incomplete header
CLANGD_RESOLVEINCHEADERS
:- 'n' - do not apply this patch
- 'y' - apply this patch
Add way to remove files from CDB via LSP
No need in many cases. Useful only in multi project workspaces with patched client
CLANGD_LSPREMOVEFROMCDB
:- 'n' - do not apply this patch
- 'y' - apply this patch
Show total record paddings in hover
CLANGD_HOVERRECORDPAD
:- 'n' - do not apply this patch
- 'y' - apply this patch
Allow specifying what headers are always included via "" or <> (PR: 67749)
CLANGD_CONFIG_INCLUDE_STYLE
:- 'n' - do not apply this patch
- 'y' - apply this patch
Add tweak for implementing abstract class (D94942)
CLANGD_IMPL_ABSTRACT_CLASS
:- 'n' - do not apply this patch
- 'y' - apply this patch
Hover information: Show fields indexes in layout:
Offset: 8 bytes (index 1)
CLANGD_HOVERFIELDIDX
:- 'n' - do not apply this patch
- 'y' - apply this patch
Inlay hints: Ignore evident types in deduced types
CLANGD_INLAYHINTSIGNOREEVIDENT
:- 'n' - do not apply this patch
- 'y' - apply this patch