Closed Bug 1433460 Opened 6 years ago Closed 6 years ago

Give the user a hint on what hitting "Enter" will do in jsterm

Categories

(DevTools :: Console, enhancement)

enhancement
Not set
normal

Tracking

(firefox60 affected)

RESOLVED DUPLICATE of bug 1427981
Tracking Status
firefox60 --- affected

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

When you are typing an expression in the jsterm, it is unclear what "Enter" will do.
Depending on what you entered, you might get a new line, or the expression can be evaluated.
This can be confusing for some people at worst, at best, people don't even know that Enter can create a new line and force themselves to use Shift + Enter.

It would be nice if we could show a hint to the user. Maybe like we do when the user hit the Tab key when there's no autocompletion (we show a `<- no result` label).
I attached an idea on how this could look.
Priority: -- → P2
Whiteboard: [boogaloo-mvp]
Product: Firefox → DevTools
Priority: P2 → P3
Whiteboard: [boogaloo-mvp] → [boogaloo-reserve]
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
Priority: P3 → --
Whiteboard: [boogaloo-reserve]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: