Skip to content

Commit

Permalink
Update README, CHANGELOG, and current version.
Browse files Browse the repository at this point in the history
  • Loading branch information
sgwilym committed Oct 13, 2023
1 parent 81de7c6 commit aa9611e
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 20 deletions.
18 changes: 17 additions & 1 deletion deno.novaextension/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
## v1.4.0

Added a new configuration option:

- Added new global and project settings for "Cache on save". When enabled, the
extension will automatically cache dependencies when a file is saved without
you needing to run the 'Cache dependencies' command. Turned off by default!

- Removed the "Enable Deno Language features" global setting. The language
features are now on by default, and can be manually turned off on in the
project settings.
- Updated some of the settings descriptions to better explain how the "Enable
Deno features", "Enabled paths", and "Disabled paths" settings interact.
- Added default values for "Enabled paths" and "Disabled paths" settings so that
the LSP does not get upset. Hopefully.

## v1.3.0

Added two new configuration options:
Expand Down Expand Up @@ -36,7 +52,7 @@ codebases.

## v1.0.3

- Fixed an issue where the "Enable Deno Language Features" preferenc was not
- Fixed an issue where the "Enable Deno Language Features" preference was not
being respected (thanks again, [belcar-s](https://github.com/belcar-s)!)

## v1.0.2
Expand Down
48 changes: 31 additions & 17 deletions deno.novaextension/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,25 @@ Everything you need for TypeScript and JavaScript development, powered by the

- Zero-config Typescript support.
- A complete development toolchain including a **formatter**, **linter**, **test
runner**, **bundler**, and **language server**.
runner**, and **language server**.
- Complete support for standard Web APIs like `fetch`, `WebSocket`, or the
Streams API.
- An audited [standard library](https://deno.land/std).
- Dependencies without node_modules or package.json.
- Secure by default, requiring explicit permission for file, network or
environment access.

Deno's complete and _fast_ toolchain (built in Rust) is the perfect companion
for Nova. This extension provides the following integrations with Nova:
Deno's complete and _fast_ Rust-based toolchain is the perfect companion for
Nova, bringing a truly zippy TypeScript development environment.

This extension provides the following integrations with Nova:

- Typechecking, linting, completions, code actions, registry import suggestions,
and more in your editor.
- Tasks in Nova derived from
[Deno tasks](https://deno.com/blog/v1.20#new-subcommand-deno-task).
- Automatic formatting on save.
- Automatic caching of dependencies on save.
- Commands for renaming symbols, caching dependencies, formatting documents, and
renaming symbols.
- Symbol search and dedicated sidebar.
Expand All @@ -33,12 +36,14 @@ section**).

### How is this different to the TypeScript extension?

There is an
[excellent Nova Typescript extension](https://github.com/apexskier/nova-typescript)
by Cameron little. This extension assumes the usage of the Node.js runtime,
which does _not_ have its own formatter, linter, test runner, bundler, etc. and
as such requires several other dependencies and corresponding Nova extensions
for these features.
The excellent
[Nova Typescript extension](https://github.com/apexskier/nova-typescript)
assumes you are using the Node.js runtime and everything that ecosystem brings
with it. The `node_modules` folder. `require()` imports. `package.json`. Less
support for Web Platform APIs. No built-in formatter, linter, or test runner.

It can be a lot. If you just want to be able to create a `.ts` file in an empty
folder and get programming, then this extension is for you!

## Requirements 🎒

Expand All @@ -51,6 +56,8 @@ detected and used by this extension.

Support for Deno tasks requires Deno 1.20+.

Support for "cache on save" requires Deno 1.37.0+.

## Commands ⌨️

- **Cache** - Cache all external dependencies
Expand All @@ -62,18 +69,25 @@ Support for Deno tasks requires Deno 1.20+.

## Configuration options ⚙️

All of the below can be configured at a global and per-project basis (via
All of the below can be configured at a global _and_ per-project basis (via
**Project → Project Settings...**).

- Format on save
- Deno language features
- Linting
- Format on save
- Cache on save
- Unstable Deno APIs
- Import map

The following is configurable only at a global scope:

- Trusted and untrusted hosts for Import suggestions
- Complete function calls

The following can be configured on a per-project basis:

- Enable Deno features
- Import maps
- Enabled paths
- Disabled paths
- Trusted import hosts
- Untrusted import hosts
- Document preload limit
- TypeScript isolate memory limit

## Maintainers

Expand Down
4 changes: 2 additions & 2 deletions deno.novaextension/extension.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "Deno",
"organization": "Sam Gwilym",
"description": "Everything you need for TypeScript and JavaScript development.",
"version": "1.3.0",
"version": "1.4.0",
"categories": [
"languages",
"formatters",
Expand Down Expand Up @@ -66,7 +66,7 @@
"configWorkspace": [
{
"key": "deno.enable",
"title": "Enable Deno Language features",
"title": "Enable Deno features",
"type": "boolean",
"description": "Use this to disable the usage of Deno with specific projects. This option will be overriden by the 'Enable paths' and 'Disabled paths' options.",
"default": true
Expand Down

0 comments on commit aa9611e

Please sign in to comment.