Skip to content

Commit

Permalink
Merge branch 'deno2-private-registries' of https://github.com/denolan…
Browse files Browse the repository at this point in the history
…d/deno-docs into deno2-private-registries
  • Loading branch information
thisisjofrank committed Aug 8, 2024
2 parents 7ef408e + 386acd1 commit fe3753e
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 19 deletions.
12 changes: 11 additions & 1 deletion go.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"permissions": "/runtime/manual/basics/permissions/",
"config": "/runtime/manual/getting_started/configuration_file/",
"ide": "/runtime/manual/getting_started/setup_your_environment/#using-an-editor%2Fide"
"ide": "/runtime/manual/getting_started/setup_your_environment/#using-an-editor%2Fide",
"--allow-env": "/runtime/manual/basics/permissions/#environment-access",
"--allow-ffi": "/runtime/manual/basics/permissions/#ffi-(foreign-function-interface)",
"--allow-hrtime": "/runtime/manual/basics/permissions/#high-resolution-time",
"--allow-net": "/runtime/manual/basics/permissions/#network-access",
"--allow-read": "/runtime/manual/basics/permissions/#file-system-read-access",
"--allow-run": "/runtime/manual/basics/permissions/#running-subprocesses",
"--allow-sys": "/runtime/manual/basics/permissions/#system-information",
"--allow-write": "/runtime/manual/basics/permissions/#file-system-write-access",
"--allow-all": "/runtime/manual/basics/permissions/#all-permissions",
"--unsafely-ignore-certificate-errors": "/runtime/manual/basics/permissions/#certification-errors"
}
2 changes: 1 addition & 1 deletion runtime/manual/basics/permissions.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ be denied access, even if they are specified in `--allow-env`._
deno run --allow-env --deny-env=AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY script.ts
```

### FFIs (Foreign Function Interface)
### FFI (Foreign Function Interface)

🚧 This is an unstable feature

Expand Down
24 changes: 7 additions & 17 deletions runtime/manual/tools/lsp.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
title: "deno lsp"
---

:::info

Usually humans do not use this subcommand directly. The 'deno lsp' can provide
IDEs with go-to-definition support and automatic code formatting.

:::

Starts the Deno language server. The language server is used by editors to
provide features like intellisense, code formatting, and more.

Expand All @@ -22,9 +29,6 @@ deno lsp -h|--help
The 'deno lsp' subcommand provides a way for code editors and IDEs to interact
with Deno using the Language Server Protocol.

Usually humans do not use this subcommand directly. For example, 'deno lsp' can
provide IDEs with go-to-definition support and automatic code formatting.

Read more about
[how to connect editors and IDEs to 'deno lsp'](https://deno.land/manual@v1.42.4/getting_started/setup_your_environment#editors-and-ides).

Expand All @@ -41,17 +45,3 @@ There are no required arguments for this command.
- `-h, --help`

Prints help information

## Examples

- Run the command

```bash
deno lsp
```

- Run the command 2

```bash
deno lsp2
```

0 comments on commit fe3753e

Please sign in to comment.