Mac OSX 上 sublime text 2 的日志文件的位置是什么 [英] What is the location of log file for sublime text 2 on Mac OSX

查看:42
本文介绍了Mac OSX 上 sublime text 2 的日志文件的位置是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想弄清楚为什么 JSON 语法突出显示有时似乎有效,但并非总是如此.是否有 sublime text 2 记录到的日志?

I'm trying figure out why JSON syntax highlighting seem to work sometimes but not always. Is there a log which sublime text 2 logs to?

推荐答案

您可以通过按 Ctrl-`(即 1 及以上 Tab 在美国键盘上)在 Windows/Linux 中,或 Command-` 在 OSX 中,或通过菜单 <代码>查看 ->显示控制台.这允许您滚动浏览会话的历史记录并查找任何错误.它也是嵌入在 ST2 中的 Python 2.6 内部版本的控制台,类似于从命令行启动 Python 时看到的 >>>>,因此您可以使用它来以这种方式获取各种系统信息,如果您知道如何使用 API当然,还有 Python.

You can access the console by hitting Ctrl-` (that's the button to the left of 1 and above Tabon US keyboards) in Windows/Linux, or Command-` in OSX, or by the menu View -> Show Console. This allows you to scroll through the history of your session and look for any errors. It is also the console to the internal version of Python 2.6 embedded in ST2, similar to the >>> that you see if you start Python from the command line, so you can use it to get all sorts of system information that way, if you know how to use the API and, of course, Python.

这篇关于Mac OSX 上 sublime text 2 的日志文件的位置是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