Skip to content

Commit a0afd18

Browse files
committed
Merge branch 'main' into dev (because of README)
2 parents e4ea121 + 7c17f44 commit a0afd18

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

README.md

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,17 @@
33

44
# Cider Project Manager
55

6-
Cider offers some User commands that are useful to manage projects. In addition is also offers an API.
6+
Cider offers some User commands useful for managing projects. It also offers an API.
77

8-
It cooperates with [Tatin](https://github.com/aplteam.Cider "Link to Cider on GitHub").
8+
It cooperates with [Tatin](https://github.com/aplteam/Tatin "Link to the Tatin repository on GitHub").
99

1010

1111
## Requirements
1212

1313
Cider requires
1414

1515
* Dyalog 18.0 Unicode or better
16-
* Link 3.0.8 or better
16+
* Link 3.0.8 or better (part of a standard Dyalog installation from 18.2 onwards)
1717
* The Tatin package manager (because Cider itself is a Tatin package)
1818

1919

@@ -40,28 +40,29 @@ These commands are available:
4040

4141
## Documentation
4242

43-
In this document only `OpenProject` is discussed in detail because that is the main command.
43+
Only `OpenProject` is discussed in detail in this document because it is the main command.
4444

45-
For all other commands only basic information is provided, but there is a document "Cider-User-Guide.html" available that discusses all features in detail.
45+
For all other commands only basic information is provided. A comprehensive User Guide is available as an HTML document, see [Cider-User-Guide.html](https://html-preview.github.io/?url=https://github.com/aplteam/Cider/blob/main/html/Cider-User-Guide.html).
4646

4747
The user command help is also pretty exhaustive.
4848

49-
Regarding the API there is a document "Cider-API-Reference.html" available.
50-
49+
Regarding the API, the document [Cider-API-Reference.html](https://html-preview.github.io/?url=https://github.com/aplteam/Cider/blob/main/html/Cider-API-Reference.html) is available.
5150

5251
## Installation
5352

54-
In version 19.0 Cider is part of a standard installation of Dyalog, although it needs activation before it is available. Therefore you only have to worry about installing it with version 18.0 and 18.2. Cider does not run on earlier versions of Dyalog.
53+
In version 19.0 Cider is part of a standard installation of Dyalog, although it needs activation before it is available. Therefore you only have to worry about installing it with versions 18.0 and 18.2. Cider does not run on earlier versions of Dyalog.
54+
55+
Cider can be activated with `]Activate Cider` (after first activating Tatin in a similar way because Tatin is required by Cider) or by activating Cider and Tatin in one step with `]Activate all`.
5556

5657
With version 0.23 Cider became a Tatin package. That simplifies the installation process: all you need to do is issue this command:
5758

5859
```
5960
]Tatin.InstallPackages [tatin]Cider <targetFolder>
6061
```
6162

62-
If it is installed into a folder that is scanned for user command scripts by Dyalog, then when a new instance of Dyalog is started `]Cider` will be available. For an instance that was already running when Cider was installed execute `]UReset`.
63+
If it is installed into a folder that is scanned for user command scripts by Dyalog, then when a new instance of Dyalog is started,`]Cider` will be available. For an instance that was already running when Cider was installed, execute `]UReset`.
6364

64-
If it installed into a folder that is not scanned for user command scripts you need to add that folder to the `cmddir` parameter of SALT.
65+
If it is installed into a folder that is not scanned for user command scripts, you need to add that folder to the `cmddir` parameter of SALT.
6566

6667
Example:
6768

@@ -71,7 +72,7 @@ Example:
7172

7273
_**Watch out for the `,` in front of the path: it means that the folder is added!_**
7374

74-
However, the API only becomes available after any Cider user command was executed. `]Cider.Version` is enough for that.
75+
However, the API only becomes available after executing any Cider user command. `]Cider.Version` is enough for that.
7576

7677
If that is not good enough for you, this article explains how to load user commands into `⎕SE` at a very early stage: <https://aplwiki.com/wiki/Dyalog_User_Commands>
7778

@@ -89,10 +90,10 @@ Accepts an optional parameter that must be one of:
8990
* A folder that hosts a file `cider.config`
9091
* An alias that points to such a folder
9192

92-
If no such parameter is specified then the current directory is searched for a file `cider.config`.
93+
If no such parameter is specified, then the current directory is searched for a file `cider.config`.
9394

9495
* If such a file exists the user is asked whether she really wants to open that project
95-
* If no such file exists then under Windows a dialog box is opened that allows the user to navigate to a Cider project
96+
* If no such file exists, then under Windows a dialog box is opened that allows the user to navigate to a Cider project
9697

9798
On non-Windows platforms an error is thrown.
9899

@@ -106,21 +107,22 @@ Once a folder is established that holds a Cider config file, the user command pe
106107
1. Brings all code and variables into the project space
107108
1. Checks whether any Tatin install folders do not actually have any packages installed but have a non-empty dependency file.
108109

109-
This may happen in case the package install folders are not uploaded to, say, GitHub (`.gitignore`) and the project was just downloaded.
110-
1. Asks the user whether Cider should check all Tatin packages (if there are any) for later versions
111-
1. Loads all Tatin packages specified in the file `cider.config`, if any; see `dependencies.tatin` and `dependencies_dev.tatin`
112-
1. Injects a namespace `CiderConfig` into the project space and...
110+
This may happen if the package install folders are not uploaded to, say, GitHub (`.gitignore`) and the project has just been downloaded.
111+
1. Ask the user whether Cider should check all Tatin packages (if there are any) for later versions
112+
1. Load all Tatin packages specified in the file `cider.config`, if any; see `dependencies.tatin` and `dependencies_dev.tatin`
113+
1. Inject a namespace `CiderConfig` into the project space and...
113114
* populates it with the contents of the configuration file as APL arrays
114115
* adds a variable `HOME` that remembers the path the project was loaded from
115-
1. Injects a namespace `TatinVars` in case the project would end up as a package
116-
1. Checks whether the project's config file does carry a non-empty value for `init`. If that's the case it must be a function that is then called by Cider, typically for initializing the project
116+
1. Inject a namespace `TatinVars` in case the project ends up as a package
117+
1. Check whether the project's config file does carry a non-empty value for `init`. If that's the case, it must be a function that is then called by Cider, typically for initializing the project
117118
1. If there is a variable `ToDo` in the root of the project, and the variable is not empty, then this variable is printed to the session
118-
1. If the project is managed by Git then Cider executes the `git status` command on the project folder and puts the result on view
119+
1. Cider can check for Dropbox conflicts at this stage (configurable)
120+
1. If the project is managed by Git, then Cider executes the `git status` command on the project folder and puts the result on view (configurable)
119121

120122
Notes:
121123

122124
* The name of the project space is defined in the Cider config file, but this can be overwritten with the `-projectSpace=` option
123-
* In case the `dependencies.tatin` and `dependencies_dev.tatin` parameter specifies one or more packages then the references pointing to those Tatin packages are all established in `projectSpace` by default.
125+
* In case the `dependencies.tatin` and `dependencies_dev.tatin` parameter specifies one or more packages, then the references pointing to those Tatin packages are all established in `projectSpace` by default.
124126

125127
However, this can be overwritten by specifying a different target space by adding:
126128

@@ -141,7 +143,7 @@ Notes:
141143

142144
* All principal packages found in `packages/` within the project folder are loaded into the project space because that is the default, and the default was not overwritten
143145

144-
* All principal packages found in `packages_dev/` within the project folder are loaded into the project's sub namespace `TestCases` within the project space because the default _was_ overwritten
146+
* All principal packages found in `packages_dev/` within the project folder are loaded into the project's sub-namespace `TestCases` within the project space because the default _was_ overwritten
145147

146148
### `CloseProject`
147149

@@ -160,12 +162,12 @@ Creates a file `cider.config` in that folder.
160162

161163
### `Config`
162164

163-
Allow the user to edit Cider's global config file .
165+
Allow the user to edit Cider's global config file.
164166

165167

166168
### `Help`
167169

168-
Offers the user to view selected or all HTML documents with her standard browser.
170+
Offers the user the ability to view selected or all HTML documents with her standard browser.
169171

170172
### `AddNuGetDependencies`
171173

@@ -212,4 +214,4 @@ Returns a three-item-vector with "Name", "Version number" and "Version date".
212214

213215
### `UpdateCider`
214216

215-
Update Cider in case there is a later version available.
217+
Update Cider in case a later version is available as a package on [https://tatin.dev](https://tatin.dev).

0 commit comments

Comments
 (0)