WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
210426
Add ccls config file to the list of ignored files
https://bugs.webkit.org/show_bug.cgi?id=210426
Summary
Add ccls config file to the list of ignored files
Sergio Villar Senin
Reported
2020-04-13 08:11:17 PDT
Add ccls config file to the list of ignored files
Attachments
Patch
(937 bytes, patch)
2020-04-13 08:13 PDT
,
Sergio Villar Senin
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Sergio Villar Senin
Comment 1
2020-04-13 08:13:53 PDT
Created
attachment 396280
[details]
Patch
Sergio Villar Senin
Comment 2
2020-04-28 12:46:49 PDT
Ping reviewers. ccls is a stand-alone server implementing the Language Server Protocol for C, C++, and Objective-C languages. It can be used with any editor which provides an LSP client implementation. It originates from cquery.
https://github.com/MaskRay/ccls/wiki
It's basically used to provide semantic highlight and code navigation to big source code bases as WebKit. Many editors support LSP servers.
EWS
Comment 3
2020-04-29 00:59:22 PDT
Committed
r260885
: <
https://trac.webkit.org/changeset/260885
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 396280
[details]
.
Radar WebKit Bug Importer
Comment 4
2020-04-29 01:00:16 PDT
<
rdar://problem/62581559
>
Philippe Normand
Comment 5
2020-09-19 07:04:20 PDT
Comment on
attachment 396280
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=396280&action=review
> ChangeLog:9 > + * .gitignore: ccls can read configuration options from a .ccls file in > + the project root directory. Let's just ignore it.
I don't understand the reason for this change. I've been using a local .ccls file for months, ccls running from the SDK actually needs such file. So I would like to revert this change and commit my .ccls file because I think it would be useful for a wider audience :) Unless your IDE was generating a .ccls file? That seems to be what this patch implies, please elaborate :)
Philippe Normand
Comment 6
2020-09-19 07:04:59 PDT
cat .ccls %compile_commands.json %h -x %h c++-header %h --include=config.h %cpp --include=config.h
Sergio Villar Senin
Comment 7
2020-09-20 13:16:32 PDT
(In reply to Philippe Normand from
comment #5
)
> Comment on
attachment 396280
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=396280&action=review
> > > ChangeLog:9 > > + * .gitignore: ccls can read configuration options from a .ccls file in > > + the project root directory. Let's just ignore it. > > I don't understand the reason for this change. I've been using a local .ccls > file for months, ccls running from the SDK actually needs such file. So I > would like to revert this change and commit my .ccls file because I think it > would be useful for a wider audience :) > Unless your IDE was generating a .ccls file? That seems to be what this > patch implies, please elaborate :)
Having a .ccls file is optional for ccls to work. That's the reason why I decided to add it to the list of ignored files instead of committing it. But I don't have a strong opinion here, i.e. I'm fine with you adding a .ccls file.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug