Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PiE API autocomplete and tooltips #35

Open
wants to merge 27 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 30, 2024

  1. Configuration menu
    Copy the full SHA
    f1f6f0a View commit details
    Browse the repository at this point in the history
  2. Try to improve autocomplete

    Gamepad and Keyboard get_value autocomplete doesn't work because ace
    fills in the matching parenthesis -- typing 'Gamepad.get_value(' writes
    'Gamepad.get_value()'. So try to add a way for makeContextCompleter to
    require a caret position, like inside the parens. Very broken right now
    and I'm not sure why.
    Hal-9k1 committed Oct 30, 2024
    Configuration menu
    Copy the full SHA
    e6e7353 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2024

  1. Configuration menu
    Copy the full SHA
    3ede7d5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a857e66 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1613680 View commit details
    Browse the repository at this point in the history
  4. Lint

    snowNnik committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    f0cb420 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ffa80d9 View commit details
    Browse the repository at this point in the history
  6. Fix typescript errors

    snowNnik committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    0c6e700 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    14d25e3 View commit details
    Browse the repository at this point in the history
  8. Start adding tooltips

    Add addEditorTooltips skeleton.
    Don't use alias for TokenIterator in addEditorAutocomplete.
    Hal-9k1 committed Nov 7, 2024
    Configuration menu
    Copy the full SHA
    6b1490b View commit details
    Browse the repository at this point in the history

Commits on Nov 14, 2024

  1. Uninstall redux

    Uninstall redux because it was causing problems for the clean install on
    Clorox.
    Hal-9k1 committed Nov 14, 2024
    Configuration menu
    Copy the full SHA
    a884905 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ffd3cd View commit details
    Browse the repository at this point in the history

Commits on Nov 21, 2024

  1. Improve context autocomplete

    Hal-9k1 committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    4219979 View commit details
    Browse the repository at this point in the history
  2. Fail to fix some bad completions

    Try to fix bad completions for Gamepad/Keyboard.get_value by slicing
    away already-typed part. Observations:
      Completion is multiple tokens (e.g. when quoted):
        slice is needed to remove already-typed string from completion.
      Completion is single token:
        unsliced is needed or else existing text is replaced with sliced
        completion, effectively deleting the already-typed bit.
    Revert to using unsliced completions, as Ace can't seem to decide
    between replacing partially typed completions or appending to them, and
    I don't know how to programmatically predict which Ace will do.
    Hal-9k1 committed Nov 21, 2024
    Configuration menu
    Copy the full SHA
    5560462 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2024

  1. Somehow fix autocomplete

    Completion slicing still doesn't work, so Gamepad/Keyboard.get_value
    looks silly when quotes are already typed.
    Hal-9k1 committed Nov 27, 2024
    Configuration menu
    Copy the full SHA
    aa70a51 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b8541a4 View commit details
    Browse the repository at this point in the history

Commits on Nov 28, 2024

  1. Configuration menu
    Copy the full SHA
    7a4b5b4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aaa1dfb View commit details
    Browse the repository at this point in the history
  3. Get tooltips working

    Hal-9k1 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    896886c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    9318e32 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    792aa2e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e3de3b8 View commit details
    Browse the repository at this point in the history
  7. Lint

    Hal-9k1 committed Nov 28, 2024
    Configuration menu
    Copy the full SHA
    7d4ff5c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    d325358 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2024

  1. Add tooltip doc for Robot.get_value as POC

    Add Robot.get_value doc as proof of concept. Text was pulled from api.md
    in the runtime repo. Styling still needed.
    Add HighlightedCode which wraps an AceEditor with appropriate
    configuration to be a highlighted read-only code block.
    
    The doc stuff will eventually have to live in its own directory
    somewhere if it's going to be reused. The API help window could probably
    just sort apiHelpComponents by key and concat them.
    Hal-9k1 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    1bb3f04 View commit details
    Browse the repository at this point in the history
  2. Lint again

    Hal-9k1 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    7841683 View commit details
    Browse the repository at this point in the history
  3. Fix typescript errors

    Hal-9k1 committed Nov 29, 2024
    Configuration menu
    Copy the full SHA
    0d64fae View commit details
    Browse the repository at this point in the history