diff --git a/CHANGELOG.adoc b/CHANGELOG.adoc index 37d4d7bbe..0295844b7 100644 --- a/CHANGELOG.adoc +++ b/CHANGELOG.adoc @@ -6,6 +6,8 @@ This file documents all notable changes to https://github.com/devonfw/IDEasy[IDE Release with new features and bugfixes: + +* https://github.com/devonfw/IDEasy/issues/646[#646]: Add variable for intellij to disable log output * https://github.com/devonfw/IDEasy/issues/708[#708]: Open vscode in workspace path * https://github.com/devonfw/IDEasy/issues/608[#608]: Enhanced error messages. Now logs missing command output and error messages diff --git a/cli/src/main/java/com/devonfw/tools/ide/variable/IdeVariables.java b/cli/src/main/java/com/devonfw/tools/ide/variable/IdeVariables.java index 62ba32ab0..a830a8286 100644 --- a/cli/src/main/java/com/devonfw/tools/ide/variable/IdeVariables.java +++ b/cli/src/main/java/com/devonfw/tools/ide/variable/IdeVariables.java @@ -31,6 +31,9 @@ public interface IdeVariables { /** {@link VariableDefinition} for list of tools to install by default. */ VariableDefinitionStringList IDE_TOOLS = new VariableDefinitionStringList("IDE_TOOLS", "DEVON_IDE_TOOLS", c -> List.of("mvn", "npm")); + /** {@link VariableDefinition} for enabling logs of ides. */ + VariableDefinitionBoolean IDE_ENABLE_CONSOLE_LOG = new VariableDefinitionBoolean("IDE_ENABLE_CONSOLE_LOG", null, c -> true); + /** {@link VariableDefinition} for list of IDE tools to create start scripts for. */ VariableDefinitionStringList CREATE_START_SCRIPTS = new VariableDefinitionStringList("CREATE_START_SCRIPTS", "DEVON_CREATE_START_SCRIPTS"); @@ -81,7 +84,8 @@ public interface IdeVariables { c -> Boolean.TRUE); /** A {@link Collection} with all pre-defined {@link VariableDefinition}s. */ - Collection> VARIABLES = List.of(PATH, HOME, WORKSPACE_PATH, IDE_HOME, IDE_ROOT, WORKSPACE, IDE_TOOLS, CREATE_START_SCRIPTS, + Collection> VARIABLES = List.of(PATH, HOME, WORKSPACE_PATH, IDE_HOME, IDE_ROOT, WORKSPACE, IDE_TOOLS, IDE_ENABLE_CONSOLE_LOG, + CREATE_START_SCRIPTS, IDE_MIN_VERSION, MVN_VERSION, M2_REPO, DOCKER_EDITION, MVN_BUILD_OPTS, NPM_BUILD_OPTS, GRADLE_BUILD_OPTS, YARN_BUILD_OPTS, JASYPT_OPTS, MAVEN_ARGS, PROJECT_NAME, IDE_VARIABLE_SYNTAX_LEGACY_SUPPORT_ENABLED); diff --git a/documentation/variables.adoc b/documentation/variables.adoc index ef203146c..7d22a1462 100644 --- a/documentation/variables.adoc +++ b/documentation/variables.adoc @@ -18,6 +18,7 @@ Please note that we are trying to minimize any potential side-effect from `IDEas |`PATH`|`$IDE_HOME/software/java:...:$PATH`|You system path is adjusted by `ide` link:cli.adoc[command]. |`HOME_DIR`|`~`|The platform independent home directory of the current user. In some edge-cases (e.g. in cygwin) this differs from `~` to ensure a central home directory for the user on a single machine in any context or environment. |`IDE_TOOLS`|`(java mvn node npm)`|List of tools that should be installed by default on project creation. +|`IDE_ENABLE_CONSOLE_LOG`|`true`|Toggle to enable or disable whether the log output of IDEs is printed into the console. |`CREATE_START_SCRIPTS`|`(eclipse vscode)`|List of IDEs that shall be used by developers in the project and therefore start-scripts are created on setup. |*`WORKSPACE`*|`main`|The link:workspaces.adoc[workspace] you are currently in. Defaults to `main` if you are not inside a link:workspaces.adoc[workspace]. Never set this variable in any `ide.properties` file. |`WORKSPACE_PATH`|`$IDE_HOME/workspaces/$WORKSPACE`|Absolute path to current link:workspaces.adoc[workspace]. Never set this variable in any `ide.properties` file.