[PATCH] D63397: [clangd] Detect C++ for extension-less source files in vscode extension

Kadir Cetinkaya via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 17 01:13:07 PDT 2019


kadircet added a comment.

Could you also update summary to include a link to documentation regarding `contributes.languages` ?



================
Comment at: clang-tools-extra/clangd/clients/clangd-vscode/package.json:55
+            "id": "cpp",
+            "firstLine": ".*-\\*-\\s*C\\+\\+\\s*-\\*-.*"
+        }],
----------------
could you also make sure it starts with "^//"


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D63397/new/

https://reviews.llvm.org/D63397





More information about the cfe-commits mailing list