[DevTools] no autocomplete for scope variables (let,const, classes)
Reported by
bfle...@gmail.com,
Jan 14 2017
|
||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36 Steps to reproduce the problem: 1. declare a variable using const 2. starting type variable name 3. no autocomplete of variable appears What is the expected behavior? Dev tools should autocomplete for all user-defined items visible in current scope. What went wrong? All functions, methods, variables, etc. declared with let, var, function, etc. are included in autocomplete, but no const s are visible. Did this work before? N/A Chrome version: 55.0.2883.95 Channel: stable OS Version: OS X 10.12.2 Flash Version: Shockwave Flash 24.0 r0
,
Jan 16 2017
,
Jan 17 2017
,
Jun 6 2017
,
Oct 16 2017
,
Oct 17 2017
The following revision refers to this bug: https://chromium.googlesource.com/v8/v8.git/+/50f7455cd973864fe70cc04f97146f725b7c3e54 commit 50f7455cd973864fe70cc04f97146f725b7c3e54 Author: Alexey Kozyatinskiy <kozyatinskiy@chromium.org> Date: Tue Oct 17 01:02:37 2017 [inspector] added Runtime.globalLexicalScopeNames method The method returns names for all available top-level scope variables in giving context. R=dgozman@chromium.org,jgruber@chromium.org Bug: chromium:681333 Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel Change-Id: I2d0b600e1afbfef9087f53ea9c26abe1e112047c Reviewed-on: https://chromium-review.googlesource.com/719409 Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by: Yang Guo <yangguo@chromium.org> Reviewed-by: Jakob Gruber <jgruber@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#48618} [modify] https://crrev.com/50f7455cd973864fe70cc04f97146f725b7c3e54/src/api.cc [modify] https://crrev.com/50f7455cd973864fe70cc04f97146f725b7c3e54/src/debug/debug-interface.h [modify] https://crrev.com/50f7455cd973864fe70cc04f97146f725b7c3e54/src/inspector/js_protocol.json [modify] https://crrev.com/50f7455cd973864fe70cc04f97146f725b7c3e54/src/inspector/v8-runtime-agent-impl.cc [modify] https://crrev.com/50f7455cd973864fe70cc04f97146f725b7c3e54/src/inspector/v8-runtime-agent-impl.h [add] https://crrev.com/50f7455cd973864fe70cc04f97146f725b7c3e54/test/inspector/runtime/runtime-global-lexical-scope-names-expected.txt [add] https://crrev.com/50f7455cd973864fe70cc04f97146f725b7c3e54/test/inspector/runtime/runtime-global-lexical-scope-names.js [modify] https://crrev.com/50f7455cd973864fe70cc04f97146f725b7c3e54/test/inspector/runtime/runtime-restore.js
,
Oct 18 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/5fd17d1f370d296628fe29b317967dc55b10ef11 commit 5fd17d1f370d296628fe29b317967dc55b10ef11 Author: Alexey Kozyatinskiy <kozyatinskiy@chromium.org> Date: Wed Oct 18 02:29:47 2017 [DevTools] auto complete for global scope lexical variables R=einbinder@chromium.org,dgozman@chromium.org Bug: chromium:681333 Change-Id: Id844ed73938074f2b9035f17479a016403132d9e Reviewed-on: https://chromium-review.googlesource.com/724203 Commit-Queue: Aleksey Kozyatinskiy <kozyatinskiy@chromium.org> Reviewed-by: Dmitry Gozman <dgozman@chromium.org> Cr-Commit-Position: refs/heads/master@{#509661} [modify] https://crrev.com/5fd17d1f370d296628fe29b317967dc55b10ef11/third_party/WebKit/LayoutTests/http/tests/devtools/console-completions-expected.txt [modify] https://crrev.com/5fd17d1f370d296628fe29b317967dc55b10ef11/third_party/WebKit/LayoutTests/http/tests/devtools/console-completions.html [modify] https://crrev.com/5fd17d1f370d296628fe29b317967dc55b10ef11/third_party/WebKit/Source/devtools/front_end/object_ui/JavaScriptAutocomplete.js [modify] https://crrev.com/5fd17d1f370d296628fe29b317967dc55b10ef11/third_party/WebKit/Source/devtools/front_end/sdk/RuntimeModel.js
,
Oct 18 2017
,
Jun 6 2018
|
||||||
►
Sign in to add a comment |
||||||
Comment 1 by bfle...@gmail.com
, Jan 14 2017