[SERVER-31742] errorcodes.py should include columns when printing file positions Created: 26/Oct/17  Updated: 30/Oct/23  Resolved: 01/Nov/17

Status: Closed
Project: Core Server
Component/s: Internal Code
Affects Version/s: None
Fix Version/s: 3.6.0-rc3

Type: New Feature Priority: Major - P3
Reporter: Mathias Stearn Assignee: Mathias Stearn
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Repl 2017-11-13
Participants:

 Description   

It was annoying me that loading duplicate keys into vim with :cexpr system('python2 buildscripts/errorcodes.py -q') wasn't putting the cursor on the spot that needed to be fixed. Now it will.



 Comments   
Comment by Githook User [ 01/Nov/17 ]

Author:

{'name': 'Mathias Stearn', 'username': 'RedBeard0531', 'email': 'mathias@10gen.com'}

Message: SERVER-31742 errorcodes.py should include columns when printing file positions

This makes it more useful when loading duplicate locations into vim with
:cexpr system('python2 buildscripts/errorcodes.py -q')

Other editors can probably also make use of this.
Branch: master
https://github.com/mongodb/mongo/commit/cb0e59f347d31fe4190ccb1a56589e79a40649d8

Generated at Thu Feb 08 04:28:03 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.