code-location is a tool that lets you know where you are in your code, by showing you your location (class, function, etc.) in the status bar of the Atom editor. code-location works by analyizing the indentation of the edited file. Use a code beautifier to make sure your indentation is correct. If the indentation is wrong, code-location might not work well.
Editor:
Status-bar:
class
➡️ getResult(point)
➡️ if
➡️ while
As seen in this example, the current cursor is inside a class
, then within a function called getResult()
, therein
inside an if
, and lastly inside a while
loop.
- You can more easily understand where you are in your code. So there is less chance you get confused about your location in complicated code.
- You can see how much your current line is indented (indentation count).
- Via the atom package manager (
apm
):apm install code-location
- Or inside the
atom
editor, on the Settings page (Control-,), on the install tab. - Or from
atom.io
website
- If you like it or use it, give it a ⭐ on
repo atom-code-location and another ⭐ on
package code-location. Thanks! ❤️
- Improve it? Contribute and send me a PR.