Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions build/com.liferay.ide-repository/studio.product
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ to distribution rights of the Software.
<feature id="org.eclipse.wst.xml_ui.feature" installMode="root"/>
<feature id="org.eclipse.wst.xsl.feature" installMode="root"/>
<feature id="org.eclipse.equinox.core.feature" installMode="root"/>
<feature id="org.eclipse.tm4e.feature" installMode="root"/>
</features>

<configurations>
Expand Down
12 changes: 12 additions & 0 deletions build/parent/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
<ivyde-site>https://dist.apache.org/repos/dist/release/ant/ivyde/updatesite/ivyde-2.2.0.final-201311091524-RELEASE/</ivyde-site>
<liferay-ide-swtbot-testing-site>http://files.liferay.org.es/staged/public-files/liferay-ide/unstable/build/com.liferay.ide.testing-repository/target/repository/</liferay-ide-swtbot-testing-site>
<liferay-ide-tag>ga2</liferay-ide-tag>
<lsp4e-site>https://download.eclipse.org/lsp4e/releases/0.9.0/</lsp4e-site>
<m2e-site>http://download.eclipse.org/technology/m2e/releases/1.13/1.13.0.20190716-1624/</m2e-site>
<m2e-wtp-site>http://download.eclipse.org/m2e-wtp/releases/1.4/1.4.2.20190530-0057/</m2e-wtp-site>
<m2e-archiver-site>http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.17.2/N/0.17.2.201606141937/</m2e-archiver-site>
Expand All @@ -49,6 +50,7 @@
<sign-apps>false</sign-apps>
<swtbot-site>http://download.eclipse.org/technology/swtbot/releases/2.8.0/</swtbot-site>
<tm-site>https://download.eclipse.org/tm/updates/4.5.0/repository/</tm-site>
<tm4e-site>https://download.eclipse.org/tm4e/releases/0.3.4/</tm4e-site>
<tycho-extras-version>1.0.0</tycho-extras-version>
<tycho-m2e-site>http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-tycho/0.9.0/N/0.9.0.201811261502/</tycho-m2e-site>
<tycho-packaging-format>yyyyMMddHHmm'-ga2'</tycho-packaging-format>
Expand All @@ -71,6 +73,11 @@
<layout>p2</layout>
<url>${osgi-bundles-site}</url>
</repository>
<repository>
<id>lsp4e</id>
<layout>p2</layout>
<url>${lsp4e-site}</url>
</repository>
<repository>
<id>eclipse-xml-search</id>
<layout>p2</layout>
Expand Down Expand Up @@ -121,6 +128,11 @@
<layout>p2</layout>
<url>${tm-site}</url>
</repository>
<repository>
<id>tm4e</id>
<layout>p2</layout>
<url>${tm4e-site}</url>
</repository>
<repository>
<id>swtbot</id>
<layout>p2</layout>
Expand Down
8 changes: 8 additions & 0 deletions tools/features/com.liferay.ide.eclipse.tools/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -284,4 +284,12 @@
unpack="false"
version="0.0.0"
/>

<plugin
download-size="0"
id="com.liferay.ide.lsp.ui"
install-size="0"
unpack="false"
version="0.0.0"
/>
</feature>
60 changes: 60 additions & 0 deletions tools/features/com.liferay.ide.hidden/feature.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@
version="0.0.0"
/>

<includes
id="org.eclipse.tm4e.feature"
version="0.0.0"
/>

<plugin
download-size="0"
id="com.google.guava"
Expand Down Expand Up @@ -142,4 +147,59 @@
version="5.2.0.v20170126-0011"
/>

<plugin
download-size="0"
id="org.eclipse.lsp4e"
install-size="0"
unpack="false"
version="0.0.0"
/>

<plugin
download-size="0"
id="org.eclipse.lsp4e.debug"
install-size="0"
unpack="false"
version="0.0.0"
/>

<plugin
download-size="0"
id="org.eclipse.lsp4j"
install-size="0"
unpack="false"
version="0.0.0"
/>

<plugin
download-size="0"
id="org.eclipse.lsp4j.jsonrpc"
install-size="0"
unpack="false"
version="0.0.0"
/>

<plugin
download-size="0"
id="org.eclipse.lsp4j.debug"
install-size="0"
unpack="false"
version="0.0.0"
/>

<plugin
download-size="0"
id="org.eclipse.lsp4j.jsonrpc.debug"
install-size="0"
unpack="false"
version="0.0.0"
/>

