It seems that since chrome updated to version 49 the autocomplete in the console is using history, instead of (or as well as) inspecting defined object attributes. This is extremely annoying when working with an object name which has different meaning in different contexts. For example the "scope" object in an angularjs app. Is there a way to get the old autocomplete back?
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/1c77708d-2c7c-4622-ab00-0401af2cc6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
There is no way to do that currently. I'm adding a "clear console history" into console menu.
On Tue, Mar 22, 2016 at 6:44 AM, Nate Dudenhoeffer <nduden...@gmail.com> wrote:
It seems that since chrome updated to version 49 the autocomplete in the console is using history, instead of (or as well as) inspecting defined object attributes. This is extremely annoying when working with an object name which has different meaning in different contexts. For example the "scope" object in an angularjs app. Is there a way to get the old autocomplete back?
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
pfeldman, thanks for the reply. I don't think "clear console history" is the right solution to this problem. When debugging an angular app, you would have to clear the history every time you select a different element/directive.
Would that also stop the up arrow from working too?
The two solutions I can think of are either an option to revert to the old autocomplete, or the console needs to keep track of the variable reference, not just the name.
Nate
On Tuesday, March 22, 2016 at 12:51:43 PM UTC-5, pfeldman wrote:
There is no way to do that currently. I'm adding a "clear console history" into console menu.
On Tue, Mar 22, 2016 at 6:44 AM, Nate Dudenhoeffer <nduden...@gmail.com> wrote:
It seems that since chrome updated to version 49 the autocomplete in the console is using history, instead of (or as well as) inspecting defined object attributes. This is extremely annoying when working with an object name which has different meaning in different contexts. For example the "scope" object in an angularjs app. Is there a way to get the old autocomplete back?
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/1c77708d-2c7c-4622-ab00-0401af2cc6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/545519d6-b1cc-438e-8d82-71a442f11f74%40googlegroups.com.
function objetSortFn(prop) {
return function (a, b) {
if (a[prop] > b[prop]) {
return 1;
}
if (a[prop] < b[prop]) {
return -1;
}
// a must be equal to b
return 0;
};
}
Now lets say I have one array where each object is something like {name: 'xyz', value: 1} (object A), and another array where each object is { names: ['a', 'b','d'], something: 1} (object B).
Let say I have a breakpoint in that function. First I use that function to sort an array of B objects and want to extract the 3rd name element "a.name[3]". Now I go to sort A objects, and I get and type "a.na" and I get the suggestion of "a.name[3]". In this case both structures are simple enough that it becomes a minor inconvenience.
When you are dealing with complex deeply nested objects the new functionality make it considerable more difficult to find that nested value you are looking for.
On Wed, Mar 23, 2016 at 4:09 AM, Nate Dudenhoeffer <nduden...@gmail.com> wrote:pfeldman, thanks for the reply. I don't think "clear console history" is the right solution to this problem. When debugging an angular app, you would have to clear the history every time you select a different element/directive.Could you elaborate on why this is necessary? I'm looking at the other issue as well.
Would that also stop the up arrow from working too?
The two solutions I can think of are either an option to revert to the old autocomplete, or the console needs to keep track of the variable reference, not just the name.
Nate
On Tuesday, March 22, 2016 at 12:51:43 PM UTC-5, pfeldman wrote:
There is no way to do that currently. I'm adding a "clear console history" into console menu.
On Tue, Mar 22, 2016 at 6:44 AM, Nate Dudenhoeffer <nduden...@gmail.com> wrote:
It seems that since chrome updated to version 49 the autocomplete in the console is using history, instead of (or as well as) inspecting defined object attributes. This is extremely annoying when working with an object name which has different meaning in different contexts. For example the "scope" object in an angularjs app. Is there a way to get the old autocomplete back?
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/1c77708d-2c7c-4622-ab00-0401af2cc6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
Nate
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/1c77708d-2c7c-4622-ab00-0401af2cc6ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/545519d6-b1cc-438e-8d82-71a442f11f74%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/ebaf1b1d-17c1-4916-be25-6f6720d50114%40googlegroups.com.
I agree with Nate. This feature gets extremely annoying really fast. E.g. in earlier version I could see what properties I could access on any object (if it was defined -> I could know that!) in a scope but now I have no idea because my history gets mixed in. I have to switch browsers until this feature can be turned off because it really slows down my work.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/75420b23-dd64-4f90-a6ec-fdb7be0646ed%40googlegroups.com.
I agree that it is confusing. A slightly different color (or a clock icon or watermark) could distinguish history versus members versus statements.
☆PhistucKOn Wed, Mar 30, 2016 at 1:46 PM, Antonin Jares <jares....@gmail.com> wrote:I agree with Nate. This feature gets extremely annoying really fast. E.g. in earlier version I could see what properties I could access on any object (if it was defined -> I could know that!) in a scope but now I have no idea because my history gets mixed in. I have to switch browsers until this feature can be turned off because it really slows down my work.--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/75420b23-dd64-4f90-a6ec-fdb7be0646ed%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/CABc02_LoaXxLi5YUsWJR6dQUZA-U7kcnCJzmmY7VH0ax1YbM2Q%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/CAEX3Kha7hgKp9a_RG_RFwp31sRVFOfh7MCCQu4LaAkpYO%2B7ueA%40mail.gmail.com.
--
You received this message because you are subscribed to the Google Groups "Google Chrome Developer Tools" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-develo...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-chrome-developer-tools/97a97a9f-946c-422f-a6d9-3faba8ff7f49%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to google-chrome-developer-tools+unsub...@googlegroups.com.
See attached screen shot to see how to switch this feature off. My annoyance was that if you copied and pasted a variable into the console and hit enter to see if it existed, that it was forever in your history. Should add delete and different color feature to make this more user-friendly.