Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Send selected code #14

Closed
2 tasks
Glavin001 opened this issue Jun 14, 2014 · 4 comments
Closed
2 tasks

Send selected code #14

Glavin001 opened this issue Jun 14, 2014 · 4 comments

Comments

@Glavin001
Copy link
Owner

User selects code then sends it to the current room. Easy!

  • Right-Click selected code
  • Keyboard shortcut
@Glavin001
Copy link
Owner Author

  • Use the current file's Grammar to determine the syntax highlighting language for the code block

@Glavin001
Copy link
Owner Author

Right clicking (context menu) is not working because once the menu item is pressed, it de-selects BEFORE triggering the code that retrieves the selected text and sends it.

@Glavin001
Copy link
Owner Author

This is the issue with the right-click (context menu) usage of sending selected source code: http://discuss.atom.io/t/operating-on-selection-via-context-menu/8543/4

@Glavin001
Copy link
Owner Author

  • Right-clicking and sending selected text is now going to work (for now until bug fixed for Atom). So disable that feature. Users will have to revert to using the Package menu or a keyboard shortcut for command atom-gitter:send-selected-code
  • Let users choose their own keyboard shortcuts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant