open-rmf / open-rmf/crossflow

[Feature request]: Find a proper way to handle function searching for python script node

Open
#205 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Rust
Stars
72
Forks
16
PR merge metrics
No merged PRs in 30d

Description

Before proceeding, is there an existing issue or discussion for this?
Description

Python script nodes can select which function to execute within the script environment's script, however this is done via a rather opaque regex operation. We should find a library provider or just investigate support for function signature selection from react-codemirror.

Implementation Considerations

No response

Alternatives

No response

Additional information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Python script node's function-selection logic and review the existing opaque regex behavior. Investigate whether react-codemirror or another library supports function signature selection, then define completion as a proper library- or editor-supported approach replacing the current search behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, react
Domain
frontend, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.