Comments (9)
- add the codes
- open the log and run "Tail: File In New View"
- run "Log Highlight" for tailed Log
- The first View before log updated
- When the log contents changed, you can see updated in tailed log view
from log-highlight.
Hi, Kristina
The reason of "Unknown ..." is that "Tail: chol..." is unsaved. Try to do again after saving. But it can be not good solution. What is "Sublime Tail"?
from log-highlight.
@poucotm, SublimeTail is package for working with logs. See Tail (Unix). If I have big log, I can see only last log changes. Example of work:
Try to do again after saving.
If I save file, SublimeTail not will work. It would be nice, if Log-Highlight will be highlight unsaved files too.
Thanks.
from log-highlight.
Hi, Kristinita.
I've updated Log-Highlight to support unsaved file like 'Sublime Tail'.
But you also have to add some codes in Sublime Tail. Or request it.
In order to search base directories (to use links), "absolute file path" is needed.
It is impossible to get a path from a unsaved file. But for 'Sublime Tail' you can set the file path as a setting of view. Add the codes like the following :
In "Tail/packages/tail/commands/tail_file_in_new_view.py"
...
sublime_view = self.view.window().new_file()
tail_view = get_tail_view(sublime_view=sublime_view, create=True)
tail_view.add_source(get_tail_source(filepath=filename))
tail_view.start()
sublime_view.settings().set('filepath', filename)
I've changed that Log-Highlight can get the file path from that setting.
And there's a bug of Sublime Text 3 : Forum.
You have to click a link in 'Summary View' for first time or change view once to use links.
from log-highlight.
@poucotm, I add
sublime_view.settings().set('filepath', filename)
in last line of Tail/packages/tail/commands/tail_file_in_new_view.py
, but I get same error.
You have to click a link in 'Summary View' for first time or change view once to use links.
I'm sorry, where I can find Summary View
?
Thanks.
from log-highlight.
Did you check the version of Log Highlight? It also has to be updated as 0.6.5.
And it works only with "Tail File In New View" Command.
When you run Log Highlight, Summary View will be displayed bottom of the window as default.
from log-highlight.
@poucotm, may you write step-by-step, what I need to make to have expected behavior? I can not understand, how I can get expected behavior.
Thanks.
from log-highlight.
Thank you very much!
from log-highlight.
Hi, Kristinita
I've changed workaround for ST3 bug in v0.8.0. You can use links in Tail view directly without Summary View.
from log-highlight.
Related Issues (20)
- the color of style token of sublime text 3 is not as expected HOT 5
- Custom Syntax not dysplaying selected color HOT 6
- How to install the plugin please? HOT 1
- icons are not always shown HOT 6
- Change highlighted text background color HOT 5
- didn't work after upgrade today HOT 2
- Wildcards no longer working for extension HOT 5
- Log-Highlight does not work HOT 13
- No auto highlight and no summary HOT 8
- config broken after update HOT 2
- Error - No such file or directory: .../Packages/Log Highlight/... HOT 2
- Generate syntax with random result HOT 1
- Nothing working, context menu doesn't work HOT 12
- Log Highlight causing problems with Goto Anything HOT 2
- Doesn't work for unsaved text HOT 1
- Option to use sublime theme
- Not highlighting regex match more than 16384 characters in a line
- 导致 message 开头的其他格式文件语法识别错误
- Incomplete link highlighting HOT 2
- Need some help with some usage way HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from log-highlight.