<plugin
download-size="0"
id="org.eclipse.xtext.xbase.lib"
install-size="0"
unpack="false"
version="0.0.0"
/>
</feature>
Original file line number Diff line number Diff line change
Expand Up @@ -480,6 +480,10 @@ public static IPath getWorkspaceRootLocation() {
return getWorkspaceRoot().getLocation();
}

public static String getWorkspaceRootLocationString() {
return getWorkspaceRootLocation().toOSString();
}

public static Object invoke(String methodName, Object object, Class<?>[] argTypes, Object[] args)
throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException,
SecurityException {
Expand Down
7 changes: 7 additions & 0 deletions tools/plugins/com.liferay.ide.lsp.ui/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
<classpathentry kind="src" path="src/"/>
<classpathentry kind="output" path="target/classes"/>
</classpath>
2 changes: 2 additions & 0 deletions tools/plugins/com.liferay.ide.lsp.ui/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
/.settings/
/.project
15 changes: 15 additions & 0 deletions tools/plugins/com.liferay.ide.lsp.ui/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Manifest-Version: 1.0
Bundle-ActivationPolicy: lazy
Bundle-Activator: com.liferay.ide.lsp.ui.languageserver.LiferayLSPUIPlugin
Bundle-ManifestVersion: 2
Bundle-Name: %bundle.name
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-SymbolicName: com.liferay.ide.lsp.ui;singleton:=true
Bundle-Version: 3.7.1.qualifier
Bundle-Vendor: %bundle.vendor
Require-Bundle: com.liferay.ide.core,
org.eclipse.core.resources,
org.eclipse.core.runtime,
org.eclipse.lsp4e,
org.eclipse.lsp4j,
org.eclipse.ui.workbench
7 changes: 7 additions & 0 deletions tools/plugins/com.liferay.ide.lsp.ui/build.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source.. = src/
output.. = target/classes/
bin.includes = META-INF/,\
.,\
plugin.xml,\
grammars/,\
lib/
113 changes: 113 additions & 0 deletions tools/plugins/com.liferay.ide.lsp.ui/grammars/ini/ini.tmLanguage.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,113 @@
{
"information_for_contributors": [
"This file has been converted from https://github.com/textmate/ini.tmbundle/blob/master/Syntaxes/Ini.plist",
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
"Once accepted there, we are happy to receive an update request."
],
"name": "Ini",
"patterns": [
{
"begin": "(^[ \\t]+)?(?=#)",
"beginCaptures": {
"1": {
"name": "punctuation.whitespace.comment.leading.ini"
}
},
"end": "(?!\\G)",
"patterns": [
{
"begin": "#",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.ini"
}
},
"end": "\\n",
"name": "comment.line.number-sign.ini"
}
]
},
{
"begin": "(^[ \\t]+)?(?=;)",
"beginCaptures": {
"1": {
"name": "punctuation.whitespace.comment.leading.ini"
}
},
"end": "(?!\\G)",
"patterns": [
{
"begin": ";",
"beginCaptures": {
"0": {
"name": "punctuation.definition.comment.ini"
}
},
"end": "\\n",
"name": "comment.line.semicolon.ini"
}
]
},
{
"captures": {
"1": {
"name": "keyword.other.definition.ini"
},
"2": {
"name": "punctuation.separator.key-value.ini"
}
},
"match": "\\b([a-zA-Z0-9_.-]+)\\b\\s*(=)"
},
{
"captures": {
"1": {
"name": "punctuation.definition.entity.ini"
},
"3": {
"name": "punctuation.definition.entity.ini"
}
},
"match": "^(\\[)(.*?)(\\])",
"name": "entity.name.section.group-title.ini"
},
{
"begin": "'",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.ini"
}
},
"end": "'",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.ini"
}
},
"name": "string.quoted.single.ini",
"patterns": [
{
"match": "\\\\.",
"name": "constant.character.escape.ini"
}
]
},
{
"begin": "\"",
"beginCaptures": {
"0": {
"name": "punctuation.definition.string.begin.ini"
}
},
"end": "\"",
"endCaptures": {
"0": {
"name": "punctuation.definition.string.end.ini"
}
},
"name": "string.quoted.double.ini"
}
],
"scopeName": "source.ini",
"version": "https://github.com/textmate/ini.tmbundle/commit/2af0cbb0704940f967152616f2f1ff0aae6287a6"
}
Loading