From 0c6ab3d39194dde043261f17940ca5fd26e170c1 Mon Sep 17 00:00:00 2001 From: Michal Niewrzal Date: Thu, 1 Sep 2016 15:07:24 +0200 Subject: [PATCH] Add steps to build and run from source (#2) --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index a6a2012..fd99615 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,17 @@ instead of relying on naive regular expression parsing. - Hover - Follow composer autoloading +## Build and Run From Source +Clone whole repository and in root directory execute: +```bash +composer install +npm install +npm run compile +``` +To install it in VS Code copy extension directory to **.vscode/extensions**. + +[Install extension in VS Code](https://code.visualstudio.com/docs/extensions/install-extension) + ## Contributing This is just the VS Code extension that spawns the actual language server. The language server itself is implemented purely in PHP [in its own repository](https://github.com/felixfbecker/php-language-server).