This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener). These URLs were unable to be fixed. Please review them to see if they can be manually resolved. * [ ] http://gophercloud.io/docs/ (200) with 1 occurrences could not be migrated: ([https](https://gophercloud.io/docs/) result SSLHandshakeException). * [ ] http://man7.org/linux/man-pages/man7/glob.7.html (200) with 1 occurrences could not be migrated: ([https](https://man7.org/linux/man-pages/man7/glob.7.html) result AnnotatedConnectException). * [ ] http://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/ (200) with 1 occurrences could not be migrated: ([https](https://services.typefox.io/open-source/jenkins/job/lsp4j/job/master/lastStableBuild/artifact/build/p2-repository/) result SSLHandshakeException). These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended. * [ ] http://cfapps.io:1000/hello (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1000/hello ([https](https://cfapps.io:1000/hello) result ConnectTimeoutException). * [ ] http://cfapps.io:1001/hello (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1001/hello ([https](https://cfapps.io:1001/hello) result ConnectTimeoutException). * [ ] http://cfapps.io:1002/hello (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1002/hello ([https](https://cfapps.io:1002/hello) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/ (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1111/ ([https](https://cfapps.io:1111/) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/fromEnv/hello-world (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1111/fromEnv/hello-world ([https](https://cfapps.io:1111/fromEnv/hello-world) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/fromenvironment/hello-world (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1111/fromenvironment/hello-world ([https](https://cfapps.io:1111/fromenvironment/hello-world) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/fromlaunchconfig/hello-world (ConnectTimeoutException) with 10 occurrences migrated to: https://cfapps.io:1111/fromlaunchconfig/hello-world ([https](https://cfapps.io:1111/fromlaunchconfig/hello-world) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/frompropsfile/hello-world (ConnectTimeoutException) with 8 occurrences migrated to: https://cfapps.io:1111/frompropsfile/hello-world ([https](https://cfapps.io:1111/frompropsfile/hello-world) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/hello-world (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1111/hello-world ([https](https://cfapps.io:1111/hello-world) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/inner-class (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1111/inner-class ([https](https://cfapps.io:1111/inner-class) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/inner-inner-class (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1111/inner-inner-class ([https](https://cfapps.io:1111/inner-inner-class) result ConnectTimeoutException). * [ ] http://cfapps.io:1111/mockedpath/hello-world (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:1111/mockedpath/hello-world ([https](https://cfapps.io:1111/mockedpath/hello-world) result ConnectTimeoutException). * [ ] http://cfapps.io:999/find (ConnectTimeoutException) with 14 occurrences migrated to: https://cfapps.io:999/find ([https](https://cfapps.io:999/find) result ConnectTimeoutException). * [ ] http://cfapps.io:999/goodbye (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:999/goodbye ([https](https://cfapps.io:999/goodbye) result ConnectTimeoutException). * [ ] http://cfapps.io:999/greetings (ConnectTimeoutException) with 4 occurrences migrated to: https://cfapps.io:999/greetings ([https](https://cfapps.io:999/greetings) result ConnectTimeoutException). * [ ] http://cfapps.io:999/hello (ConnectTimeoutException) with 4 occurrences migrated to: https://cfapps.io:999/hello ([https](https://cfapps.io:999/hello) result ConnectTimeoutException). * [ ] http://cfapps.io:999/mockedpath/greetings (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:999/mockedpath/greetings ([https](https://cfapps.io:999/mockedpath/greetings) result ConnectTimeoutException). * [ ] http://cfapps.io:999/mockedpath/hello (ConnectTimeoutException) with 2 occurrences migrated to: https://cfapps.io:999/mockedpath/hello ([https](https://cfapps.io:999/mockedpath/hello) result ConnectTimeoutException). * [ ] http://cloud-controller-ng.service.cf.internal:9022 (UnknownHostException) with 1 occurrences migrated to: https://cloud-controller-ng.service.cf.internal:9022 ([https](https://cloud-controller-ng.service.cf.internal:9022) result UnknownHostException). * [ ] http://org.eclipse.ui.intro/execute?command= (UnknownHostException) with 2 occurrences migrated to: https://org.eclipse.ui.intro/execute?command= ([https](https://org.eclipse.ui.intro/execute?command=) result UnknownHostException). * [ ] http://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly (403) with 1 occurrences migrated to: https://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly ([https](https://dist.springsource.com/snapshot/TOOLS/sts4-language-server-integrations/nightly) result 403). * [ ] http://foobar.com/munhings.tar.gz (404) with 1 occurrences migrated to: https://foobar.com/munhings.tar.gz ([https](https://foobar.com/munhings.tar.gz) result 404). These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended. * [ ] http://dist.springsource.com/snapshot/STS4/nightly-distributions.html with 5 occurrences migrated to: https://dist.springsource.com/snapshot/STS4/nightly-distributions.html ([https](https://dist.springsource.com/snapshot/STS4/nightly-distributions.html) result 200). * [ ] http://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html with 1 occurrences migrated to: https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html ([https](https://docs.aws.amazon.com/AmazonS3/latest/dev/acl-overview.html) result 200). * [ ] http://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to: https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd) result 200). * [ ] http://stackoverflow.com with 1 occurrences migrated to: https://stackoverflow.com ([https](https://stackoverflow.com) result 200). * [ ] http://stackoverflow.com/questions/6132529/antlr-parsing-java-properties with 1 occurrences migrated to: https://stackoverflow.com/questions/6132529/antlr-parsing-java-properties ([https](https://stackoverflow.com/questions/6132529/antlr-parsing-java-properties) result 200). * [ ] http://stackoverflow.com/tags/spring-tools-4 with 1 occurrences migrated to: https://stackoverflow.com/tags/spring-tools-4 ([https](https://stackoverflow.com/tags/spring-tools-4) result 200). * [ ] http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html with 1 occurrences migrated to: https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html ([https](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html) result 200). * [ ] http://www.apple.com/DTDs/PropertyList-1.0.dtd with 7 occurrences migrated to: https://www.apple.com/DTDs/PropertyList-1.0.dtd ([https](https://www.apple.com/DTDs/PropertyList-1.0.dtd) result 200). * [ ] http://www.eclipse.org/legal/epl-v10.html with 64 occurrences migrated to: https://www.eclipse.org/legal/epl-v10.html ([https](https://www.eclipse.org/legal/epl-v10.html) result 200). * [ ] http://www.java.com/en/download/help/error_hotspot.xml with 1 occurrences migrated to: https://www.java.com/en/download/help/error_hotspot.xml ([https](https://www.java.com/en/download/help/error_hotspot.xml) result 200). * [ ] http://www.springframework.org/schema/beans/spring-beans.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/beans/spring-beans.xsd ([https](https://www.springframework.org/schema/beans/spring-beans.xsd) result 200). * [ ] http://www.springframework.org/schema/context/spring-context.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/context/spring-context.xsd ([https](https://www.springframework.org/schema/context/spring-context.xsd) result 200). * [ ] http://www.springframework.org/schema/data/jpa/spring-jpa.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/data/jpa/spring-jpa.xsd ([https](https://www.springframework.org/schema/data/jpa/spring-jpa.xsd) result 200). * [ ] http://www.springframework.org/schema/tx/spring-tx.xsd with 1 occurrences migrated to: https://www.springframework.org/schema/tx/spring-tx.xsd ([https](https://www.springframework.org/schema/tx/spring-tx.xsd) result 200). * [ ] http://contributor-covenant.org with 1 occurrences migrated to: https://contributor-covenant.org ([https](https://contributor-covenant.org) result 301). * [ ] http://contributor-covenant.org/version/1/3/0/ with 1 occurrences migrated to: https://contributor-covenant.org/version/1/3/0/ ([https](https://contributor-covenant.org/version/1/3/0/) result 301). These URLs were intentionally ignored. * http://localhost:3000 with 8 occurrences * http://localhost:8080/greeting with 1 occurrences * http://localhost:9000 with 6 occurrences * http://maven.apache.org/POM/4.0.0 with 4 occurrences * http://www.springframework.org/schema/beans with 4 occurrences * http://www.springframework.org/schema/context with 2 occurrences * http://www.springframework.org/schema/data/jpa with 2 occurrences * http://www.springframework.org/schema/p with 1 occurrences * http://www.springframework.org/schema/tx with 2 occurrences * http://www.w3.org/1999/XSL/Transform with 4 occurrences * http://www.w3.org/2001/XMLSchema-instance with 3 occurrences Create https URLs for RMs not on local host
2.2 KiB
VS Code Language Server Developer notes
Getting and installing latest snapshot
The latest snapshot .vsix file can be downloaded from here:
https://dist.springsource.com/snapshot/STS4/nightly-distributions.html
You should get the file called vscode-concourse-<version>.vsix.
To install it in vscode follow these steps:
- open vscode
- Press
CTRL-SHIFT-Pand type 'vsix' in the search box - Select the
Extensions: Install from vsix filecommand - Install the
.vsixyou downloaded earlier.
IMPORTANT: Take care not to install multiple versions of the extension at once. Vscode will not complain but it leads to unpredictable outcomes. So if you have a prior version already installed make sure to uninstall it first!
Bulding and Running
This project consists of three pieces:
- a vscode-extension which is a language-server client implemented in TypeScript.
- commons-vscode: a local npm module with some utilities implemented in TypeScript.
- a language server implemented in Java.
To build all these pieces you normally only need to run:
npm install
However, the first time you build it might fail trying to
find the commons-vscode module on npm central. Once we publish a stable
version of that module on npm central that will no longer be a problem.
Until that time, you can work around this by doing a one time manual
run of the preinstall script prior to running npm install:
./scripts/preinstall.sh
npm install
Now you can open the client-app in vscode. From the root of this project.
code .
To launch the language server in a vscode runtime, press F5.
Debugging
To debug the language server, open lib/Main.ts and edit to set the
DEBUG option to true. When you launch the app next by pressing
F5 it will launch with debug options being passed to the JVM.
You can then connect a 'Remote Java' Eclipse debugger on port 8000.
Packaging as a vscode extension
First make sure the stuff is all built locally:
./scripts/preinstall.sh # only needed if this is the first build.
npm install
Then package it:
npm run vsce-package
This produces a .vsix file which you can install directly into vscode.