noseglid / atom-build

:hammer: Build your project directly from the Atom editor
https://atom.io/packages/build
MIT License
248 stars 97 forks source link

add row and column numbers as available command replacement #516

Closed formigarafa closed 7 years ago

formigarafa commented 7 years ago

This adds {FILE_ACTIVE_CURSOR_ROW} and {FILE_ACTIVE_CURSOR_COLUMN} as available replacements for custom build commands.

This allows, for example, to trigger specific test by line number on a test suite.

e.g, a command could be written as: rspec {FILE_ACTIVE}:{FILE_ACTIVE_CURSOR_ROW}

noseglid commented 7 years ago

Nice! Thanks!