Skip to content

Commit f764f54

Browse files
authored
updated changeWorkspace content
1 parent 13c12bc commit f764f54

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

documentation/Functions.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,20 @@ Learn more about the workspace directory and working directory on [Structure](ht
107107

108108
109109
### changeWorkspace <a name="changeWorkspace"></a>
110+
This function is used to change the workspace of the current tutorial.
110111
#### parameter
111-
1. path to a new workspace (relative to working directory)
112+
This function has only one parameter
113+
1. First parameter:
114+
- **Required**
115+
- **type**- String
116+
- **Description**- path to a new workspace (relative to working directory)
112117
#### example
113118
changeWorkspace("devonfw/workspaces/project")
114119
will set the workspace directory to "[working directory]/devonfw/workspaces/project"
115120

116-
Learn more about the workspace directory and working directory on [Structure](https://github.com/devonfw-tutorials/tutorial-compiler/wiki/Structure)
121+
Learn more about the workspace directory and working directory on [Structure](https://github.com/devonfw-tutorials/tutorial-compiler/wiki/Structure).
122+
123+
Note: No background scripts are running and katacoda user don't have to manually execute them.
117124

118125
### executeCommand <a name="executeCommand"></a>
119126
#### parameter
@@ -433,4 +440,4 @@ addSetupScript("assets/createProjectScript.sh", "assets/createProjectScript.ps1"
433440
1. Path of the file to be opened (relative path to the workspace directory)
434441

435442
#### example
436-
openFile("cobigenexample/core/src/main/java/com/example/application/cobigenexample/customermanagement/dataaccess/api/CustomerEntity.java")
443+
openFile("cobigenexample/core/src/main/java/com/example/application/cobigenexample/customermanagement/dataaccess/api/CustomerEntity.java")

0 commit comments

Comments
 (0)