getImports
Locate and display all import statements in PureScript code to identify external module dependencies, enabling dependency analysis without requiring an IDE server setup.
Instructions
Find all import statements in PureScript code (like 'import Data.List', 'import Prelude'). Shows what external modules the code depends on. Works without the IDE server.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | No | PureScript code string. | |
filePath | No | Absolute path to the PureScript file. Only absolute paths are supported. |