wouterdek / autorefresh Goto Github PK
View Code? Open in Web Editor NEWA plugin for Sublime Text to automatically reload files on an interval
License: MIT License
A plugin for Sublime Text to automatically reload files on an interval
License: MIT License
I first just want to say, thanks for this simple but incredibly useful plugin. :)
I would like it if there would be an option to scroll to the bottom after the refresh too, this would be useful for log files that append to the end of the file.
Hi! I know how it must works, but plugin not working on my Os.
I use:
Wich version of Python need?
And maybe need write this info in Readme?
I enabled the package and auto refresh for the file using command palette. But the file isn't getting stored in the settings and I don't see the file auto refreshing either.
There are some files that I always want AutoRefresh to be on for. Can there be a way to automatically enable AutoRefresh for certain files whenever they open?
It is reverted back to the last save on refresh.
How can I change the default interval? I find no package settings for this package in the menu Preferences > Package Settings!
I just installed this via Package Control, and I noticed it is still not refreshing. According to the readme I need to enable it via command, but I am having no luck getting that to work:
Enable Autorefresh
File "", line 1
Enable Autorefresh
^
SyntaxError: unexpected EOF while parsing
enable_auto_refresh
Traceback (most recent call last):
File "", line 1, in
NameError: name 'enable_auto_refresh' is not defined
Hi Wouterdek,
Thank you a lot for you package :) I try to combine it with Exalt Package to modify and verify my xml files at the same time. Exalt works really well except that I have to save or change tab to prompt a refresh everytime I am modifying something, and that's why I decided to download your package.
The package doesn't really work the way I attended. It works when I do not touch to my file. But every time I am modifying something in my file, the Auto refresh package doesn't consider it as the same file anymore, so then my file doesn't refresh anymore neither.
I saw that in one of your preceding commit, the one called 'Don't reload file if file is modified in editor', you made a comment at the line 90 which is '#Don't reload if user made changes'.
I don't have skills that much in writing in python, so in your opinion, what should I do to allow my file to reload every time I made a small change in it ?
I hope I was clear with my question and thanks again for your work !
Elsa
For Idea:
Need to development Plugin's Control.
#SublimeText3 #Python #Plugin
To reproduce:
reloading ~~~/FileA
Traceback (most recent call last):
File "/Users/User/Library/Application Support/Sublime Text 3/Packages/AutoRefresh-master 2/AutoRefresh.py", line 41, in reloadFile
row = self.cmd.view.rowcol(self.cmd.view.sel()[0].begin())[0] + 1
File "/Applications/Sublime Text.app/Contents/MacOS/sublime.py", line 641, in __getitem__
raise IndexError()
IndexError
reloading ~~~/FileA
Traceback (most recent call last):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.