official announcement
Atom and all repositories under Atom will be archived on December 15, 2022. Learn more in ourRevert Buffer package
Revert a buffer to its on-disk contents
Revert a buffer to its saved state
License: MIT License
Revert a buffer to its on-disk contents
What is the recommended way to use revert-buffer after installing it using apm? I still cannot seem to force a reload from disk within the editor.
It would be useful to have a Revert All
command, which would revert all opened files to its on-disk contents.
there should be a shortcut to revert the buffer of all opened tabs
@usernamealreadyis commented on Mon Dec 28 2015
[email protected]:atom/atom.git
atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace)
,
which returns an HTMLElement.
Atom.Object.defineProperty.get (/Applications/Atom.app/Contents/Resources/app/src/atom.js:54:11)
Object.activate (/Users/doowens/.atom/packages/revert-buffer/lib/revert-buffer.coffee:5:9)
Hi,
The idea is that other packages should be notified when the Revert command is executed. This avoids the need to use watchers or onDidChangeActivePaneItem
event.
Thanks in advance.
Apologies for sending the garbled earlier message -- github accidentally hit send.
I tried using this in the latest atom beta and got an error due to the fs module not loading.
Changing {fs} = require 'atom'
to fs = require 'fs'
did the trick for me.
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.