@effect/language-service 0.45.0 → 0.46.0
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 +613 -558
- package/cli.js.map +1 -1
- package/effect-lsp-patch-utils.js +113 -29
- package/effect-lsp-patch-utils.js.map +1 -1
- package/index.js +131 -38
- package/index.js.map +1 -1
- package/package.json +1 -1
- package/transform.js +113 -29
- package/transform.js.map +1 -1
package/README.md
CHANGED
|
@@ -63,6 +63,7 @@ And you're done! You'll now be able to use a set of refactors and diagnostics th
|
|
|
63
63
|
- Warn on missing service dependencies in `Effect.Service` declarations
|
|
64
64
|
- Warn when `Effect.Service` is used with a primitive type instead of an object type
|
|
65
65
|
- Warn when schema classes override the default constructor behavior
|
|
66
|
+
- Warn when `@effect-diagnostics-next-line` comments have no effect (i.e., they don't suppress any diagnostic)
|
|
66
67
|
|
|
67
68
|
### Completions
|
|
68
69
|
|
|
@@ -110,6 +111,7 @@ Few options can be provided alongside the initialization of the Language Service
|
|
|
110
111
|
"floatingEffect": "warning" // example for a rule, allowed values are off,error,warning,message,suggestion
|
|
111
112
|
},
|
|
112
113
|
"diagnosticsName": true, // controls whether to include the rule name in diagnostic messages (default: true)
|
|
114
|
+
"missingDiagnosticNextLine": "warning", // controls the severity of warnings for unused @effect-diagnostics-next-line comments (default: "warning", allowed values: off,error,warning,message,suggestion)
|
|
113
115
|
"quickinfo": true, // controls Effect quickinfo (default: true)
|
|
114
116
|
"quickinfoEffectParameters": "whenTruncated", // (default: "whenTruncated") controls when to display effect type parameters always,never,whenTruncated
|
|
115
117
|
"quickinfoMaximumLength": -1, // controls how long can be the types in the quickinfo hover (helps with very long type to improve perfs, defaults to -1 for no truncation, can be any number eg. 1000 and TS will try to fit as much as possible in that budget, higher number means more info.)
|