Skip to content

Commit 6b7e883

Browse files
authored
Use fully qualified path for vscode examples
1 parent 585ec84 commit 6b7e883

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/development.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ npm run build -ws
4040
## Make changes
4141

4242
1. Open the workspace in VS Code `File -> Open Workspace from File...`: `/workspaces/vscode-github-actions.code-workspace`
43-
- If you're doing local development, replace `workspaces` with the folder you created above (`vscode` in the example)
43+
- If you're doing local development, replace `/workspaces` with the folder you created above (`~/vscode` in the example)
4444
1. Make change to any of the packages
45-
1. Build them all with `npm run build -ws` in `/workspaces/` (or `/vscode/` for local dev)
45+
1. Build them all with `npm run build -ws` in `/workspaces/` (or `~/vscode/` for local dev)
4646
1. Uninstall or disable the Actions extension in your development instance of VS Code
4747
1. Start and debug extension with the `Watch & Launch Extension` configuration from the "Run and Debug" side panel menu
4848
1. Open a workspace in the remote extension host that contains workflow files in the `.github/workflows` directory
@@ -51,9 +51,9 @@ npm run build -ws
5151

5252
Once you're happy with your changes, publish the changes to the respective packages. You might have to adjust package versions, so if you made a change to `actions-workflow-parser` and increase the version there, you will have to consume the updated package in `actions-languageservice`.
5353

54-
`npm workspaces` hoists all dependencies into a shared `node_modules` folder at the root directory (`/workspaces/node_modules` or `/vscode/node_modules` for local dev) and also creates a single `package-lock.json` file there for the whole workspace. We don't want that when pushing changes back to the individual repos.
54+
`npm workspaces` hoists all dependencies into a shared `node_modules` folder at the root directory (`/workspaces/node_modules` or `~/vscode/node_modules` for local dev) and also creates a single `package-lock.json` file there for the whole workspace. We don't want that when pushing changes back to the individual repos.
5555

56-
There is a script in `/workspaces` (or `/vscode` for local dev): `update-package-locks.sh` that does an `npm install` in every package directory _without_ using workspaces. That way, the local `package-lock.json` file is generated correctly and can be pushed to the repository.
56+
There is a script in `/workspaces` (or `~/vscode` for local dev): `update-package-locks.sh` that does an `npm install` in every package directory _without_ using workspaces. That way, the local `package-lock.json` file is generated correctly and can be pushed to the repository.
5757

5858
## Debugging
5959

0 commit comments

Comments
 (0)