Skip to content
Merged
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
2 changes: 1 addition & 1 deletion bundles/nl.asml.matala.product/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.apache.commons.logging,\
org.apache.log4j,\
com.google.gson,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ Workflow {
junitSupport = {
junitVersion = "5"
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateXtendStub = true
}
fragment = nl.esi.xtext.lsp.generator.lezer.LezerGrammarFragment {
fragment = nl.esi.xplus.xtext.generator.lezer.LezerGrammarFragment {
absolutePath = "${rootPath}/nl.asml.matala.product/target/lezer-grammar"
override = true
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1001,10 +1001,15 @@ class Utils
return String.join("\n", result)
}

static def String escapeAndLimitText(String text, int limit) {
if (text === null) {
static def String escapeAndLimitText(String inputText, int limit) {
if (inputText === null) {
return ""
}
var text = inputText
if (text.length() > limit) {
text = text.substring(0, limit - 3) + "..."
}

// Escape special characters for Python
var escaped = text.trim()
.replaceAll("\\s+", " ")
Expand All @@ -1013,10 +1018,6 @@ class Utils
.replace("\n", "")
.replace("\r", "")
.replace("\t", " ")
// Limit to specified length with "..." suffix if truncated
if (escaped.length() > limit) {
escaped = escaped.substring(0, limit - 3) + "..."
}
return escaped
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.objectweb.asm,\
org.apache.commons.logging,\
org.apache.log4j,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Workflow {
generateDeprecationValidation = true
}
generator = null
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateXtendStub = true
}
junitSupport = {
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.assertthat/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.objectweb.asm,\
org.apache.commons.logging,\
org.apache.log4j,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Workflow {
junitSupport = {
junitVersion = "5"
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateXtendStub = true
}
}
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.behavior.scl/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.objectweb.asm,\
org.apache.commons.logging,\
org.apache.log4j,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Workflow {
generator = {
generateStub = true
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateStub = true
}
junitSupport = {
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.causalgraph/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.objectweb.asm,\
org.apache.log4j,\
org.apache.commons.logging,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Workflow {
generator = {
generateStub = true
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateStub = true
}
quickFixProvider = {
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.constraints/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.apache.commons.logging,\
org.apache.log4j,\
com.ibm.icu,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Workflow {
generator = {
generateStub = true
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateStub = true
}
junitSupport = {
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.inputspecification/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.apache.commons.logging,\
org.apache.log4j,\
com.ibm.icu,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Workflow {
validator = {
// composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateXtendStub = true
}
}
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.project.standard/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.apache.commons.logging,\
org.apache.log4j,\
com.ibm.icu,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Workflow {
formatter = formatting.Formatter2Fragment2 {
generateStub = true
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateStub = true
}
junitSupport = {
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.scenarios/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.apache.commons.logging,\
org.apache.log4j,\
com.ibm.icu,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Workflow {
validator = {
// composedCheck = "org.eclipse.xtext.validation.NamesAreUniqueValidator"
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateXtendStub = true
}
}
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.steps/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.apache.commons.logging,\
org.apache.log4j,\
com.ibm.icu,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ Workflow {
generator = {
generateStub = true
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateStub = true
}
junitSupport = {
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.systemconfig/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.apache.commons.logging,\
org.apache.log4j,\
com.ibm.icu,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ Workflow {
junitSupport = {
junitVersion = "5"
}
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateXtendStub = true
}
}
Expand Down
2 changes: 1 addition & 1 deletion bundles/nl.esi.comma.testspecification/build.properties
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ additional.bundles = org.eclipse.xtext.xbase,\
org.objectweb.asm,\
org.apache.commons.logging,\
org.apache.log4j,\
nl.esi.xtext.lsp.generator
nl.esi.xplus.xtext.generator
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Workflow {
generateDeprecationValidation = true
}
generator = null
contentAssist = nl.esi.xtext.lsp.generator.ide.contentassist.IdeContentAssistFragment2 {
contentAssist = nl.esi.xplus.xtext.generator.ide.contentassist.IdeContentAssistFragment2 {
generateXtendStub = true
}
junitSupport = {
Expand Down
1 change: 1 addition & 0 deletions releng/nl.esi.comma.target/nl.esi.comma.target.target
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@
<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="nl.esi.xplus.lsp.feature.feature.group" version="0.0.0"/>
<unit id="nl.esi.xplus.ui.feature.feature.group" version="0.0.0"/>
<unit id="nl.esi.xplus.xtext.generator" version="0.0.0"/>
<repository location="https://TNO.github.io/XPlus/nightly/"/>
</location>
</locations>
Expand Down
Loading