New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug #130: Support for JSON-RPC-like Debug Server Protocol's RPC #131

Merged
merged 5 commits into from Nov 29, 2017
View
@@ -1,3 +1,11 @@
/*******************************************************************************
* Copyright (c) 2016, 2017 TypeFox GmbH (http://www.typefox.io) and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
plugins {
id 'com.diffplug.gradle.oomph.ide' version '3.1.0'
}
@@ -28,8 +36,10 @@ oomphIde {
// explicitly adding the folders is an easy workaround.
addProjectFolder('../')
addProjectFolder('../org.eclipse.lsp4j')
addProjectFolder('../org.eclipse.lsp4j.debug')
addProjectFolder('../org.eclipse.lsp4j.generator')
addProjectFolder('../org.eclipse.lsp4j.jsonrpc')
addProjectFolder('../org.eclipse.lsp4j.jsonrpc.debug')
// setup theming
style {
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>org.eclipse.lsp4j.debug</name>
<comment>Java bindings for the Debug Server Protocol</comment>
<projects/>
<natures>
<nature>org.eclipse.buildship.core.gradleprojectnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments/>
</buildCommand>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments/>
</buildCommand>
<buildCommand>
<name>org.eclipse.buildship.core.gradleprojectbuilder</name>
<arguments/>
</buildCommand>
</buildSpec>
<linkedResources/>
</projectDescription>
@@ -0,0 +1,8 @@
build.commands=org.eclipse.jdt.core.javabuilder,org.eclipse.xtext.ui.shared.xtextBuilder
connection.gradle.distribution=GRADLE_DISTRIBUTION(WRAPPER)
connection.project.dir=..
containers=org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8/
derived.resources=.gradle,build
eclipse.preferences.version=1
natures=org.eclipse.jdt.core.javanature,org.eclipse.xtext.ui.shared.xtextNature
project.path=\:org.eclipse.lsp4j.debug
@@ -0,0 +1,4 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
@@ -0,0 +1,14 @@
# Debug Server Protocol
## To regenerate DebugProtocol.java
```
$ git clone git@github.com:jonahkichwacoders/vscode-debugadapter-node.git
$ git checkout dsp
$ npm install
$ npm run compile
$ # generate java and xtend files to default location
$ npm run generate
$ # Run Format and Organize Imports in Eclipse
```
@@ -0,0 +1,25 @@
/*******************************************************************************
* Copyright (c) 2017 Kichwa Coders Ltd. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
ext.title = 'LSP4J Debug'
description = 'Java bindings for the Debug Server Protocol'
dependencies {
compile project(":org.eclipse.lsp4j.generator")
compile project(":org.eclipse.lsp4j.jsonrpc.debug")
testCompile "junit:junit:$versions.junit"
}
jar {
from sourceSets.main.allJava
}
jar.manifest {
instruction 'Import-Package', "com.google.common.*;version=\"$versions.guava\""
instruction 'Import-Package', '*'
}
Oops, something went wrong.
ProTip! Use n and p to navigate between commits in a pull request.