atom
editorcode-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:
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.
apm
):
apm install code-location
atom
editor, on the Settings page (Control-,), on the install tab.atom.io
website
atom
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.