If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Pl. Refer or follow heading Scratchpad -- Editing --Code completion and inline editing -- First para -- Last sentance -- correction: 'To show the popup, press ctrl+space' (not ctrl+shift+space)

RESOLVED FIXED

Status

Developer Documentation
Learning Area
P5
normal
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: jjacob.shakespeare6, Unassigned)

Tracking

Details

(URL)

(Reporter)

Description

a year ago
:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

Practically verfied with developer browser.
Fixed! Thank you for reporting this issue!
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
FWIW, the correction is at the end of the first paragraph here: https://developer.mozilla.org/en-US/docs/Tools/Scratchpad#Code_completion_and_inline_documentation
I think this is partly wrong. That paragraph now says:

"Scratchpad integrates the tern code analysis engine, and uses that to provide autocomplete suggestions and popups containing information on the current symbol. To list autocomplete suggestions, press Ctrl + Space. To show the popup, press Ctrl + Space."

There are 2 different things: (1)a list of autocomplete suggestions and (2)a docs popup. They are activated by 2 different shortcuts:

* Ctrl + Space shows autocomplete suggestions, if pressed when the cursor is on an incomplete name
* Ctrl + Shift + Space shows the docs popup, if pressed when the cursor is on an complete name

So that paragraph was correct before, and is now not correct.

There are a couple of errors later on:

"For example, try typing D, then pressing Ctrl + Shift + Space. You'll see this:"

-> this was wrong (should be "Ctrl + Space"), and was fixed by your edit.

"If you select document, then addEventListener, then press Shift + Space you'll see a popup that shows a summary of the function's syntax and a short description:"

-> this should be "Ctrl + Shift + Space".
Status: RESOLVED → REOPENED
Ever confirmed: true
Resolution: FIXED → ---
(In reply to Will Bamberg [:wbamberg] from comment #3)

OK, I think I've both fixed this and revised the text so that autocomplete and inline docs are in separate sections, for better clarity. I'd appreciate a quick look to be sure it works for you.
Yes, separate sections is much better. Thanks!
Status: REOPENED → RESOLVED
Last Resolved: a year agoa year ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.