jwir3 / atom-over-and-back Goto Github PK
View Code? Open in Web Editor NEWA plugin for the Atom editor that enables IntelliJ-like back and forth navigation.
License: Mozilla Public License 2.0
A plugin for the Atom editor that enables IntelliJ-like back and forth navigation.
License: Mozilla Public License 2.0
Steps to Reproduce:
Expected Results:
Actual Results:
We should add tests for the existing functionality in the package.
Right now, the following code:
// We want to create a waypoint if this item represents a new file, or if
// the distance between lines is > 5, but only if this wasn't triggered by
// a navigation event.
if (!self.currentWaypoint
|| self.currentWaypoint.fileName !== path
|| Math.abs(self.currentWaypoint.lineNumber - lineNo) > 5) {
return true;
}
ensures that waypoints aren't created unless they are > 5 lines away from the last waypoint. Instead of doing this, we should always create waypoints, but then coalesce based on the following algorithm:
peek at the last waypoint
if this newly created waypoint is adjacent to the last waypoint {
pop the last waypoint
}
push the new waypoint
Right now, we don't have the ability to navigate after having edited the code. We should add code that correctly computes a waypoint after an editing operation has taken place.
If we migrate to Coffeescript, it might make things a little easier for us to understand how to use the Atom APIs when looking at their code (since it's in CS).
The package specs are a bit of a mess, with waitsForPromise()
calls all over the place. It would be nice if we could refactor this so that some of these are not in this callback hell, and instead had a RxJava-like chain of things that could be completed before the test was done.
We need to be able to navigate within a file. So, when a user moves more than, say X lines, it should create a new waypoint.
We don't have any contributing information for new developers to get started. We should add this so that others can contribute to our source code.
Steps to Reproduce:
Expected Results:
Actual Results:
Steps to Reproduce:
x
, you know is in the project.x
.Expected Results:
Actual Results:
Steps to Reproduce:
Expected Results:
Actual Results:
Note this is filed as an enhancement, because over and back has never done this.
Once we move to Coffeescript (#6), we can probably use the same documentation generator that Atom uses for its API docs:
Normally, when clicking on a changed file in the git pane, opens a tab titled "Unstaged Changes", displaying a diff of the file.
When over-and-back is enabled, the tab opens if it's not open already but is never focused.
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.