Skip to content

Bad tab completion for object properties with special characters #21201

Closed
@jyn514

Description

@jyn514
  • Version: v8.11.0
  • Platform: Linux fedora-thinkpad 4.13.9-300.fc27.x86_64 #1 SMP Mon Oct 23 13:41:58 UTC
  • Subsystem: n/a
> d = {'hello, world!': 'some string'}
{ 'hello, world!': 'some string' }
> d.hello<tab>
> d.hello, world!<enter>
... 
... 
> <keyboard interrupt> 

When an object has special characters as one of it's properties, node will autocomplete that property, but continue waiting for input (as the completed property is invalid syntax). This is not desired behaviour.

This issue is also present in Firefox, but not in Chrome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.replIssues and PRs related to the REPL subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions