TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Why don't code editors ever have line numbers on by default?

5 点作者 Ralz超过 12 年前
I have always found that whatever IDE I'm using ( Eclipse, Visual Studio, Aptanna etc..) line numbers always seem to be off by default. Not having line numbers makes it difficult to debug and if you're going to be coding you are definitely going to be debugging. Do the majority of people not use line numbers?

4 条评论

geophile超过 12 年前
Intellij makes line numbers mostly unnecessary. Click on the link in the stack frame displayed by the debugger and you go to the right line in the right file. And if you really must know the line number, it's in the bottom status bar, about 3/4 of the way over.
评论 #4944101 未加载
marssaxman超过 12 年前
What do you need line numbers for?<p>I use the "jump to line" command when I'm looking up the cause of a compiler error message, but in an IDE world I doubt I'd need even that, since it'd presumably just link the errors to the appropriate lines visually.
评论 #4944402 未加载
tocomment超过 12 年前
I've always wondered this too. Maybe try to track down the author of a text editor and see what the answer is.
debacle超过 12 年前
I believe Komodo has line numbers turned on by default.