Replies: 5 comments
-
Is it more important to adhere to LSP conventions or error message conventions?
|
Beta Was this translation helpful? Give feedback.
-
That's a good point. It's just a proposal and people should feel free to discuss pros & cons. |
Beta Was this translation helpful? Give feedback.
-
IMHO 1-based line numbering is most natural and personally the primary way in code editors that I had to work with professionally since the late '90s. |
Beta Was this translation helpful? Give feedback.
-
maybe figure out whether 1 based or 0 based is more popular, and convert everything to the more popular convention |
Beta Was this translation helpful? Give feedback.
-
It is not a matter of popularity. As you already pointed out in an earlier post, Python itself shows error indicators 1-based. Also Sphinx, the documentation tool for Python, uses 1-based line numbers. |
Beta Was this translation helpful? Give feedback.
-
Also, LSP uses zero-based line numbers.
Originally posted by @li-boxuan in #1941 (comment)
Beta Was this translation helpful? Give feedback.
All reactions