Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Implement a navigation command that takes the user to the first JSLint error #2525

Merged
merged 4 commits into from
Jan 14, 2013

Conversation

joelrbrandt
Copy link
Contributor

@gruehle

Certainly open to changing the keybinding

CommandManager.register(
Strings.CMD_JSLINT_FIRST_ERROR,
Commands.NAVIGATE_GOTO_JSLINT_ERROR,
function () {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor style nit: this handler function should be extracted, and the arguments should all be on the same line (this helps keep things tidy when you have many commands registered in a single file. See the bottom of DocumentCommandHandlers.js for an example)

@gruehle
Copy link
Member

gruehle commented Jan 12, 2013

Done with initial review. Just one minor style nit.

@joelrbrandt
Copy link
Contributor Author

@gruehle Thanks. Fixed.

@ghost ghost assigned gruehle Jan 14, 2013
@gruehle
Copy link
Member

gruehle commented Jan 14, 2013

Looks great! Merging.

gruehle added a commit that referenced this pull request Jan 14, 2013
Implement a navigation command that takes the user to the first JSLint error
@gruehle gruehle merged commit ed302df into master Jan 14, 2013
@gruehle gruehle deleted the jrb/jslint-hotkey branch January 14, 2013 21:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants