Bug 159829 - Correct for version skew in line numbers
Correct for version skew in line numbers
Status: NEW
Product: connecteddeveloper
Classification: Unclassified
Component: Hudson
6.x
All All
: P3 (vote)
: TBD
Assigned To: Jaroslav Havlin
issues@connecteddeveloper
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-06 21:43 UTC by Jesse Glick
Modified: 2012-06-14 16:43 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2009-03-06 21:43:57 UTC
If you have a project checked out and you follow a hyperlink mentioned in the build log or tests which can be resolved
to the local file, the IDE will just jump to whatever line number was in effect on the server. But your local file might
have been modified since then (or vice versa); if lines have been inserted or deleted, the line numbers will not match up.

The IDE ought to try to correct for this. If possible, retrieve the remote file from the workspace, look up the line in
question and its context, and try to find a similar block in the local file, starting from around the same line. If the
line number is adjusted, or if no correspondence can be found at all, should warn the user.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo