[go: nahoru, domu]

[TextEditor] Restore default CodeMirror Ctrl-Arrow behavior.

With https://crrev.com/c/4517865 we not only changed the Alt-Arrow
behavior for the text editor (to jump based on syntax), but also altered
the Ctrl-Arrow behavior to jump between subwords. This however does not
align with VSCode's behavior for Ctrl-Arrow, which basically jump based
on words / non-words.

With this change we now match VSCode's behavior for Ctrl-Arrow
(Alt-Arrow on macOS).

Fixed: chromium:1468208
Bug: chromium:1241848, chromium:1299799
Change-Id: Ifcc7ab18affb7135048587844ad624ac5b3450e3
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/4738683
Auto-Submit: Benedikt Meurer <bmeurer@chromium.org>
Reviewed-by: Jaroslav Sevcik <jarin@chromium.org>
Commit-Queue: Jaroslav Sevcik <jarin@chromium.org>
19 files changed
tree: 471839a0ee2425a556b599d474366e249911057c
  1. .vscode/
  2. build_overrides/
  3. config/
  4. docs/
  5. extension-api/
  6. extensions/
  7. front_end/
  8. inspector_overlay/
  9. node_modules/
  10. scripts/
  11. test/
  12. third_party/
  13. v8/
  14. .clang-format
  15. .editorconfig
  16. .eslintignore
  17. .eslintrc.js
  18. .git-blame-ignore-revs
  19. .gitattributes
  20. .gitignore
  21. .gn
  22. .mailmap
  23. .npmignore
  24. .npmrc
  25. .style.yapf
  26. .stylelintignore
  27. .stylelintrc.json
  28. AUTHORS
  29. BUILD.gn
  30. codereview.settings
  31. DEPS
  32. LICENSE
  33. OWNERS
  34. package-lock.json
  35. package.json
  36. PRESUBMIT.py
  37. README.md
  38. tsconfig.json
  39. WATCHLISTS
README.md

Chrome DevTools frontend

npm package

The client-side of the Chrome DevTools, including all JS & CSS to run the DevTools webapp.

Source code

The frontend is available on chromium.googlesource.com.

Project documentation

Check out the project documentation for instructions to set up, use, and maintain a DevTools front-end checkout, as well as design guidelines, and architectural documentation.

Additional references

Source mirrors

DevTools frontend repository is mirrored on GitHub.

DevTools frontend is also available on NPM as the chrome-devtools-frontend package. It's not currently available via CJS or ES modules, so consuming this package in other tools may require some effort.

The version number of the npm package (e.g. 1.0.373466) refers to the Chromium commit position of latest frontend git commit. It's incremented with every Chromium commit, however the package is updated roughly daily.

Getting in touch