New issue
Advanced search Search tips

Issue 337909 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Jan 2014
Components:
EstimatedDays: ----
NextAction: ----
OS: Mac
Pri: 2
Type: Bug



Sign in to add a comment

DevTools: feature request: jump-to column

Reported by david.mo...@jadedpixel.com, Jan 24 2014

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/32.0.1700.77 Safari/537.36

Steps to reproduce the problem:
1. open dev tools
2. cmd+o to open a file
3. cmd+o again and jump-to a line with the colon shortcut by entering :{line_number}, ie -> :66
4. dev tools jumps to line

What is the expected behavior?
I would like the input to cmd+o to jump to column when the following is detected:

:{line_number}:{column_number}

ie -> :66:33 would jump to line 66, column 33 in the open file

What went wrong?
A random file is opened, this feature doesn't exist yet.

Did this work before? No 

Chrome version: 32.0.1700.77  Channel: stable
OS Version: OS X 10.8.5
Flash Version: Shockwave Flash 12.0 r0

This would be very handy for debugging in minified sources.
 
Screen Shot 2014-01-24 at 3.24.18 PM.png
91.7 KB View Download

Comment 1 Deleted

Comment 2 Deleted

We worked around this issue in [zuul](https://github.com/defunctzombie/zuul/blob/4866497ed2996222ae2bab1ad025a028bc5c7bb0/frameworks/render-stacktrace.js#L85) by automatically only selecting trace line without the column

However making this work  with the column as well would be an improvement indeed.
The easiest solution would be to just ignore the column number and highlight the entire line like it does now.
Owner: lushnikov@chromium.org
Status: Assigned
Summary: DevTools: feature request: jump-to column (was: feature request: jump-to column)
Project Member

Comment 5 by bugdroid1@chromium.org, Jan 28 2014

The following revision refers to this bug:
    http://src.chromium.org/viewvc/blink?view=rev&rev=165948

------------------------------------------------------------------------
r165948 | lushnikov@chromium.org | 2014-01-28T17:32:27.700329Z

Changed paths:
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/CodeMirrorTextEditor.js?r1=165948&r2=165947&pathrev=165948
   M http://src.chromium.org/viewvc/blink/trunk/Source/devtools/front_end/FilteredItemSelectionDialog.js?r1=165948&r2=165947&pathrev=165948

DevTools: introduce goto-column functionality

This patch adds goto-column functionality to Ctrl-O dialog.

BUG= 337909 

Review URL: https://codereview.chromium.org/131033004
------------------------------------------------------------------------
Status: Fixed

Sign in to add a comment