π οΈCopilot Usage
Copilot Usage
Now, when you are using the Cursor chat window and add a spark job as context, press "/" and you will get 2 dataflint-copilot prompts "spark expert", "highlight" and "optimize":

You might want to approve all MCP tool calls without approval in Cursor/VScode setting, or add the DataFlint MCP requests to the allowlist of MCP tools that does not require approval.
Highlight will add code highlight to your current job based on the last run. You can also trigger it by asking Cursor "add highlight for this job"

Optimize also optimize the code based on DataFlint alerts. you can also trigger it by asking Cursor "optimize this job".

Last updated