Skip to content

Hinterland should only hint for nontrivial prefixes #651

@dmyersturnbull

Description

@dmyersturnbull

Steps to reproduce (simplest example):

  1. In an empty line in a Python cell, press # to start a comment.
  2. Press enter to end the line.

Actual result: The line now reads #%%! (the first completion).

Expected result: The line should be an empty comment (just #).

The above example isn't especially annoying, but in a day of using Hinterland, I've repeatedly had to trim %%! from meaningful lines of code, not just comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions