diff --git a/.travis.yml b/.travis.yml
index cde3b2b..d1d58e3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,12 +26,6 @@ before_install:
sleep 3;
fi
- - cd ./vscode-client
- - npm install
- - mkdir ./out
- - npm run vscode:prepublish
- - cd - > /dev/null
-
- printf '%s\n'
"$(cat test-requirements.txt requirements.txt)"
> requirements.txt
@@ -52,10 +46,6 @@ script:
# Server side tests.
- coverage run $(which behave) ./tests/server.features
- coverage run -a -m unittest discover -s tests
- # Frontend tests.
-# - cd ./vscode-client
-# - npm test
-# - cd - > /dev/null
notifications:
email: false
diff --git a/README.md b/README.md
index c7afc71..2fc5601 100644
--- a/README.md
+++ b/README.md
@@ -13,19 +13,6 @@ A visual studio code plugin working via [Language Server Protocol (LSP)](https:/
You'll need python version 3.5 or greater, run `pip3 install -r requirements.txt` to install the requirements, and run `python3 langserver-python.py --mode=tcp --addr=2087` to start a local languager server listening at port 2087.
-Then you should update the `./vscode-client/src/extension.ts` to make client in TCP mode.
-
-```diff
-export function activate(context: ExtensionContext) {
-- context.subscriptions.push(startLangServer
-- (require("path").resolve(__dirname, '../coala-langserver.sh'), ["python"]));
-+ context.subscriptions.push(startLangServerTCP(2087, ["python"]));
- console.log("coala language server is running.");
-}
-```
-
-To try it in [Visual Studio Code](https://code.visualstudio.com), open ./vscode-client in VS Code and turn to debug view, launch the extension.
-
## Known bugs
* [Language server restarts when `didSave` requests come](https://github.com/coala/coala-vs-code/issues/7)
diff --git a/vscode-client/.gitignore b/vscode-client/.gitignore
deleted file mode 100644
index faeedd6..0000000
--- a/vscode-client/.gitignore
+++ /dev/null
@@ -1,6 +0,0 @@
-out
-server
-node_modules
-.vscode-dev
-.vscode-test
-
diff --git a/vscode-client/.vscode/launch.json b/vscode-client/.vscode/launch.json
deleted file mode 100644
index d60c89d..0000000
--- a/vscode-client/.vscode/launch.json
+++ /dev/null
@@ -1,28 +0,0 @@
-// A launch configuration that compiles the extension and then opens it inside a new window
-{
- "version": "0.1.0",
- "configurations": [
- {
- "name": "Launch Extension",
- "type": "extensionHost",
- "request": "launch",
- "runtimeExecutable": "${execPath}",
- "args": ["--extensionDevelopmentPath=${workspaceRoot}" ],
- "stopOnEntry": false,
- "sourceMaps": true,
- "outDir": "${workspaceRoot}/out/src",
- "preLaunchTask": "npm"
- },
- {
- "name": "Launch Tests",
- "type": "extensionHost",
- "request": "launch",
- "runtimeExecutable": "${execPath}",
- "args": ["--extensionDevelopmentPath=${workspaceRoot}", "--extensionTestsPath=${workspaceRoot}/out/test" ],
- "stopOnEntry": false,
- "sourceMaps": true,
- "outDir": "${workspaceRoot}/out/test",
- "preLaunchTask": "npm"
- }
- ]
-}
\ No newline at end of file
diff --git a/vscode-client/.vscode/settings.json b/vscode-client/.vscode/settings.json
deleted file mode 100644
index 8ab1aa8..0000000
--- a/vscode-client/.vscode/settings.json
+++ /dev/null
@@ -1,11 +0,0 @@
-// Place your settings in this file to overwrite default and user settings.
-{
- "files.exclude": {
- "out": false // set this to true to hide the "out" folder with the compiled JS files
- },
- "search.exclude": {
- "out": true // set this to false to include "out" folder in search results
- },
- "typescript.tsdk": "/dev/null",
- "vsicons.presets.angular": false
-}
\ No newline at end of file
diff --git a/vscode-client/.vscode/tasks.json b/vscode-client/.vscode/tasks.json
deleted file mode 100644
index 1992757..0000000
--- a/vscode-client/.vscode/tasks.json
+++ /dev/null
@@ -1,30 +0,0 @@
-// Available variables which can be used inside of strings.
-// ${workspaceRoot}: the root folder of the team
-// ${file}: the current opened file
-// ${fileBasename}: the current opened file's basename
-// ${fileDirname}: the current opened file's dirname
-// ${fileExtname}: the current opened file's extension
-// ${cwd}: the current working directory of the spawned process
-
-// A task runner that calls a custom npm script that compiles the extension.
-{
- "version": "0.1.0",
-
- // we want to run npm
- "command": "npm",
-
- // the command is a shell script
- "isShellCommand": true,
-
- // show the output window only if unrecognized errors occur.
- "showOutput": "silent",
-
- // we run the custom script "compile" as defined in package.json
- "args": ["run", "compile", "--loglevel", "silent"],
-
- // The tsc compiler is started in watching mode
- "isWatching": true,
-
- // use the standard tsc in watch mode problem matcher to find compile problems in the output.
- "problemMatcher": "$tsc-watch"
-}
\ No newline at end of file
diff --git a/vscode-client/.vscodeignore b/vscode-client/.vscodeignore
deleted file mode 100644
index 795e714..0000000
--- a/vscode-client/.vscodeignore
+++ /dev/null
@@ -1,9 +0,0 @@
-.vscode/**
-typings/**
-out/test/**
-test/**
-src/**
-**/*.map
-.gitignore
-tsconfig.json
-vsc-extension-quickstart.md
diff --git a/vscode-client/License.txt b/vscode-client/License.txt
deleted file mode 100644
index 8e1db29..0000000
--- a/vscode-client/License.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-Copyright (c) Microsoft Corporation
-
-All rights reserved.
-
-MIT License
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
diff --git a/vscode-client/README-vscode-client.md b/vscode-client/README-vscode-client.md
deleted file mode 100644
index cc8adfe..0000000
--- a/vscode-client/README-vscode-client.md
+++ /dev/null
@@ -1,34 +0,0 @@
-# vscode-client
-
-The vscode-client extension for Visual Studio Code helps you develop
-and debug language servers. It lets you run multiple language servers
-at once with minimal extra configuration per language.
-
-## Using this extension
-
-1. Follow the [Getting Started instructions for this project](../README.md)
-1. Run `npm install`.
-1. Run `npm run vscode` to start a new VSCode instance. Use `npm run vscode -- /path/to/mydir` to open the editor to a specific directory.
-1. Open a `.go` file and hover over text to start using the Go language server.
-
-To view a language server's stderr output in VSCode, select View → Output.
-To debug further, see the "Hacking on this extension" section below.
-
-After updating the binary for a language server (during development or after an upgrade), just kill the process (e.g., `killall langserver-go`).
-VSCode will automatically restart and reconnect to the language server process.
-
-> **Note for those who use VSCode as their primary editor:** Because this extension's functionality conflicts with other VSCode extensions
-(e.g., showing Go hover information), the `npm run vscode` script launches an separate instance of VSCode and stores its config in `../.vscode-dev`.
-It will still show your existing extensions in the panel (which seems to be a VSCode bug), but they won't be activated.
-
-## Adding a language server
-
-Register your language server at the bottom of [`extension.ts`](https://github.com/sourcegraph/langserver/blob/master/vscode-client/src/extension.ts).
-
-## Hacking on this extension
-
-1. Run `npm install` in this directory (`vscode-client`).
-1. Open this directory by itself in Visual Studio Code.
-1. Hit F5 to open a new VSCode instance in a debugger running this extension. (This is equivalent to going to the Debug pane on the left and running the "Launch Extension" task.)
-
-See the [Node.js example language server tutorial](https://code.visualstudio.com/docs/extensions/example-language-server) under "To test the language server" for more information.
diff --git a/vscode-client/README.md b/vscode-client/README.md
deleted file mode 100644
index b6bcd03..0000000
--- a/vscode-client/README.md
+++ /dev/null
@@ -1,20 +0,0 @@
-
-
-
-
- VS Code - coala
-
-
-
-
-Provides a unified interface for linting and fixing all your code, regardless of the programming languages you use.
-
-
-
-## Contributing
-
-Welcome to our community in [gitter](https://coala.io/chat). And feel free to contribute to [github.com/coala/coala-vs-code](https://github.com/coala/coala-vs-code).
-
-## AUTHORS
-
-* [gaocegege](https://github.com/gaocegege)
diff --git a/vscode-client/ThirdPartyNotices.txt b/vscode-client/ThirdPartyNotices.txt
deleted file mode 100644
index 114129b..0000000
--- a/vscode-client/ThirdPartyNotices.txt
+++ /dev/null
@@ -1,31 +0,0 @@
-THIRD-PARTY SOFTWARE NOTICES AND INFORMATION
-For Microsoft vscode-languageserver-node-example
-
-This project incorporates material from the project(s) listed below (collectively, “Third Party Code”).
-Microsoft is not the original author of the Third Party Code. The original copyright notice and license
-under which Microsoft received such Third Party Code are set out below. This Third Party Code is licensed
-to you under their original license terms set forth below. Microsoft reserves all other rights not expressly
-granted, whether by implication, estoppel or otherwise.
-
-1. DefinitelyTyped version 0.0.1 (https://github.com/borisyankov/DefinitelyTyped)
-
-This project is licensed under the MIT license.
-Copyrights are respective of each contributor listed at the beginning of each definition file.
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
\ No newline at end of file
diff --git a/vscode-client/package.json b/vscode-client/package.json
deleted file mode 100644
index b8bfbc6..0000000
--- a/vscode-client/package.json
+++ /dev/null
@@ -1,34 +0,0 @@
-{
- "name": "coala",
- "displayName": "coala plugin for VS Code",
- "description": "Provides a unified interface for linting and fixing all your code, regardless of the programming languages you use.",
- "author": "coala devs",
- "license": "MIT",
- "version": "0.0.10",
- "publisher": "coala",
- "engines": {
- "vscode": "^1.4.0"
- },
- "categories": [
- "Linters"
- ],
- "activationEvents": [
- "*"
- ],
- "main": "./out/src/extension",
- "scripts": {
- "vscode:prepublish": "cp -r ../coala-langserver.sh ../coala-langserver.py ../coala_langserver ./out && node ./node_modules/vscode/bin/compile",
- "compile": "python3 ../setup.py install && node ./node_modules/vscode/bin/compile -watch -p ./",
- "postinstall": "node ./node_modules/vscode/bin/install",
- "vscode": "npm run vscode:prepublish && VSCODE=$(which code-insiders || which code || echo echo ERROR: neither the code nor code-insiders vscode executable is installed); USER=dummy-dont-share-vscode-instance $VSCODE --user-data-dir=$PWD/.vscode-dev/user-data --extensionHomePath=$PWD/.vscode-dev/extensions --extensionDevelopmentPath=$PWD $*",
- "test": "node ./node_modules/vscode/bin/test"
- },
- "devDependencies": {
- "typescript": "^1.8.9",
- "vscode": "^0.11.0",
- "vsce": "^1.18.0"
- },
- "dependencies": {
- "vscode-languageclient": "^2.4.2-next.12"
- }
-}
diff --git a/vscode-client/src/extension.ts b/vscode-client/src/extension.ts
deleted file mode 100644
index 1254bcc..0000000
--- a/vscode-client/src/extension.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-/* --------------------------------------------------------------------------------------------
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for license information.
- * ------------------------------------------------------------------------------------------ */
-'use strict';
-
-import * as net from 'net';
-
-import { workspace, Disposable, ExtensionContext } from 'vscode';
-import { LanguageClient, LanguageClientOptions, SettingMonitor, ServerOptions, ErrorAction, ErrorHandler, CloseAction, TransportKind } from 'vscode-languageclient';
-
-function startLangServer(command: string, documentSelector: string | string[]): Disposable {
- const serverOptions: ServerOptions = {
- command: command,
- };
- const clientOptions: LanguageClientOptions = {
- documentSelector: documentSelector,
- }
- return new LanguageClient(command, serverOptions, clientOptions).start();
-}
-
-function startLangServerTCP(addr: number, documentSelector: string | string[]): Disposable {
- const serverOptions: ServerOptions = function() {
- return new Promise((resolve, reject) => {
- var client = new net.Socket();
- client.connect(addr, "127.0.0.1", function() {
- resolve({
- reader: client,
- writer: client
- });
- });
- });
- }
-
- const clientOptions: LanguageClientOptions = {
- documentSelector: documentSelector,
- synchronize: {
- // Notify the server about file changes to '.clientrc files contain in the workspace
- fileEvents: workspace.createFileSystemWatcher('**/.py')
- }
- }
- return new LanguageClient(`tcp lang server (port ${addr})`, serverOptions, clientOptions).start();
-}
-
-export function activate(context: ExtensionContext) {
- context.subscriptions.push(startLangServer
- (require("path").resolve(__dirname, '../coala-langserver.sh'), ["python"]));
- // For Debug
- // context.subscriptions.push(startLangServerTCP(2087, ["python"]));
- console.log("coala language server is running.");
-}
diff --git a/vscode-client/test/extension.test.js b/vscode-client/test/extension.test.js
deleted file mode 100644
index a98fd02..0000000
--- a/vscode-client/test/extension.test.js
+++ /dev/null
@@ -1,17 +0,0 @@
-// The module 'assert' provides assertion methods from node
-import * as assert from 'assert';
-
-// You can import and use all API from the 'vscode' module
-// as well as import your extension to test it
-// import * as vscode from 'vscode';
-// import * as myExtension from '../extension';
-
-// Defines a Mocha test suite to group tests of similar kind together
-suite('Extension Tests', () => {
-
- // Defines a Mocha unit test
- test('Something 1', () => {
- assert.equal(-1, [1, 2, 3].indexOf(5));
- assert.equal(-1, [1, 2, 3].indexOf(0));
- });
-});
diff --git a/vscode-client/test/index.ts b/vscode-client/test/index.ts
deleted file mode 100644
index 9cd3b60..0000000
--- a/vscode-client/test/index.ts
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-// PLEASE DO NOT MODIFY / DELETE UNLESS YOU KNOW WHAT YOU ARE DOING
-//
-// This file is providing the test runner to use when running extension tests.
-// By default the test runner in use is Mocha based.
-//
-// You can provide your own test runner if you want to override it by exporting
-// a function run(testRoot: string, clb: (error:Error) => void) that the extension
-// host can call to run the tests. The test runner is expected to use console.log
-// to report the results back to the caller. When the tests are finished, return
-// a possible error to the callback or null if none.
-
-var testRunner = require('vscode/lib/testrunner');
-
-// You can directly control Mocha options by uncommenting the following lines
-// See https://github.com/mochajs/mocha/wiki/Using-mocha-programmatically#set-options for more info
-testRunner.configure({
- ui: 'tdd', // the TDD UI is being used in extension.test.ts (suite, test, etc.)
- useColors: true // colored output from test results
-});
-
-module.exports = testRunner;
diff --git a/vscode-client/tsconfig.json b/vscode-client/tsconfig.json
deleted file mode 100644
index 813049f..0000000
--- a/vscode-client/tsconfig.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "compilerOptions": {
- "target": "ES5",
- "module": "commonjs",
- "moduleResolution": "node",
- "outDir": "out",
- "noLib": true,
- "sourceMap": true
- },
- "exclude": [
- "node_modules",
- "server"
- ]
-}
\ No newline at end of file
diff --git a/vscode-client/typings/node.d.ts b/vscode-client/typings/node.d.ts
deleted file mode 100644
index 5ed7730..0000000
--- a/vscode-client/typings/node.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-///
\ No newline at end of file
diff --git a/vscode-client/typings/vscode-typings.d.ts b/vscode-client/typings/vscode-typings.d.ts
deleted file mode 100644
index 61430b1..0000000
--- a/vscode-client/typings/vscode-typings.d.ts
+++ /dev/null
@@ -1 +0,0 @@
-///