llvm-project/clang-tools-extra/clangd/clients/clangd-vscode
Krasimir Georgiev 50117372db [clangd] Extract FsPath from file:// uri
Patch contributed by stanionascu!

rfc8089#appendix-E.2 specifies that paths can begin with a drive letter e.g. as file:///c:/.
In this case just consuming front file:// is not enough and the 3rd slash must be consumed to produce a valid path on windows.

The patch introduce a generic way of converting an uri to a filesystem path and back.

Differential Revision: https://reviews.llvm.org/D31401

llvm-svn: 299758
2017-04-07 11:03:26 +00:00
..
.vscode
src [clangd] Extract FsPath from file:// uri 2017-04-07 11:03:26 +00:00
test
.gitignore
.vscodeignore
README.txt
package.json [clangd] Add support for vscode extension configuration 2017-03-24 09:29:00 +00:00
tsconfig.json
vsc-extension-quickstart.md

README.txt

A *toy* VS Code integration for development purposes.

Steps:
1. Make sure you have clangd in /usr/bin/clangd or edit src/extension.ts to
point to the binary.
2. Make sure you have nodejs and npm installed.
3. Make sure you have VS Code installed.
4. In order to start a development instance of VS code extended with this, run:
   $ npm install
   $ code .
   When VS Code starts, press <F5>.