[SERVER-82108] vscode default clangd config should bless all toolchain binaries with --query-driver Created: 12/Oct/23  Updated: 29/Oct/23  Resolved: 12/Oct/23

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 7.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Mathias Stearn Assignee: Trevor Guidry
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

https://github.com/10gen/mongo/blob/7a04db83624d912d03bcbb4b2110416fb126b219/.vscode_defaults/linux-virtual-workstation.code-workspace#L9 should probably be --query-driver=/opt/mongodbtoolchain//bin/. The most pressing issue for me was that it wasn't correctly indexing WT code because it used clang rather than clang++. But rather than fixing just that problem we should just bless all binaries from all versions of the toolchain. If you really want to only bless clangs, then use /bin/clang.



 Comments   
Comment by Anthony Pratti [ 13/Oct/23 ]

Looks like we should re-open this after discussion here. trevor.guidry@mongodb.com WDYT?

Comment by Githook User [ 12/Oct/23 ]

Author:

{'name': 'Trevor Guidry', 'email': 'trevor.guidry@mongodb.com', 'username': ''}

Message: SERVER-82108 change vscode default clangd --query-driver arg
Branch: master
https://github.com/mongodb/mongo/commit/2ee7bd3925a18711724b96432e7cfb9c6df21284

Generated at Thu Feb 08 06:48:16 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.