You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/contributing/adding-new-features.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -18,5 +18,7 @@ A summary of what you need:
18
18
- Look at existing features for some common patterns, such as how to parse a `TextDocument` to get the AST.
19
19
- You may want to know what AST node is at a given `Position`. See `node_at_offset_visitor.dart`.
20
20
- Use `findInWorkspace` to run a callback on each linked document, recursively (with a `lazy` option).
21
+
- Write [tests](../../pkgs/sass_language_services/test/features/) using the [memory file system](../../pkgs/sass_language_services/test/memory_file_system.dart).
21
22
7. Add the feature to the public API in [language_services.dart](../../pkgs/sass_language_services/lib/src/language_services.dart).
22
23
8. Use the feature in the request handler in `language_server.dart`.
24
+
9. Add a VS Code test as an an end-to-end "smoketest" in the [extension](../../extension/test/README.md).
0 commit comments