@effect/language-service 0.24.2 → 0.25.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/cli.js +2712 -889
- package/cli.js.map +1 -1
- package/index.js +575 -318
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +399 -186
- package/transform.js.map +1 -1
package/README.md
CHANGED
|
@@ -46,12 +46,14 @@ And you're done! You'll now be able to use a set of refactors and diagnostics th
|
|
|
46
46
|
- Warn on Scope as requirement of a Layer
|
|
47
47
|
- Unnecessary usages of `Effect.gen` or `pipe()`
|
|
48
48
|
- Warn when importing from a barrel file instead of from the module directly
|
|
49
|
+
- Warn on usage of try/catch inside `Effect.gen` and family
|
|
49
50
|
|
|
50
51
|
### Completions
|
|
51
52
|
|
|
52
53
|
- Autocomplete 'Self' in `Effect.Service`, `Context.Tag`, `Schema.TaggedClass`, `Schema.TaggedRequest` and family
|
|
53
54
|
- Autocomplete `Effect.gen` with `function*(){}`
|
|
54
55
|
- Autocomplete `Effect.fn` with the span name given by the exported member
|
|
56
|
+
- Completions for DurationInput string millis/seconds/etc...
|
|
55
57
|
- Allow to configure packages to be imported with namespace style `import * as Effect from "effect"`
|
|
56
58
|
- Effect comment directives
|
|
57
59
|
|