Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I use Sublime Text 3 and can open Sublime command line with command CTRL + `

... and I can run commands there and see results in a log window, but I cannot search in that log window.

sublime command line and log

I believe the log text of the Sublime log window also exists somewhere in file system. If I can find that log file, I can open it with vim (or similar) and search there.

My question: Where is the log file stored? I can copy/paste this log to new file and search there, but that would be a frustrating extra step.

My OS is OS X 10.8.5

I searched /Users/maks/Library/Application Support/Sublime Text 3 but nothing found.

This is my directory output.

Makss-Mac:Sublime Text 3 maks$ ls
Cache           Installed Packages  Packages
Index           Local
share|improve this question

2 Answers 2

up vote 1 down vote accepted
+50

No, use this: yrammos / SublimeLog

From README

Sublime Text 2 and 3 provide a console (accessible via Control-`) for interaction with their Python-based innards and plug-in architecture. This plug-in logs the console contents into a plain-text file ornamented with logger activation/deactivation timestamps.

share|improve this answer

Yes, it does.

You can see console history this file:

/Users/maks/Library/Application Support/Sublime Text 3/Data/Local/Session.sublime_session

It is a JSON file and the console commands are stored in windows.console.history.

One note though, Sublime Text does not update the file until you close the program.

share|improve this answer
    
for me path was /Users/maks/Library/Application Support/Sublime Text 3/Local/Session.sublime_session. Due to it is updated only after closing sublime, it is not compatible for my task. thank you anyway. –  efr Dec 1 '13 at 7:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.