-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-4 Working on the workspace configurations usage
Signed-off-by: Uladzislau <[email protected]>
- Loading branch information
Showing
29 changed files
with
1,499 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-all.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
/* | ||
* Copyright (c) 2024 IBA Group. | ||
* | ||
* This program and the accompanying materials are made available under the terms of the | ||
* Eclipse Public License v2.0 which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Contributors: | ||
* IBA Group | ||
* Zowe Community | ||
*/ | ||
|
||
package org.zowe.cobol | ||
|
||
/** | ||
* Various config section options that could be found across configuration files | ||
* @property section the section string representation | ||
*/ | ||
enum class Sections(val section: String) { | ||
DIALECTS_SECTION("cobol-lsp.dialects"), | ||
DIALECT_REGISTRY("cobol-lsp.dialect.registry"), | ||
DIALECT_LIBS("cobol-lsp.dialect.libs"), | ||
CPY_SECTION("cobol-lsp.cpy-manager"), | ||
CPY_LOCAL_PATH("cobol-lsp.cpy-manager.paths-local"), | ||
CPY_EXTENSIONS("cobol-lsp.cpy-manager.copybook-extensions"), | ||
CPY_FILE_ENCODING("cobol-lsp.cpy-manager.copybook-file-encoding"), | ||
SQL_BACKEND("cobol-lsp.target-sql-backend"), | ||
COMPILER_OPTIONS("cobol-lsp.compiler.options"), | ||
LOGGIN_LEVEL_ROOT("cobol-lsp.logging.level.root"), | ||
LOCALE("cobol-lsp.locale"), | ||
COBOL_PROGRAM_LAYOUT("cobol-lsp.cobol.program.layout"), | ||
SUBROUTINE_LOCAL_PATH("cobol-lsp.subroutine-manager.paths-local"), | ||
CICS_TRANSLATOR("cobol-lsp.cics.translator"), | ||
UNRECOGNIZED("unrecognized-section"); | ||
|
||
companion object { | ||
operator fun invoke(section: String): Sections { | ||
return entries.find { it.section == section } ?: UNRECOGNIZED | ||
} | ||
} | ||
|
||
override fun toString(): String { | ||
return section | ||
} | ||
} |
Oops, something went wrong.