Autocomplete doesn't detect strings, cin, less than/ greater, etc

Bug #1308804 reported by Colin O'Brien
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Scratch
Confirmed
Undecided
Unassigned

Bug Description

Right now if you do anything like: cin << or (i < 0) the autocomplete turns that into

cin <<>> or (i <> 0)

If I type cout << "I just want it to type one <"

it will instead complete the string as "I just want it to be one <>"

String detection is a must, of course.

Brackets themselves work fine because they're constantly used, but how often do you need < autocompleted?

I suggest disabling the function when it's a string right off the bat, and then potentially looking into a solution where it doesn't autocomplete <'s in certain situations.

Changed in scratch:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.